Import a presentation through the API
Gamma's API can now import an existing presentation. Send a file to POST /uploads to store it, then pass it in files on POST /agent/generations to hand it to the Gamma agent.
That lets you bring in a PowerPoint or PDF deck as is, have the agent edit or restyle it, or build a new deck from it.
If an upload can't be attached once the generation runs, the generation fails with error.reason set to invalid_files. Links in sourceUrls are stricter too. When your prompt depends on one, such as a Google Slides deck to import, Gamma now requires it. If Gamma can't read the link, the generation fails and creates no gamma.
Loading replies…