Gamma

Generate presentations, documents, and webpages with AI

Gamma is an AI-powered platform for creating presentations, documents, webpages, and social posts. Gamma's API lets you programmatically generate polished, visually rich content from text prompts, adapt existing templates, and manage workspace assets like themes and folders.

With Gamma, you can:

  • Generate presentations and documents: Create slide decks, documents, webpages, and social posts from text input with full control over format, tone, and image sourcing.
  • Create from templates: Adapt existing Gamma templates with custom prompts to quickly produce tailored content.
  • Check generation status: Poll for completion of async generation jobs and retrieve the final Gamma URL.
  • Browse themes and folders: List available workspace themes and folders to organize and style your generated content.

In Sim, the Gamma integration enables your agents to automatically generate presentations and documents, create content from templates, and manage workspace assets directly within your workflows. This allows you to automate content creation pipelines, batch-produce slide decks, and integrate AI-generated presentations into broader business automation scenarios.

Usage Instructions

Integrate Gamma into the workflow. Can generate presentations, documents, webpages, and social posts from text, create from templates, check generation status, and browse themes and folders.

Tools

gamma_generate

Generate a new Gamma presentation, document, webpage, or social post from text input.

Input

ParameterTypeRequiredDescription
apiKeystringYesGamma API key
inputTextstringYesText and image URLs used to generate your gamma (1-100,000 tokens)
textModestringYesHow to handle input text: generate (AI expands), condense (AI summarizes), or preserve (keep as-is)
formatstringNoOutput format: presentation, document, webpage, or social (default: presentation)
themeIdstringNoCustom Gamma workspace theme ID (use List Themes to find available themes)
numCardsnumberNoNumber of cards/slides to generate (1-60 for Pro, 1-75 for Ultra; default: 10)
cardSplitstringNoHow to split content into cards: auto or inputTextBreaks (default: auto)
cardDimensionsstringNoCard aspect ratio. Presentation: fluid, 16x9, 4x3. Document: fluid, pageless, letter, a4. Social: 1x1, 4x5, 9x16
additionalInstructionsstringNoAdditional instructions for the AI generation (max 2000 chars)
exportAsstringNoAutomatically export the generated gamma as pdf or pptx
folderIdsstringNoComma-separated folder IDs to store the generated gamma in
textAmountstringNoAmount of text per card: brief, medium, detailed, or extensive
textTonestringNoTone of the generated text, e.g. "professional", "casual" (max 500 chars)
textAudiencestringNoTarget audience for the generated text, e.g. "executives", "students" (max 500 chars)
textLanguagestringNoLanguage code for the generated text (default: en)
imageSourcestringNoWhere to source images: aiGenerated, pictographic, unsplash, webAllImages, webFreeToUse, webFreeToUseCommercially, giphy, placeholder, or noImages
imageModelstringNoAI image generation model to use when imageSource is aiGenerated
imageStylestringNoStyle directive for AI-generated images, e.g. "watercolor", "photorealistic" (max 500 chars)

Output

ParameterTypeDescription
generationIdstringThe ID of the generation job. Use with Check Status to poll for completion.

gamma_generate_from_template

Generate a new Gamma by adapting an existing template with a prompt.

Input

ParameterTypeRequiredDescription
apiKeystringYesGamma API key
gammaIdstringYesThe ID of the template gamma to adapt
promptstringYesInstructions for how to adapt the template (1-100,000 tokens)
themeIdstringNoCustom Gamma workspace theme ID to apply
exportAsstringNoAutomatically export the generated gamma as pdf or pptx
folderIdsstringNoComma-separated folder IDs to store the generated gamma in
imageModelstringNoAI image generation model to use when imageSource is aiGenerated
imageStylestringNoStyle directive for AI-generated images, e.g. "watercolor", "photorealistic" (max 500 chars)

Output

ParameterTypeDescription
generationIdstringThe ID of the generation job. Use with Check Status to poll for completion.

gamma_check_status

Check the status of a Gamma generation job. Returns the gamma URL when completed, or error details if failed.

Input

ParameterTypeRequiredDescription
apiKeystringYesGamma API key
generationIdstringYesThe generation ID returned by the Generate or Generate from Template tool

Output

ParameterTypeDescription
generationIdstringThe generation ID that was checked
statusstringGeneration status: pending, completed, or failed
gammaUrlstringURL of the generated gamma (only present when status is completed)
creditsobjectCredit usage information (only present when status is completed)
deductednumberNumber of credits deducted for this generation
remainingnumberRemaining credits in the account
errorobjectError details (only present when status is failed)
messagestringHuman-readable error message
statusCodenumberHTTP status code of the error

gamma_list_themes

List available themes in your Gamma workspace. Returns theme IDs, names, and keywords for styling.

Input

ParameterTypeRequiredDescription
apiKeystringYesGamma API key
querystringNoSearch query to filter themes by name (case-insensitive)
limitnumberNoMaximum number of themes to return per page (max 50)
afterstringNoPagination cursor from a previous response (nextCursor) to fetch the next page

Output

ParameterTypeDescription
themesarrayList of available themes
idstringTheme ID (use with themeId parameter)
namestringTheme display name
typestringTheme type: standard or custom
colorKeywordsarrayColor descriptors for this theme
toneKeywordsarrayTone descriptors for this theme
hasMorebooleanWhether more results are available on the next page
nextCursorstringPagination cursor to pass as the after parameter for the next page

gamma_list_folders

List available folders in your Gamma workspace. Returns folder IDs and names for organizing generated content.

Input

ParameterTypeRequiredDescription
apiKeystringYesGamma API key
querystringNoSearch query to filter folders by name (case-sensitive)
limitnumberNoMaximum number of folders to return per page (max 50)
afterstringNoPagination cursor from a previous response (nextCursor) to fetch the next page

Output

ParameterTypeDescription
foldersarrayList of available folders
idstringFolder ID (use with folderIds parameter)
namestringFolder display name
hasMorebooleanWhether more results are available on the next page
nextCursorstringPagination cursor to pass as the after parameter for the next page

On this page

Start building today
Trusted by over 70,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started