autoshort_update_draft
Change a draft before render. Free. Every scene number refers to the draft as it is now (1-based); operations apply in the order edits, reorder, remove, insert. edits: change a scene's narration (verbatim), visual (null clears it → auto image) or seconds. insert: add scenes after scene N (0 = at the start). remove: scene numbers to drop. reorder: every current scene number in the new order. Returns the updated draft — show it to the user again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | No | ||
| title | No | Headline shown over the first 1.5s and used as the video title. Defaults to the first sentence. | |
| insert | No | ||
| remove | No | ||
| draftId | Yes | ||
| reorder | No | ||
| artStyle | No | Visual style; see autoshort_list_niches. Default AUTOSHORTS (cinematic photography). | |
| language | No | BCP-47 narration language ("en", "vi", …). Omit to detect it from the narration. | |
| aspectRatio | No | ||
| targetDuration | No | Requested length in seconds. Kept as requested — if the verbatim narration cannot fit it, warnings[] says so with a word count that would. |