enqueue_generate_shot_image
Generate or regenerate the image for one or more shots. Covers BOTH first-time generation (shots with no image yet) AND regeneration of existing shot images. Use whenever the user is asking about per-shot images, including: "generate the first shot of every scene", "render the start image for each scene's opening shot", "generate every shot image for scene 4", "redo shot 3 of scene 2", "rerender the close-up of Irina", "the bartender shot looks wrong, redo it". Pass shotIds (resolve via list_shots / find_entity — group by scene_id and take the lowest shot_order per scene for first-shot patterns). replace: false for first-time generation (default in the schema); replace: true when regenerating so the UI shows Processing instead of the stale frame. modelId is optional — defaults to the user's Settings → Image (Studio) preference. Each shot costs image-model credits, taken up front; a shot whose image fails says what became of its credits (plan credits refunded after the plan ended end with it). Submission is asynchronous: the runner queues each shot to FAL and the webhook persists the result.
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": {
"movieId": "<movieId>",
"shotIds": "<shotIds>"
},
"name": "enqueue_generate_shot_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | No | Optional override of the image model. Defaults to the user's Settings preference. | |
| movieId | Yes | The movie id (uuid) this call operates on. Get it from create_movie or list_movies. | |
| replace | No | Clear existing image_url + storage_path on the targeted shots before submission so the UI shows a Processing state instead of the stale frame. Defaults to true. | |
| retryOf | No | Only when this RE-RUNS a job that failed or was cancelled (the user asks to try again or retry it): that job's id, from list_running_jobs (recentlyEnded). Only what that run did not finish is made and charged. Leave it out for anything the user asks for anew, even the same thing again: then every target gets a new picture. | |
| shotIds | Yes | Required. List of shot ids to regenerate. Resolve via list_shots / find_entity. | |
| newRequest | No | Only after this tool answered needsChoice (the same request failed within the hour) and the user wants NEW pictures for all of them anyway (not a retry): set true. Never together with retryOf. | |
| useContinuityRef | No | Whether to seed the new image with the previous shot's last frame for visual continuity. Defaults to true. Set false only when the user explicitly wants a clean reroll. |