enqueue_generate_poster
Generate or edit the movie poster using a user-supplied prompt. Use when the user gives explicit creative direction for the poster ("make the poster more noir", "redo it with a Tokyo skyline", "poster with a single silhouette"). Two modes: mode: "generate" (default — prompt-only via Grok Imagine) and mode: "edit" (Flux 2 Max edit — uses the existing poster + optional reference images as visual seeds). Costs the user image-model credits, taken up front; a poster that fails says what became of its credits (plan credits refunded after the plan ended end with it). For automatic cover generation without a custom prompt prefer enqueue_generate_cover.
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>",
"prompt": "<prompt>"
},
"name": "enqueue_generate_poster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | `generate` (default) creates a fresh poster from prompt only. `edit` uses the existing poster + optional reference images as visual seeds; pick this when the user says "tweak", "modify", or "use the existing poster". | |
| prompt | Yes | Required. The user's instructions for the poster. Pass through verbatim or lightly cleaned. | |
| modelId | No | Optional override of the image model. Defaults to `fal-ai/flux-2-max/edit` for edit mode and `xai/grok-imagine-image/v2.0/text-to-image` for generate mode. | |
| movieId | Yes | The movie id (uuid) this call operates on. Get it from create_movie or list_movies. |