Skip to content
gamma logo

Gamma.app API

gamma

Generate AI-powered presentations, documents, and social posts using Gamma.app API. Use when user asks to create a presentation, pitch deck, slide deck, document, or social media carousel. Triggers on requests like "create a presentation about X", "make a pitch deck", "generate slides", or "creat...

SKILL.md

Full skill instructions

Gamma.app API

Generate beautiful presentations, documents, and social posts with AI.

Setup

export GAMMA_API_KEY="sk-gamma-xxxxx"

Quick Commands

# Generate a presentation
{baseDir}/​scripts/​gamma.sh generate "Your content or topic here"

# Generate with options
{baseDir}/​scripts/​gamma.sh generate "Content" --format presentation --cards 12

# Check generation status
{baseDir}/​scripts/​gamma.sh status <generationId>

# List recent generations (if supported)
{baseDir}/​scripts/​gamma.sh list

Script Usage

Generate

{baseDir}/​scripts/​gamma.sh generate "<content>" [options]

Options:
  --format       presentation|document|social (default: presentation)
  --cards        Number of cards/​slides (default: 10)
  --instructions Additional instructions for styling/​tone
  --amount       concise|detailed (default: detailed)
  --tone         e.g., "professional", "casual", "technical"
  --audience     e.g., "investors", "developers", "general"
  --image-source aiGenerated|web|none (default: aiGenerated)
  --image-style  illustration|photo|mixed (default: illustration)
  --wait         Wait for completion and return URL

Examples

# Simple presentation
{baseDir}/​scripts/​gamma.sh generate "The future of AI automation" --wait

# Pitch deck with specific styling
{baseDir}/​scripts/​gamma.sh generate "$(cat pitch.md)" \
  --format presentation \
  --cards 15 \
  --instructions "Make it a professional pitch deck for investors" \
  --tone "professional" \
  --audience "investors" \
  --wait

# Social carousel
{baseDir}/​scripts/​gamma.sh generate "5 tips for productivity" \
  --format social \
  --cards 5 \
  --wait

# Document/​report
{baseDir}/​scripts/​gamma.sh generate "Q4 2025 Performance Report" \
  --format document \
  --amount detailed \
  --wait

API Reference

Endpoint

POST https://public-api.gamma.app/​v1.0/​generations

Headers

X-API-KEY: <your-api-key>
Content-Type: application/​json

Request Body

{
  "inputText": "Your content (1-750,000 chars)",
  "textMode": "generate",
  "format": "presentation|document|social",
  "numCards": 10,
  "additionalInstructions": "Styling instructions",
  "textOptions": {
    "amount": "concise|detailed",
    "tone": "professional",
    "audience": "target audience"
  },
  "imageOptions": {
    "source": "aiGenerated|web|none",
    "model": "flux-kontext-pro",
    "style": "illustration|photo"
  },
  "cardOptions": {
    "dimensions": "fluid|16x9|4x3|1x1|4x5|9x16"
  }
}

Response

Initial response:

{"generationId": "abc123"}

Poll for status:

GET https://public-api.gamma.app/​v1.0/​generations/<generationId>

Completed response:

{
  "generationId": "abc123",
  "status": "completed",
  "gammaUrl": "https://gamma.app/​docs/​xxxxx",
  "credits": {"deducted": 150, "remaining": 7500}
}

Format Options

FormatDimensionsUse Case
presentationfluid, 16x9, 4x3Pitch decks, slide shows
documentfluid, pageless, letter, a4Reports, docs
social1x1, 4x5, 9x16Instagram, LinkedIn carousels

Notes

  • Generation typically takes 1-3 minutes
  • Credits are deducted per generation (~150-300 per deck)
  • Input text can be markdown formatted
  • Use --wait flag to block until completion and get URL directly

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View