← 返回
内容创作 Key

Gamma

Generate AI-powered presentations, documents, and social posts using Gamma.app API. Use when user asks to create a presentation, pitch deck, slide deck, document, or social media carousel. Triggers on requests like "create a presentation about X", "make a pitch deck", "generate slides", or "create a Gamma about X".
利用 Gamma.app API 生成 AI 驱动的演示文稿、文档和社交媒体帖子。当用户要求创建演示文稿、融资简报、幻灯片、文档或社交媒体轮播图时使用。触发请求示例包括“创建关于 X 的演示文稿”、“制作融资简报”、“生成幻灯片”或“创建关于 X 的 Gamma”。
lucassynnott
内容创作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 4
Stars
📥 4,407
下载
💾 12
安装
1
版本
#latest

概述

Gamma.app API

Generate beautiful presentations, documents, and social posts with AI.

Setup

export GAMMA_API_KEY="sk-gamma-xxxxx"

Quick Commands

# Generate a presentation
{baseDir}/scripts/gamma.sh generate "Your content or topic here"

# Generate with options
{baseDir}/scripts/gamma.sh generate "Content" --format presentation --cards 12

# Check generation status
{baseDir}/scripts/gamma.sh status <generationId>

# List recent generations (if supported)
{baseDir}/scripts/gamma.sh list

Script Usage

Generate

{baseDir}/scripts/gamma.sh generate "<content>" [options]

Options:
  --format       presentation|document|social (default: presentation)
  --cards        Number of cards/slides (default: 10)
  --instructions Additional instructions for styling/tone
  --amount       concise|detailed (default: detailed)
  --tone         e.g., "professional", "casual", "technical"
  --audience     e.g., "investors", "developers", "general"
  --image-source aiGenerated|web|none (default: aiGenerated)
  --image-style  illustration|photo|mixed (default: illustration)
  --wait         Wait for completion and return URL

Examples

# Simple presentation
{baseDir}/scripts/gamma.sh generate "The future of AI automation" --wait

# Pitch deck with specific styling
{baseDir}/scripts/gamma.sh generate "$(cat pitch.md)" \
  --format presentation \
  --cards 15 \
  --instructions "Make it a professional pitch deck for investors" \
  --tone "professional" \
  --audience "investors" \
  --wait

# Social carousel
{baseDir}/scripts/gamma.sh generate "5 tips for productivity" \
  --format social \
  --cards 5 \
  --wait

# Document/report
{baseDir}/scripts/gamma.sh generate "Q4 2025 Performance Report" \
  --format document \
  --amount detailed \
  --wait

API Reference

Endpoint

POST https://public-api.gamma.app/v1.0/generations

Headers

X-API-KEY: <your-api-key>
Content-Type: application/json

Request Body

{
  "inputText": "Your content (1-750,000 chars)",
  "textMode": "generate",
  "format": "presentation|document|social",
  "numCards": 10,
  "additionalInstructions": "Styling instructions",
  "textOptions": {
    "amount": "concise|detailed",
    "tone": "professional",
    "audience": "target audience"
  },
  "imageOptions": {
    "source": "aiGenerated|web|none",
    "model": "flux-kontext-pro",
    "style": "illustration|photo"
  },
  "cardOptions": {
    "dimensions": "fluid|16x9|4x3|1x1|4x5|9x16"
  }
}

Response

Initial response:

{"generationId": "abc123"}

Poll for status:

GET https://public-api.gamma.app/v1.0/generations/<generationId>

Completed response:

{
  "generationId": "abc123",
  "status": "completed",
  "gammaUrl": "https://gamma.app/docs/xxxxx",
  "credits": {"deducted": 150, "remaining": 7500}
}

Format Options

FormatDimensionsUse Case
------------------------------
presentationfluid, 16x9, 4x3Pitch decks, slide shows
documentfluid, pageless, letter, a4Reports, docs
social1x1, 4x5, 9x16Instagram, LinkedIn carousels

Notes

  • Generation typically takes 1-3 minutes
  • Credits are deducted per generation (~150-300 per deck)
  • Input text can be markdown formatted
  • Use --wait flag to block until completion and get URL directly

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 10:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,243
content-creation

Baidu Wenku AIPPT

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

AdMapix

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