# Gamma 5 agent: generate and edit through the API

By Steven Van · 2026-10-05

The Gamma agent can now build gammas from a prompt and edit existing ones through the API, MCP server and the ChatGPT and Claude connectors.

Gamma's API now has an agent that plans and builds a gamma from a prompt. [Gamma](<https://creatorstoolbox.com/tools/gamma>) described the change in its [API changelog](<https://developers.gamma.app/reference/changelog#gamma-5-agent-generate-and-edit-through-the-api>), and it covers both generating new gammas and editing existing ones.

## Generating with the agent

POST /agent/generations has the Gamma agent plan and build a gamma from a prompt. A request can optionally start from a workspace template, an existing gamma, or an official Explore template, the last of which is passed as templateId.

## Editing existing gammas

POST /agent/gammas/{gammaId}/edits edits an existing gamma from a natural-language instruction. The edit runs asynchronously, so the result is checked by polling GET /agent/edits/{editId}.

## Pricing and MCP

Both agent endpoints are priced by the work the agent does. The MCP server exposes editing as edit\_gamma and get\_edit\_status, and the ChatGPT and Claude connectors can now edit existing gammas.

![Gamma](<https://gamma.app/icons/pwa-icon-512x512.png>)

Gamma

AI generates presentations, documents, and webpages from a prompt — edit in a visual editor, embed videos and charts, then share as a link.

[View Gamma →](<https://creatorstoolbox.com/tools/gamma>)

Sources

[Original source](<https://developers.gamma.app/reference/changelog#gamma-5-agent-generate-and-edit-through-the-api>)

[Read Gamma 5 agent: generate and edit through the API on Creators Toolbox](<https://creatorstoolbox.com/blog/gamma-gamma-5-agent-generate-and-edit-through-the-api>)

---
Canonical source: https://creatorstoolbox.com/blog/gamma-gamma-5-agent-generate-and-edit-through-the-api
