Skip to main content
A Project is a stateful creative workspace in Motion (also viewable in the browser via chat_url) where you prompt Motion to create and revise videos and images across one or more turns. Every project is built around four linked concepts:
  • Project (id) — Persistent workspace holding settings (effort, fast_mode, connectors, export_formats), transcript messages, saved generations, and export jobs.
  • Turn (turn_id) — One execution cycle started by POST /projects or POST /projects/{id}/messages (including any mid-run steering attached while that turn is running).
  • Generation (generation_id) — An immutable saved snapshot of the project’s authored compositions committed when a turn finalizes—no MP4 encode required. Ordered newest-first (generations[0] is the latest) and used as the stable input to Exports, Templates, and Social posting.
  • Composition (compositions[].id) — One individual video or image output inside a generation (for example c72e9f10-4b3a-4d8e-a123-567890abcdef:launch-film).
Required scopes: motion:projects:read to list or read projects, turns, and messages; motion:projects:write to create projects, send messages, or stop active work. (motion:sessions:read and motion:sessions:write remain accepted as aliases.)

Typical lifecycle

  1. Create: Call POST /projects with prompt and optional attachments, template_ids, brand_kit_ids, connectors, effort, fast_mode, and export_formats. Save project_id and turn_id.
  2. Poll (or steer): Poll GET /projects/{id} every 5–10 seconds until status is terminal (completed, failed, cancelled, awaiting_user_input, or awaiting_credits). While running, send steering via POST /projects/{id}/messages or cancel via POST /projects/{id}/stop.
  3. Use outputs: Once completed, read generations[0] for the saved generation_id, compositions[], and attribution sources[], and poll exports[] (or trigger on-demand renders via Exports).
  4. Iterate: Send follow-up edits with POST /projects/{id}/messages. Each finalized turn commits a new immutable generation while keeping earlier generations available for re-export or template creation.

The Project object

string
Unique UUID for the project. Pass as {id} on all project, turn, message, stop, and export endpoints.
string | null
Generated or user-set project title, or null before titled.
enum
Lifecycle state of the latest turn: queued, running, completed, failed, cancelled, awaiting_user_input, or awaiting_credits. completed means the agent finished authoring and committed a generation; linked exports may still be rendering asynchronously.
object | null
Live customer-facing progress for the current turn: stage (queued, starting, planning, gathering_media, authoring, reviewing, finalizing, rendering, completed), monotonic percent (0–100), and a sanitized one-line message.
string | null
UUID of the most recent turn on this project. Matches turn_id across messages[], generations[], exports[], and GET /projects/{id}/turns.
string | null
Actionable failure explanation when status is failed; null otherwise.
string
Motion web app URL to inspect, preview, or continue this project in the browser.
enum
standard (default, faster turnaround) or extended (deeper planning for complex briefs). Fixed at project creation.
boolean
Whether Fast mode is enabled (Pro and above). Set at creation or toggled between turns; changing mid-run returns 409.
object[] | null
Active connection scoping for the project. null uses workspace defaults; [] disables all connectors.
string[]
Automatic export formats dispatched by infrastructure as soon as an API turn finalizes a generation. Inherited by later API turns unless overridden; [] disables automatic exports.
object[]
Immutable saved project versions ordered newest-first (generations[0] is the latest). See The Generation object.
object[]
Export jobs created automatically or manually for this project. See Exports.
object[]
Conversation transcript ordered oldest-first (sequence_num ascending). Check messages_has_more and paginate with after_sequence, or filter to one turn with GET /projects/{id}/messages?turn_id=....

The Generation object

Think of a Generation like a Git commit for your video project: each finalized turn saves one immutable snapshot of the project’s authored compositions—without waiting for an MP4 encode—so you can pass its generation_id (or compositions[].id) directly to Exports, Templates, or Social posting.
string
Immutable generation UUID. Pass as generation_id to POST /templates or POST /social/posts.
string | null
UUID of the project turn that committed this generation. Matches messages[].turn_id, exports[].turn_id, and GET /projects/{id}/turns.
string
ISO-8601 timestamp when this generation snapshot was saved.
enum
Always "ready" once persisted on a project—indicating the editable source snapshot is ready for exports, templates, or social posting.
object[]
Editable video and image outputs included in this generation. Each entry contains id (pass to POST /projects/{id}/exports in composition_ids), kind (video or image), width, height, and duration_seconds (null for images).
object[]
Immutable media attribution records referenced by compositions in this generation, including composition_ids, source_kind (licensed_library, article, web_search, web, connector, upload, project, generated, unknown), provider, provider_asset_id, source_url, source_domain, media_type, title, credit, and rights_status.

Endpoints