> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Gamma

> Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.

![Gamma logo](https://mintcdn.com/composio-preview/GL28i3tBlbEbBd-f/images/toolkits/gamma.svg?fit=max\&auto=format\&n=GL28i3tBlbEbBd-f\&q=85\&s=15c18608413736d60c78f52c582375f6)

* **Category:** ai content generation
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 9
* **Triggers:** 0
* **Slug:** `GAMMA`
* **Version:** 20261101\_00

## Tools

> [accordion] Create from Template
>
> **Slug:** `GAMMA_CREATE_FROM_TEMPLATE`
>
> Tool to create new Gamma content based on an existing template. Use when you need to generate content with a predefined structure/layout by providing custom instructions and prompt. The API creates content asynchronously. This action polls the generation status and returns the gammaUrl when complete, or a generationId if the 2-minute timeout is reached.
>
> #### Input Parameters
>
> **prompt** `string` *required*
>
> Text instructions, image URLs, and guidance for adapting the template. Supports 1-100,000 tokens. Can include content to fill into the template and specific customization instructions.
>
> **gammaId** `string` *required*
>
> Unique identifier of the gamma template to use as the base for content generation. This determines the structure and layout of the generated content.
>
> **themeId** `string`
>
> Theme identifier obtained from the List Themes API. Use the 'id' field (e.g., 'chisel', 'alien', 'aurora'), NOT the 'name' field which contains human-readable theme names. If not specified, uses the template's default theme.
>
> **exportAs** `string`
>
> Additional export format for the generated content. Options: 'pdf' (static document) or 'pptx' (editable PowerPoint). Download links expire after a period—download promptly.
>
> **folderIds** `array`
>
> Array of folder IDs where the generated gamma should be stored. Use List Folders API to get available folder IDs.
>
> **imageOptions** `object`
>
> Image generation options for template content. Docs: [https://developers.gamma.app/docs/image-models](https://developers.gamma.app/docs/image-models)
>
> **sharingOptions** `object`
>
> Access control options for the generated content. Docs: [https://developers.gamma.app/docs/how-does-the-generations-api-work#sharingoptions](https://developers.gamma.app/docs/how-does-the-generations-api-work#sharingoptions)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Edit Gamma
>
> **Slug:** `GAMMA_EDIT_GAMMA`
>
> Apply an edit and poll up to 120 seconds for completion.
>
> #### Input Parameters
>
> **prompt** `string` *required*
>
> Natural-language edit instruction, up to 10,000 characters.
>
> **quality** `string ("lite" | "standard" | "max")`
>
> Model effort tier: lite, standard, or max.
>
> **gamma\_id** `string` *required*
>
> Gamma file ID or page document ID.
>
> **disable\_connectors** `boolean`
>
> Whether to disable workspace connector access for this edit.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Export Gamma
>
> **Slug:** `GAMMA_EXPORT_GAMMA`
>
> Export an existing Gamma and poll up to 120 seconds for its download URL.
>
> #### Input Parameters
>
> **gamma\_id** `string` *required*
>
> Gamma file ID or document ID.
>
> **export\_as** `string ("pdf" | "png" | "pptx")` *required*
>
> Export format: PDF, PPTX, or a ZIP containing PNG card images.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Generate a Gamma
>
> **Slug:** `GAMMA_GENERATE_GAMMA`
>
> Generate a Gamma presentation, document, webpage, or social media content using AI. The action polls the asynchronous generation for up to two minutes, returning available URLs on completion or a generation ID on timeout.
>
> #### Input Parameters
>
> **format** `string`
>
> Output type. 'presentation' (slide deck), 'document' (continuous page/report), 'webpage' (web page), 'social' (Instagram/TikTok/LinkedIn posts). Default: 'presentation'
>
> **themeId** `string`
>
> Visual theme identifier defining color palette and typography. To use the default theme, omit this field entirely — do NOT pass 'default' as a value. IMPORTANT: Theme IDs cannot be guessed - you MUST retrieve them using the List Themes API first. Standard themes use lowercase words ('alien', 'aurora'), hyphens ('default-dark', 'blue-steel'), or alphanumeric IDs ('ag4mc9ggtxi8iyi'). Custom workspace themes use 'theme\_' prefix ('theme\_abc123xyz'). DO NOT use underscore-separated words like 'corporate\_blue' - these are invalid. Both standard (global) and custom (workspace-specific) themes are supported.
>
> **exportAs** `string`
>
> Additional download format alongside Gamma URL. 'pdf' (static document) or 'pptx' (editable PowerPoint). Links provided in GET response expire after time—download promptly.
>
> **numCards** `integer`
>
> Number of cards to create (when cardSplit='auto'). Pro users: 1-60, Ultra users: 1-75. Default: 10
>
> **textMode** `string` *required*
>
> Content transformation mode. 'generate' (AI expands brief inputs into full content), 'condense' (summarizes long text to fit slides), 'preserve' (keeps exact wording, adds structure).
>
> **cardSplit** `string`
>
> Card division logic. 'auto' (AI splits into numCards slides, ignores \n---\n), 'inputTextBreaks' (splits at each \n---\n marker, ignores numCards). Default: 'auto'
>
> **folderIds** `array`
>
> Target folder(s) for storing the generated gamma. Retrieve available folder IDs using the List Folders API. Multiple folders can be specified.
>
> **inputText** `string` *required*
>
> Text and image URLs to generate gamma from. Can be brief (few words) or extensive (pages). Token limits: 100,000 tokens (\~400,000 characters). Image URLs can be included where they should appear. Use '\n---\n' to control card splits.
>
> **cardOptions** `object`
>
> Card layout options. Docs: [https://developers.gamma.app/docs/how-does-the-generations-api-work#cardoptions](https://developers.gamma.app/docs/how-does-the-generations-api-work#cardoptions)
>
> **textOptions** `object`
>
> Text generation options. Docs: [https://developers.gamma.app/docs/how-does-the-generations-api-work#textoptions](https://developers.gamma.app/docs/how-does-the-generations-api-work#textoptions)
>
> **imageOptions** `object`
>
> Image options for gamma generation. Docs: [https://developers.gamma.app/docs/how-does-the-generations-api-work#imageoptions](https://developers.gamma.app/docs/how-does-the-generations-api-work#imageoptions)
>
> **sharingOptions** `object`
>
> Sharing and access control options. Docs: [https://developers.gamma.app/docs/generate-api-parameters-explained](https://developers.gamma.app/docs/generate-api-parameters-explained)
>
> **additionalInstructions** `string`
>
> Extra specifications for content, layouts, etc. Character limits: 1-2000.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Gamma
>
> **Slug:** `GAMMA_GET_GAMMA`
>
> Retrieve metadata for one Gamma by file ID or document ID.
>
> #### Input Parameters
>
> **gamma\_id** `string` *required*
>
> Gamma file ID or document ID from its gamma.app URL.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Gamma File URLs
>
> **Slug:** `GAMMA_GET_GAMMA_FILE_URLS`
>
> Retrieve Classic generation status and available file URLs by generation ID. Poll until the status is completed or failed.
>
> #### Input Parameters
>
> **generation\_id** `string` *required*
>
> The generationId obtained from the POST generations endpoint. Must contain only letters and numbers (alphanumeric characters).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Folders
>
> **Slug:** `GAMMA_LIST_FOLDERS`
>
> Tool to retrieve a paginated list of folders in your Gamma workspace. Use when you need folder IDs to organize generated content or to search for specific folders by name.
>
> #### Input Parameters
>
> **after** `string`
>
> Cursor token for fetching the next page. Use the nextCursor value from the previous response. Pagination is forward-only.
>
> **limit** `integer`
>
> Number of items to return per page. Maximum: 50.
>
> **query** `string`
>
> Search by name (case-insensitive). Filters results to items matching the search term.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Themes
>
> **Slug:** `GAMMA_LIST_THEMES`
>
> Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.
>
> #### Input Parameters
>
> **after** `string`
>
> Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.
>
> **limit** `integer`
>
> Maximum number of themes to return per page. Must be between 1 and 50.
>
> **query** `string`
>
> Search themes by name. Filter the list to only themes matching this query string.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Gammas
>
> **Slug:** `GAMMA_SEARCH_GAMMAS`
>
> Search accessible Gamma documents by text, creator, or update time.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum number of hits to return (1-25).
>
> **query** `string`
>
> Full-text query matched against Gamma titles and body text.
>
> **created\_by** `string`
>
> Creator filter: 'me', an email address, or a user ID.
>
> **updated\_after** `string`
>
> Inclusive ISO-8601 lower bound on the last-updated time.
>
> **updated\_before** `string`
>
> Inclusive ISO-8601 upper bound on the last-updated time.
>
> **include\_archived** `boolean`
>
> Whether archived Gammas are included. Defaults to false.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
