gamma-presentationsCreate 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.
Install via ClawdBot CLI:
clawdbot install MrGoodB/gamma-presentationsCreate presentations and documents programmatically via Gamma's API.
export GAMMA_API_KEY=sk-gamma-xxx Or add to TOOLS.md: Gamma API Key: sk-gamma-xxx
Base URL: https://public-api.gamma.app/v1.0
Header: X-API-KEY: <your-api-key>
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"}
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".
| Parameter | Values | Notes |
|-----------|--------|-------|
| textMode | generate, condense, preserve | generate=expand, condense=summarize, preserve=keep exact |
| format | presentation, document, social, webpage | Output type |
| numCards | 1-60 (Pro), 1-75 (Ultra) | Number of slides/cards |
| cardSplit | auto, inputTextBreaks | Use \n---\n in inputText for manual breaks |
| exportAs | pdf, pptx | Optional export format |
{
"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.
GET /themes โ List available themes (use themeId in generation)GET /folders โ List folders (use folderIds in generation)$GAMMA_API_KEY) or TOOLS.mdinputText with content (can include image URLs inline)/generations โ get generationId/generations/{id} until status: "completed"gammaUrl to userGenerated Mar 1, 2026
A marketing team needs to quickly create a visually engaging presentation for a new product launch. Using the Gamma API, they can input product details and target audience info, select 'presentation' format with 'generate' textMode to expand content, and apply a professional theme to produce a polished deck with AI-generated images.
An educator wants to develop a detailed study guide for a course. They provide key topics and learning objectives, use 'document' format with 'condense' textMode to summarize information, and set 'detailed' textOptions to ensure comprehensive coverage, resulting in a structured PDF export for students.
A small business owner needs to create multiple social media posts for a weekly campaign. They input promotional text, choose 'social' format with 'preserve' textMode to keep exact messaging, and use 'unsplash' imageOptions for high-quality photos, enabling quick batch production of posts.
A corporate team must publish an annual report as an interactive webpage. They supply financial data and insights, select 'webpage' format with 'generate' textMode to expand sections, and apply a fluid card dimension for responsive design, creating a professional online report accessible via gammaUrl.
An event planner is organizing a conference and needs a slide deck for sponsors. They input event details and sponsor requirements, use 'presentation' format with 'auto' cardSplit for seamless flow, and set 'inspiring' tone in textOptions to engage potential partners.
Offer the Gamma API skill as part of a subscription-based platform for businesses, providing tiered access based on usage limits (e.g., Pro vs. Ultra plans). Revenue is generated through monthly or annual fees, with upsells for additional features like premium themes or export formats.
Operate a creative agency that uses the Gamma API to deliver custom presentations and documents for clients. Charge project-based or retainer fees, leveraging the API's automation to reduce turnaround time and scale services across multiple industries like marketing and education.
Market the skill to freelancers and consultants who need to quickly produce professional content for clients. Generate revenue through one-time purchases or affiliate partnerships with Gamma, offering tutorials and templates to enhance value and drive adoption.
๐ฌ Integration Tip
Store the API key securely in environment variables or a config file, and implement polling with a 15-second interval to check generation status until completion for reliable automation.
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.