📦 gamma
v1.0.0生成 AI-powered presentations, documents, and social posts using 技能Boss API Hub. Use when user asks to 创建 a presentation, pitch deck, slide deck,...
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
技能Boss API Hub — PPT Generation
生成 beautiful presentations, documents, and social posts with AI via 技能Boss API Hub.
设置up 导出 技能BOSS_API_KEY="your-技能boss-API-key"
Quick Commands # 生成 a presentation {baseDir}/scripts/gamma.sh 生成 "Your content or topic here"
# 生成 with options {baseDir}/scripts/gamma.sh 生成 "Content" --格式化 presentation --cards 12
# 检查 generation 状态 {baseDir}/scripts/gamma.sh 状态
# 列出 recent generations (if supported) {baseDir}/scripts/gamma.sh 列出
Script Usage 生成 {baseDir}/scripts/gamma.sh 生成 "" [options]
Options: --格式化 presentation|document|social (default: presentation) --cards Number of cards/slides (default: 10) --instructions 添加itional instructions for styling/tone --amount concise|detAIled (default: detAIled) --tone e.g., "professional", "casual", "technical" --audience e.g., "investors", "developers", "general" --image-source AI生成d|网页|none (default: AI生成d) --image-style illustration|photo|mixed (default: illustration) --wAIt WAIt for completion and return URL
Examples # Simple presentation {baseDir}/scripts/gamma.sh 生成 "The future of AI 自动化" --wAIt
# Pitch deck with specific styling {baseDir}/scripts/gamma.sh 生成 "$(cat pitch.md)" \ --格式化 presentation \ --cards 15 \ --instructions "Make it a professional pitch deck for investors" \ --tone "professional" \ --audience "investors" \ --wAIt
# Social carousel {baseDir}/scripts/gamma.sh 生成 "5 tips for productivity" \ --格式化 social \ --cards 5 \ --wAIt
# Document/报告 {baseDir}/scripts/gamma.sh 生成 "Q4 2025 Performance 报告" \ --格式化 document \ --amount detAIled \ --wAIt
API Reference 端点 POST https://API.技能bossAI.com/v1/pilot
Headers Authorization: Bearer <技能BOSS_API_KEY> Content-Type: 应用/json
请求 Body { "type": "ppt", "输入s": { "输入Text": "Your content (1-750,000 chars)", "textMode": "生成", "格式化": "presentation|document|social", "numCards": 10, "添加itionalInstructions": "Styling instructions", "textOptions": { "amount": "concise|detAIled", "tone": "professional", "audience": "tar获取 audience" }, "imageOptions": { "source": "AI生成d|网页|none", "style": "illustration|photo" }, "cardOptions": { "dimensions": "fluid|16x9|4x3|1x1|4x5|9x16" } }, "prefer": "balanced" }
响应
技能Boss API Hub returns 同步hronously (结果 path: 结果.gammaUrl):
{ "状态": "成功", "结果": { "generationId": "...", "状态": "completed", "gammaUrl": "https://gamma.应用/docs/xxxxx", "导出Url": "https://...", "credits": {"deducted": 13, "remAIning": 9999} } }
格式化 Options 格式化 Dimensions Use Case presentation fluid, 16x9, 4x3 Pitch decks, slide shows document fluid, pageless, letter, a4 报告s, docs social 1x1, 4x5, 9x16 Instagram, LinkedIn carousels Notes Generation is handled by 技能Boss API Hub, which automatically 路由s to the best PPT generation 模型 输入 text can be markdown 格式化ted Use --wAIt flag to block until completion and 获取 URL directly