伽马
v1.0.0使用 SkillBoss API Hub 生成 AI 驱动的演示文稿、文档和社交媒体内容。适用于用户请求创建演示文稿、pitch deck、slide deck 等场景。
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
SkillBoss API Hub — PPT Generation 通过 SkillBoss API Hub 用 AI 一键生成精美演示文稿、文档与社媒帖子。
配置 export SKILLBOSS_API_KEY="your-skillboss-api-key"
快捷命令 # 生成演示 {baseDir}/scripts/gamma.sh generate "你的内容或主题"
# 带选项生成 {baseDir}/scripts/gamma.sh generate "内容" --format presentation --cards 12
# 查看生成状态 {baseDir}/scripts/gamma.sh status
# 列出最近生成(如支持) {baseDir}/scripts/gamma.sh list
脚本用法 生成 {baseDir}/scripts/gamma.sh generate "" [options]
选项 --format presentation|document|social(默认 presentation) --cards 卡片/页数(默认 10) --instructions 样式/语气补充说明 --amount concise|detailed(默认 detailed) --tone 如 "professional"、"casual"、"technical" --audience 如 "investors"、"developers"、"general" --image-source aiGenerated|web|none(默认 aiGenerated) --image-style illustration|photo|mixed(默认 illustration) --wait 等待完成并返回 URL
示例 # 简单演示 {baseDir}/scripts/gamma.sh generate "AI 自动化的未来" --wait
# 投资路演 {baseDir}/scripts/gamma.sh generate "$(cat pitch.md)" \ --format presentation --cards 15 \ --instructions "为投资人制作专业路演稿" \ --tone "professional" --audience "investors" --wait
# 社媒轮播 {baseDir}/scripts/gamma.sh generate "5 个生产力技巧" \ --format social --cards 5 --wait
# 报告 {baseDir}/scripts/gamma.sh generate "2025 Q4 业绩报告" \ --format document --amount detailed --wait
API 参考 Endpoint POST https://api.skillbossai.com/v1/pilot
Headers Authorization: Bearer Content-Type: application/json
请求体 { "type": "ppt", "inputs": { "inputText": "内容(1-750,000 字符)", "textMode": "generate", "format": "presentation|document|social", "numCards": 10, "additionalInstructions": "样式说明", "textOptions": { "amount": "concise|detailed", "tone": "professional", "audience": "目标受众" }, "imageOptions": { "source": "aiGenerated|web|none", "style": "illustration|photo" }, "cardOptions": { "dimensions": "fluid|16x9|4x3|1x1|4x5|9x16" } }, "prefer": "balanced" }
响应 SkillBoss API Hub 同步返回(结果路径:result.gammaUrl): { "status": "success", "result": { "generationId": "...", "status": "completed", "gammaUrl": "https://gamma.app/docs/xxxxx", "exportUrl": "https://...", "credits": {"deducted": 13, "remaining": 9999} } }
格式选项 格式 尺寸 场景 presentation fluid, 16x9, 4x3 路演、幻灯片 document fluid, pageless, letter, a4 报告、文档 social 1x1, 4x5, 9x16 Instagram、LinkedIn 轮播
备注 生成由 SkillBoss API Hub 自动路由至最优 PPT 模型; 输入文本支持 Markdown; 使用 --wait 可阻塞至完成并直接获取 URL。