Examples
API and MCP recipes
Choose a complete workflow for durable projects, one-shot output, templates or Agent review.
Durable project from an application
- Upload owned media with
POST /api/v2/media. - Create the source with
POST /api/v2/projects. - Save updates with the current version in
If-Matchor the bodyversionfield. - Queue
POST /api/v2/projects/{id}/renderswith an idempotency key. - Receive
render.completedor poll the render resource.
One temporary result
Use POST /api/v2/renders with an inline source when nobody needs to reopen or iterate on the project. Large media still belongs in the media API.
Repeatable template
- Build and visually approve a durable project.
- Publish a template.
- Discover
/inputs. - Render one variant.
- Submit a bounded JSON or CSV batch after the test passes.
Agent-created project
- Read
jsoncut://v2/authoring-guideand the current project context. - Optionally create or update
cut.mdwhen a new direction or multi-scene build benefits from a persistent Agent brief. - Resolve media and author one bounded section.
- Validate and request visual evidence.
- Repair the smallest concrete finding and render the pinned version.
Exact request bodies and responses remain in the interactive V2 API reference; focused Agent tools are listed under MCP tools.