gamma
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.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- gamma
- description
- 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.
02 资源文件 1
- 参考文档_meta.json291 B
03 SKILL.md 正文
Gamma API Skill
Create presentations and documents programmatically via Gamma's API.
Setup
- Get API key from https://developers.gamma.app
- Store in environment:
export GAMMA_API_KEY=sk-gamma-xxxOr 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
| 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 |
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 (usethemeIdin generation)GET /folders— List folders (usefolderIdsin generation)
Workflow
- Check for API key in environment (
$GAMMA_API_KEY) or TOOLS.md - Build
inputTextwith content (can include image URLs inline) - POST to
/generations→ getgenerationId - Poll
/generations/{id}untilstatus: "completed" - Return
gammaUrlto user
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.