Set motion graphic
set_motion_graphicPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Patch an existing motion graphic by id — window, params (merged into the current ones), template, layer, html or caption muting (mute_captions as in add_motion_graphic; the drawn box captions keep clear of is re-measured). Its owned sound cues move with it; sfx=true re-derives them, sfx=false removes them. A behind_subject graphic whose window changes is re-measured against its new footage. Every patch re-runs the face and safe-area keep-out (see add_motion_graphic): a y that would cover the face is moved and reported; allow_face_overlap=true keeps it (false clears that). A number graphic is re-landed on its spoken number like add_motion_graphic; the window, cut-snap, size, series, tier and Look checks re-run too (a word made tier='hero' goes behind the speaker unless layer is passed). Modify instead of removing and re-adding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| box | No | ||
| end | No | ||
| sfx | No | ||
| html | No | ||
| layer | No | ||
| start | No | ||
| params | No | Template parameters (see list_motion_templates). | |
| purpose | No | ||
| template | No | ||
| project_id | Yes | Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess. | |
| mute_captions | No | Omit (default): captions drop the words it shows; every other heard word stays captioned beside it. true = the same (no graphic mutes a whole window: every heard word reaches the screen once), muting only where no band is clear of it; false = captions keep running (a shown number/*starred* word is still not repeated). | |
| allow_face_overlap | No | Keep a deliberate placement over the face (skips the keep-out move). |