create_shot_with_media
Create a shot with an image prompt in one call. Resolves tagged assets (characters, locations) to get descriptions and reference images, applies the prompt formula from edit settings, then either triggers generation immediately (if all reference images are ready) or queues for dependency-driven generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Image model ID (uses the edit default or Nano Banana Pro if not specified) | |
| order | No | Shot order within the scene (auto-appends to end if not provided) | |
| editId | Yes | The edit ID | |
| prompt | Yes | Image generation prompt (visual description ONLY). Use @tags for character/location references (e.g. "@John walks through @CityPark"). Never include dialogue, narration, or spoken text here because it may render visibly in the image. | |
| sceneId | Yes | The scene this shot belongs to | |
| dialogue | No | Visible on-screen character speech for this shot. Stored separately for intentional lip-sync/TTS use. Do not use for off-screen narration or captions. | |
| duration | No | Editorial shot duration in seconds. Five seconds is only a compatibility fallback. For planned edits, choose and pass the duration that fits this shot's narration or story beat. | |
| aspectRatio | No | Fallback aspect ratio only used if the edit has no aspectRatio. Shots normally inherit the edit aspect ratio. | |
| videoPrompt | No | Video/motion prompt describing camera movement and action for video generation. Include speech only when visible on-screen character lip-sync is intentionally required. Never include off-screen narration. | |
| workspaceId | Yes | The workspace ID | |
| taggedAssets | No | Assets to tag in this shot (characters, locations, props, styles) |