Add required moment
add_momentOptional — except for uploaded videos. Adds a required moment: a scene the ad must contain; the script is written around it and the storyboard places it where it fits. Without moments the script and storyboard decide everything, which is fine. BUT an uploaded video only appears in the ad through a custom-footage moment — uploading it alone does nothing; give footage (its media_id and the range to play, muted). Types: product-shot (the product in frame, held or used by whoever you tag — their face shows), product-shot-faceless (the same, but the narrator shows only their hands — no face), b-roll (supporting footage: a place, object, mood), product-action (the product in motion, from its photos), talking-person (the narrator says dialogue to camera), custom-footage. Tag who's in frame in the description with @[Name] from get_project's cast (e.g. "@[Main Character] pours @[Glow Serum] into her palm"). Add moments before generate_script; the total must fit the script's length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| footage | No | custom-footage only: which clip and which part of it plays. | |
| project_id | Yes | The project's id. | |
| description | Yes | What happens, with @[Name] tags for who/what is in frame. | |
| text_overlay | No | On-screen text for this moment, in the project's spoken language. | |
| product_media_ids | No | Product photos the shot must feature (from get_project's `media`). |