AptlyStar

Gamma

Generate presentations, documents, and webpages with AI

使用说明

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.

工具

gamma_generate

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

输入

参数类型必填描述
apiKeystring是Gamma API key
inputTextstring是Text and image URLs used to generate your gamma (1-100,000 tokens)
textModestring是How to handle input text: generate (AI expands), condense (AI summarizes), or preserve (keep as-is)
formatstring否Output format: presentation, document, webpage, or social (default: presentation)
themeIdstring否Custom Gamma workspace theme ID (use List Themes to find available themes)
numCardsnumber否Number of cards/slides to generate (1-60 for Pro, 1-75 for Ultra; default: 10)
cardSplitstring否How to split content into cards: auto or inputTextBreaks (default: auto)
cardDimensionsstring否Card aspect ratio. Presentation: fluid, 16x9, 4x3. Document: fluid, pageless, letter, a4. Social: 1x1, 4x5, 9x16
additionalInstructionsstring否Additional instructions for the AI generation (max 2000 chars)
exportAsstring否Automatically export the generated gamma as pdf or pptx
folderIdsstring否Comma-separated folder IDs to store the generated gamma in
textAmountstring否Amount of text per card: brief, medium, detailed, or extensive
textTonestring否Tone of the generated text, e.g. "professional", "casual" (max 500 chars)
textAudiencestring否Target audience for the generated text, e.g. "executives", "students" (max 500 chars)
textLanguagestring否Language code for the generated text (default: en)
imageSourcestring否Where to source images: aiGenerated, pictographic, unsplash, webAllImages, webFreeToUse, webFreeToUseCommercially, giphy, placeholder, or noImages
imageModelstring否AI image generation model to use when imageSource is aiGenerated
imageStylestring否Style directive for AI-generated images, e.g. "watercolor", "photorealistic" (max 500 chars)

输出

参数类型描述
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.

输入

参数类型必填描述
apiKeystring是Gamma API key
gammaIdstring是The ID of the template gamma to adapt
promptstring是Instructions for how to adapt the template (1-100,000 tokens)
themeIdstring否Custom Gamma workspace theme ID to apply
exportAsstring否Automatically export the generated gamma as pdf or pptx
folderIdsstring否Comma-separated folder IDs to store the generated gamma in
imageModelstring否AI image generation model to use when imageSource is aiGenerated
imageStylestring否Style directive for AI-generated images, e.g. "watercolor", "photorealistic" (max 500 chars)

输出

参数类型描述
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.

输入

参数类型必填描述
apiKeystring是Gamma API key
generationIdstring是The generation ID returned by the Generate or Generate from Template tool

输出

参数类型描述
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.

输入

参数类型必填描述
apiKeystring是Gamma API key
querystring否Search query to filter themes by name (case-insensitive)
limitnumber否Maximum number of themes to return per page (max 50)
afterstring否Pagination cursor from a previous response (nextCursor) to fetch the next page

输出

参数类型描述
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.

输入

参数类型必填描述
apiKeystring是Gamma API key
querystring否Search query to filter folders by name (case-sensitive)
limitnumber否Maximum number of folders to return per page (max 50)
afterstring否Pagination cursor from a previous response (nextCursor) to fetch the next page

输出

参数类型描述
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