POST /generations
Generate a presentation, document, website, or social post from text.
API key for authentication
Input text for generation — a topic, outline, or full content. Max 400,000 characters.
Quarterly sales report for Q3 2024Additional context or instructions for AI
Focus on year-over-year growth metricsHow to interpret the input text
generatePossible values: Output format
presentationPossible values: Target number of cards to generate. Limits vary by plan.
10Content splitting strategy across cards
autoPossible values: Theme ID to apply. Get available IDs from the GET /themes endpoint.
theme_abc123Folder IDs to place the generated Gamma in. Get available IDs from the GET /folders endpoint.
["folder_abc"]Auto-export format after generation completes.
pdfPossible values: Generation job created successfully
Unique generation job identifier for status polling
abc123xyzWarnings about ignored or adjusted request parameters
Image model ignored when source is 'web'Invalid request parameters
Invalid or missing API key
Insufficient credits
Access denied or feature not available
Related
Last updated
Was this helpful?