autoshort_create_character_episode
Make the episode: 3-8 shots, 30-60 seconds, the same fictional character in every shot, narrated with captions. CHARGES credits. The series must have a REVIEWED, CONFIRMED season plan and the episode must be one of its episodes exactly as planned (SEASON_PLAN_REQUIRED / SEASON_NOT_REVIEWED / EPISODE_NOT_IN_PLAN otherwise, with a nextAction, nothing charged); the narrator voice, language, style, look and outfit come from the plan. ALWAYS call autoshort_quote_character_episode first and get the customer yes: this call refuses unless confirm is true and expectedCredits equals the quoted price (a changed price answers 409 and charges nothing). Credits are held when it starts. A shot that cannot be animated keeps a still image and its clip credits go back; if too few shots move, or anything else fails, everything goes back. Takes about 10-25 minutes: poll autoshort_get_video with arguments { id: <the returned id / videoId> } (or use a webhook); it reports status, stage and, when COMPLETED, videoUrl. Pass idempotencyKey so a retry never charges twice. One episode at a time per account, 3 per day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shots | No | Shots you write yourself (better pictures than the automatic split). Give `shots` OR `script`. | |
| title | No | Optional title. | |
| script | No | The narration, about 74-138 words. The system splits it into shots by sentence. Give `script` OR `shots`. | |
| confirm | Yes | Must be true: making an episode spends credits. | |
| sheetId | No | Omit it: the character sheet is the one the season plan names for this episode. If given it must equal that sheet. | |
| language | No | Omit it: the narration language is the season plan's. If given it must equal the plan's. | |
| seriesId | Yes | A series id from autoshort_list_series whose season plan is reviewed and confirmed. | |
| shotCount | No | With `script`: how many shots to split it into. Omit for an automatic count. | |
| resolution | No | Clip resolution. Default '480p'. '720p' costs more per second (see quote.pricePerResolution) and is only accepted when it is listed as available there; the quote and the create must use the same resolution. | |
| idempotencyKey | No | Retry-safe: a repeat with the same key returns the first answer (replayed: true) and charges nothing. | |
| expectedCredits | Yes | The credits the quote showed. Must match the current price. | |
| caption_secondary_language | No | Optional second caption line: a translated line under the caption, in this language code such as 'vi' or 'en'. 'none' for no second line. Omit to follow the series, then the account default (off unless set). No extra charge. |