Regenerate one story frame
regenerate_story_frameRedraws ONE scene's opening picture of an episode parked at frames review (story.stage: "frames_review"), from the scene's own text, cast and continuity references. There is no prompt argument. WHEN: the user dislikes THE PICTURE itself (hands, framing, a face that came out wrong, a failed lane). scene_index is that frame's zero-based scene_index in get_video's story.frames. If what HAPPENS in the scene is wrong, a redraw only buys another picture of the same rejected beat: use change_story_scene. AFTER: returns image_id (status generating) and a report to RELAY as written (redrawn from the existing text; what happens, who is in frame and the spoken lines are unchanged). This call opens its own card with the scene marked as redrawing: no show_generation, no narrating the wait; poll get_video only to see the outcome (the lane's regenerate entry; the frame's url is then the new image). A failed redraw keeps the old frame. CHECK attached: false means the image is charged but will NOT replace the frame at fire: say so and redraw again before firing. cast_member_ids only when the user asks who is in the frame. COST: one standard image at the series' RESOLVED start-frame model (not the model the episode was created with, and not the discounted create rate): pricing.frame_regen_tokens on the series' full list_series entry (the series_id call), or estimate_only when null. State it every time: a standing go does not cover a redraw. THE GO THIS ONE NEEDS: one redraw, one named scene, one priced ask. A complaint ('scene 3 looks off') is a reason to OFFER it, never a go; never redraw more scenes than named. A redraw is not firing. SPENDS TOKENS: price with estimate_only: true, ask in the SAME message as the price, and wait for a go that names THIS purchase (SPENDING RULES, this server's instructions). IDEMPOTENCY: a reused idempotency_key REPLAYS the first job whatever the settings: never reuse one for a new generation (this server's instructions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | The episode's job id from `generate_story_video`. | |
| scene_index | Yes | The zero-based scene index exactly as `get_video`'s `story.frames` lists it (users count from ONE: 'redraw scene 2' is the SECOND frame). | |
| estimate_only | No | Price only; creates nothing. | |
| cast_member_ids | No | Cast member library ids for this redraw. Omit for the scene's own cast; `[]` for no characters. | |
| idempotency_key | No | Retry-safety key (IDEMPOTENCY). |