gamma_generate
Generate presentations, documents, social posts, or webpages from text input. Control format, length, tone, and images to match your needs.
Instructions
Generate a new presentation, document, social post, or webpage from text input. Returns a generationId to poll for completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format type. | presentation |
| themeId | No | Theme ID to use. Get from gamma_list_themes. | |
| exportAs | No | Export format. Links expire, download promptly. | |
| numCards | No | Number of cards/slides to generate (1-60 for Pro, 1-75 for Ultra). | |
| textMode | Yes | How to handle input text. 'generate' expands, 'condense' summarizes, 'preserve' keeps as-is. | |
| textTone | No | Tone/voice of content (e.g., 'professional, inspiring'). | |
| cardSplit | No | How to split content into cards. 'auto' uses numCards, 'inputTextBreaks' uses \n---\n markers. | auto |
| folderIds | No | Folder IDs to save the gamma to. | |
| inputText | Yes | Content to generate from. Can include text and image URLs. Max ~100k tokens. | |
| dimensions | No | Card dimensions. Presentation: fluid/16x9/4x3. Document: fluid/pageless/letter/a4. Social: 1x1/4x5/9x16. | |
| imageModel | No | AI image model (if imageSource is 'aiGenerated'). E.g., 'flux-1-pro', 'imagen-4-pro'. | |
| imageStyle | No | Image style description (e.g., 'photorealistic', 'minimal line art'). | |
| textAmount | No | How much text per card. | |
| imageSource | No | Where to source images from. | aiGenerated |
| textAudience | No | Target audience description. | |
| textLanguage | No | Output language code (e.g., 'en', 'es', 'fr'). | en |
| additionalInstructions | No | Extra instructions for generation (max 2000 chars). |