Edit a draft
autoshort_update_draftChange 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), seconds, speaker or voice (null = the narrator). insert: add scenes after scene N (0 = at the start). remove: scene numbers to drop. reorder: every current scene number in the new order. promptHandling switches "use my words exactly" on or off. Returns the updated draft — show it to the user again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draftId": "<draftId>"
},
"name": "autoshort_update_draft"
}
}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 | Frame of the rendered video: "9:16" vertical (default; Shorts/TikTok/Reels), "16:9" landscape (YouTube, film), "1:1" square. Images are generated in this shape and the video renders in it. 16:9 and 1:1 skip the automatic music bed and punch-in polish (vertical only). | |
| promptHandling | No | promptHandling: "assist" (default) or "as_written". "as_written" = Use my words exactly. If the model refuses a scene, it fails instead of being reworded. It applies to the picture text you wrote; scenes you wrote nothing for are still written by AutoShort, and the answer says which (writtenBy). A refused scene fails with the image model's reason and the credits for what was not made are refunded. | |
| 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. |