/install gamma-presentations
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: \x3Cyour-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/\x3CgenerationId> \
-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 `\ |
| ---\ | ||
| ` 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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gamma-presentations - 安装完成后,直接呼叫该 Skill 的名称或使用
/gamma-presentations触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2554 次。
如何安装 Gamma Presentations?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gamma-presentations」即可一键安装,无需额外配置。
Gamma Presentations 是免费的吗?
是的,Gamma Presentations 完全免费(开源免费),可自由下载、安装和使用。
Gamma Presentations 支持哪些平台?
Gamma Presentations 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gamma Presentations?
由 MrGoodB(@mrgoodb)开发并维护,当前版本 v1.0.0。