← 返回 Skills 市场
autosolutionsai-didac

Gamma App API

作者 autosolutionsai-didac · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
257
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install gamma-app-api
功能描述
Create presentations, documents, social posts, and web pages via the Gamma.app API. Use when asked to create a presentation, pitch deck, slide deck, document...
使用说明 (SKILL.md)

Gamma.app — Presentations & Documents API

Create presentations, documents, social posts, and web pages programmatically via the Gamma API.

Homepage: https://gamma.app API Docs: https://developers.gamma.app/docs/getting-started Runtime dependencies: curl, python3 (for JSON building/parsing)

Setup

Set the environment variable before using:

export GAMMA_API_KEY="sk-gamma-xxxxx"  # Get from https://gamma.app/settings

The script only makes network calls to https://public-api.gamma.app/v1.0. Your API key and inputText content are sent to Gamma's servers.

Quick Start

Generate a presentation

bash scripts/gamma.sh generate "AI trends in 2026 for business leaders" \
  --format presentation --num-cards 10 --export pdf --wait

Generate a document

bash scripts/gamma.sh generate "Quarterly marketing report Q1 2026" \
  --format document --text-mode generate --amount detailed \
  --tone "professional" --audience "executive team" --export pdf --wait

Create from template

bash scripts/gamma.sh template "g_abcdef123" "Update this pitch deck for Twist Broadband client" \
  --export pdf --wait

Check status manually

bash scripts/gamma.sh status "generationId123"

List themes and folders

bash scripts/gamma.sh themes
bash scripts/gamma.sh themes "dark"
bash scripts/gamma.sh folders

Script Reference

scripts/gamma.sh \x3Ccommand> [args] [options]

Commands

Command Args Description
generate "inputText" Create from scratch
template "gammaId" "prompt" Create from existing template
status "generationId" Check generation status
themes [query] List available themes
folders [query] List workspace folders

Generate Options

Option Values Default
--format presentation, document, social, webpage presentation
--text-mode generate, condense, preserve generate
--num-cards 1-60 (Pro) / 1-75 (Ultra) 10
--card-split auto, inputTextBreaks auto
--theme theme ID from themes command (Gamma picks)
--export pdf, pptx (none)
--tone free text (none)
--audience free text (none)
--language ISO code (en, es, fr...) (auto)
--amount brief, medium, detailed, extensive (auto)
--image-source aiGenerated, pexels, noImages, etc. (auto)
--image-model flux-1-pro, imagen-4-pro, etc. (auto)
--image-style free text ("photorealistic") (none)
--instructions additional guidance (max 2000 chars) (none)
--dimensions fluid, 16x9, 4x3, 1x1, 4x5, 9x16, a4, letter fluid
--workspace-access noAccess, view, comment, edit, fullAccess (default)
--external-access noAccess, view, comment, edit (default)
--folder folder ID (comma-separated for multiple) (none)
--wait (flag) Poll until generation completes false
--poll-interval seconds between polls 5

Workflow

  1. Generate — POST creates the gamma, returns a generationId
  2. Poll — Use --wait or manually check status until completed
  3. Result — Completed response includes gammaUrl (live link) and export download URL if requested
  4. Credits — Response shows credits.deducted and credits.remaining

Input Tips

  • Short prompts work ("AI trends 2026") but detailed structured text produces better results
  • Insert image URLs directly in inputText where you want them placed
  • Use \ ---\ in inputText to force card breaks (set --card-split inputTextBreaks)
  • To use only your images (no AI-generated ones), set --image-source noImages
  • JSON-escape special characters in inputText

Credit Costs

  • Cards: 1-5 credits each
  • AI images: 2 credits (basic) to 125 credits (ultra) per image
  • Example: 10-card deck with basic AI images ≈ 20-60 credits

Full API Reference

For complete parameter details, header/footer configuration, and sharing options, read references/api-reference.md.

安全使用建议
This skill is coherent and appears to do what it claims: call Gamma.app's public API to create presentations/documents. Before installing, consider: (1) Only provide a GAMMA_API_KEY you trust — use a dedicated account or limited key if possible. (2) Never include secrets, credentials, or confidential content in prompts/inputs, because the script sends inputText to Gamma's servers. (3) Verify the publisher/source (autosolutionsai-didac) if you require provenance; the registry source is unknown. (4) Inspect scripts/gamma.sh yourself (it's plain shell + python) and run it in an environment you control. (5) Review Gamma's privacy/security policy for how they store/persist uploaded content and exported files (export links expire but content may be retained).
功能分析
Type: OpenClaw Skill Name: gamma-app-api Version: 1.0.1 The skill contains a significant security vulnerability in `scripts/gamma.sh` where user-provided input (e.g., `--instructions` or the main input text) is directly interpolated into a `python3 -c` command string. This pattern allows for arbitrary Python code execution (RCE) if a user provides input designed to break out of the Python string literals. While this appears to be a poorly implemented JSON generator rather than intentional malware, the risk of exploitation is high. All network activity is correctly restricted to the official `public-api.gamma.app` endpoint.
能力评估
Purpose & Capability
Name/description match the implementation: the script and docs call https://public-api.gamma.app/v1.0 and require a GAMMA_API_KEY, plus curl/python3 for JSON and HTTP — all expected for a service API wrapper.
Instruction Scope
SKILL.md and scripts/gamma.sh only perform API calls to Gamma and local JSON construction; they do not read unrelated files or system credentials. Important: the skill sends your inputText (up to very large sizes) and the GAMMA_API_KEY to Gamma's servers, so prompts must not contain secrets or private data you don't want transmitted.
Install Mechanism
No install spec (instruction-only with a bundled script). Nothing is downloaded from external URLs or extracted; the included shell script is plain text and self-contained.
Credentials
Only a single credential (GAMMA_API_KEY) is required, which is proportionate to the API usage. Treat the key as a secret and consider using a dedicated/minimally-scoped key or account.
Persistence & Privilege
The skill is not always-enabled and is user-invocable. Autonomous invocation is allowed (platform default), which is normal; the skill does not request persistent system-level privileges or modify other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gamma-app-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gamma-app-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fix security scan: declare GAMMA_API_KEY env var and curl/python3 runtime deps in metadata. Add homepage and publisher info. Script now validates dependencies at startup.
v1.0.0
Initial release: Gamma.app API skill for creating presentations, documents, social posts, and web pages. Includes wrapper script, full API reference, and support for themes, templates, and exports.
元数据
Slug gamma-app-api
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Gamma App API 是什么?

Create presentations, documents, social posts, and web pages via the Gamma.app API. Use when asked to create a presentation, pitch deck, slide deck, document... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 257 次。

如何安装 Gamma App API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gamma-app-api」即可一键安装,无需额外配置。

Gamma App API 是免费的吗?

是的,Gamma App API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gamma App API 支持哪些平台?

Gamma App API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gamma App API?

由 autosolutionsai-didac(@autosolutionsai-didac)开发并维护,当前版本 v1.0.1。

💬 留言讨论