gammaGenerate 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".
Install via ClawdBot CLI:
clawdbot install lucassynnott/gammaGenerate beautiful presentations, documents, and social posts with AI.
export GAMMA_API_KEY="sk-gamma-xxxxx"
# 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
{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
# 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
POST https://public-api.gamma.app/v1.0/generations
X-API-KEY: <your-api-key>
Content-Type: application/json
{
"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"
}
}
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 | Dimensions | Use Case |
|--------|------------|----------|
| presentation | fluid, 16x9, 4x3 | Pitch decks, slide shows |
| document | fluid, pageless, letter, a4 | Reports, docs |
| social | 1x1, 4x5, 9x16 | Instagram, LinkedIn carousels |
--wait flag to block until completion and get URL directlyGenerated Mar 1, 2026
A tech startup founder needs to quickly generate a professional pitch deck for investor meetings. They can input their business plan or key points, specify investor audience, and get a polished presentation with AI-generated images and professional tone, saving hours of design work.
A marketing agency wants to create an engaging social media carousel for a client's product launch. They provide the key messages, select social format with 5-7 cards, and use casual tone to generate visually appealing content for platforms like Instagram or LinkedIn.
A corporate manager needs to produce a detailed quarterly performance report for internal stakeholders. They input data summaries, choose document format with detailed amount, and apply a professional tone to generate a well-structured report that can be quickly reviewed and shared.
An educator or trainer wants to create a slide deck for a workshop on AI trends. They provide the topic outline, set presentation format with 12 cards, use technical tone for developer audience, and include AI-generated illustrations to enhance learning materials.
Offer Gamma as a subscription service where users pay monthly or annual fees for access to generation credits and premium features. This provides recurring revenue and scales with user base, targeting businesses and professionals who regularly create content.
Sell credits that users purchase upfront to generate presentations, documents, or social posts, with each generation deducting credits. This model appeals to occasional users or those with variable needs, allowing flexible spending without long-term commitments.
Provide custom enterprise licenses for large organizations, including bulk credits, dedicated support, and integration with internal tools. This targets corporations, agencies, and educational institutions needing high-volume usage and tailored solutions.
💬 Integration Tip
Ensure the GAMMA_API_KEY is securely stored as an environment variable and test the script with simple commands before integrating into workflows to avoid API errors.
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
用 MinerU API 解析 PDF/Word/PPT/图片为 Markdown,支持公式、表格、OCR。适用于论文解析、文档提取。
Generate hand-drawn style diagrams, flowcharts, and architecture diagrams as PNG images from Excalidraw JSON
The awesome PPT format generation tool provided by baidu.