gamma-hello-world

Featured

Generate your first Gamma presentation via the API. Use when learning the generate-poll-retrieve workflow, testing API connectivity, or creating a minimal example. Trigger: "gamma hello world", "gamma quick start", "first gamma presentation", "gamma example", "gamma test".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Gamma Hello World ## Overview Generate your first presentation using Gamma's async Generate API. The workflow is: POST to create a generation, poll for status, then retrieve results (gammaUrl + exportUrl). ## Prerequisites - Completed `gamma-install-auth` setup - Valid `GAMMA_API_KEY` environment variable - Pro account with available credits ## The Generate-Poll-Retrieve Pattern All Gamma generations are asynchronous: 1. **POST** `/v1.0/generations` — submit content, receive `generationId` 2. **GET** `/v1.0/generations/{generationId}` — poll every 5s until `completed` or `failed` 3. **Result** — `gammaUrl` (view in app) + `exportUrl` (download PDF/PPTX/PNG) ## Instructions ### Minimal curl Example ```bash # Step 1: Create generation GENERATION=$(curl -s -X POST \ "https://public-api.gamma.app/v1.0/generations" \ -H "X-API-KEY: ${GAMMA_API_KEY}" \ -H "Content-Type: application/json" \ -d '{ "content": "Create a 5-card presentation about the benefits of AI in business", "outputFormat": "presentation" }') GEN_ID=$(echo "$GENERATION" | jq -r '.generationId') echo "Generation started: $GEN_ID" # Step 2: Poll until complete (every 5 seconds) while true; do STATUS=$(curl -s \ "https://public-api.gamma.app/v1.0/generations/${GEN_ID}" \ -H "X-API-KEY: ${GAMMA_API_KEY}") STATE=$(echo "$STATUS" | jq -r '.status') echo "Status: $STATE" [ "$STATE" = "completed" ] || [ "$STATE" = "failed" ] && break sleep 5 done # Step 3: Retrieve results e...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category