Write a video with the AI director
plan_videoWrite a short vertical video with the iDos Games video studio's AI director: an idea becomes a VideoSpec (format, scene, characters, lines with emotions and actions, captions) built from the studio library, plus the plan — for each element whether the library fits or an AI asset should be generated (next lists the generate_asset calls: pass them the returned package and the item's slot, and the asset takes its place). Refs outside the library are replaced with the closest library asset (listed in repaired), the cast is fitted to the format. Costs one text generation of the publisher's credits (see estimate_media_cost, modality text). If it is not ready in about two minutes the answer carries the generation id — call plan_video again with generation_id to finish it without paying twice. The answer is a video PACKAGE ({ spec, assets }) and, when title_id names a game with the video studio, a link that opens it in that app's editor — the player watches, edits and exports the MP4 on the device (there is no server render). Formats and assets: list_video_formats, search_assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cast | No | How many characters (optional — the format decides). | |
| idea | Yes | What the video is about, in any language (≤ 600 characters). | |
| mode | No | unique (default) — the plan may ask for AI assets; quick — library only, AI items dropped. | |
| style | No | Style family of the studio library, e.g. voxel-warm or chibi-2d (default voxel-warm). | |
| format | Yes | Format id from list_video_formats, e.g. dialogue@1, story@1, top5@1, quiz@1, whatif@1. | |
| language | No | Language of the lines in words, e.g. English or Russian (default English). | |
| title_id | No | Which game this is for — a label for the report, optional (credits are the publisher's). | |
| generation_id | No | Finish a plan whose generation was still running (optional; no new charge). |