← 返回
内容创作 Key 中文

Gamma Presentations

Create presentations, documents, social posts, and websites using Gamma's AI API. Use when asked to create slides, presentations, decks, documents, or web content via Gamma.
使用Gamma的AI API创建演示文稿、文档、社交帖子和网站。当需要通过Gamma创建幻灯片、演示稿、文档或网页内容时使用。
mrgoodb
内容创作 clawhub v1.0.0 1 版本 99713.3 Key: 需要
★ 2
Stars
📥 3,090
下载
💾 361
安装
1
版本
#latest

概述

Gamma API Skill

Create presentations and documents programmatically via Gamma's API.

Setup

  1. Get API key from https://developers.gamma.app
  2. Store in environment: export GAMMA_API_KEY=sk-gamma-xxx

Or add to TOOLS.md: Gamma API Key: sk-gamma-xxx

Authentication

Base URL: https://public-api.gamma.app/v1.0
Header: X-API-KEY: <your-api-key>

Generate Content

curl -X POST https://public-api.gamma.app/v1.0/generations \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: $GAMMA_API_KEY" \
  -d '{
    "inputText": "Your content here",
    "textMode": "generate|condense|preserve",
    "format": "presentation|document|social|webpage"
  }'

Response: {"generationId": "xxx"}

Check Status

curl https://public-api.gamma.app/v1.0/generations/<generationId> \
  -H "X-API-KEY: $GAMMA_API_KEY"

Response (completed): {"status": "completed", "gammaUrl": "https://gamma.app/docs/xxx", "credits": {...}}

Poll every 10-20s until status: "completed".

Key Parameters

ParameterValuesNotes
--------------------------
textModegenerate, condense, preservegenerate=expand, condense=summarize, preserve=keep exact
formatpresentation, document, social, webpageOutput type
numCards1-60 (Pro), 1-75 (Ultra)Number of slides/cards
cardSplitauto, inputTextBreaksUse \n---\n in inputText for manual breaks
exportAspdf, pptxOptional export format

Optional Parameters

{
  "additionalInstructions": "Make titles catchy",
  "imageOptions": {
    "source": "aiGenerated|unsplash|giphy|webAllImages|noImages",
    "model": "imagen-4-pro|flux-1-pro",
    "style": "photorealistic, modern"
  },
  "textOptions": {
    "amount": "brief|medium|detailed|extensive",
    "tone": "professional, inspiring",
    "audience": "tech professionals",
    "language": "en"
  },
  "cardOptions": {
    "dimensions": "fluid|16x9|4x3|1x1|4x5|9x16"
  }
}

Note: textOptions.tone and textOptions.audience are ignored when textMode is preserve.

Other Endpoints

  • GET /themes — List available themes (use themeId in generation)
  • GET /folders — List folders (use folderIds in generation)

Workflow

  1. Check for API key in environment ($GAMMA_API_KEY) or TOOLS.md
  2. Build inputText with content (can include image URLs inline)
  3. POST to /generations → get generationId
  4. Poll /generations/{id} until status: "completed"
  5. Return gammaUrl to user

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 13:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,149
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,438
productivity

Migrate

mrgoodb
导出和导入 Clawdbot 安装配置,用于设备间迁移。当用户需将 Clawdbot 迁移至新电脑、备份或恢复设置时使用。支持处理工作区文件、配置、WhatsApp 会话及可选的凭据信息。
★ 0 📥 2,105