Generate Scene Frame
generate_scene_frameGenerate one actor-grounded narrative first frame from one to four existing LetMeActForYou actor_ids plus location, wardrobe, pose, and composition. Uses actor headshots as image references and returns a stored image_url. For multi-shot continuity, first generate a wide scene reference, then pass its scene_frame_id as continuity_scene_frame_id while specifying a fresh camera setup in composition and fresh blocking in pose for every shot. Pass only the actor_ids that should be visible in that shot. Pass composition_reference_url to preserve a Blender previs frame's camera and blocking while replacing proxy geometry with actors and the finished set. Defaults to Gemini; pass provider='grok' to use Grok Imagine. Use this before animation when a close-up headshot is not enough.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | No | Optional lighting or emotional tone. | |
| pose | No | Body pose, blocking, or pre-action moment to capture. | |
| model | No | Optional image model override, e.g. gemini-3.1-flash-image or grok-imagine-image-quality. | |
| location | Yes | Physical set or location for the narrative frame. | |
| provider | No | Image provider for actor-grounded frame generation. Use 'grok' to route to Grok Imagine; Grok supports up to 3 actor reference images. | gemini |
| wardrobe | No | Wardrobe direction for the actor(s), if different from their baseline identity. | |
| actor_ids | Yes | One to four actor ids from casting_roster, my_actors, or create_actor. The generated frame uses their headshots as identity references. | |
| composition | No | Camera framing and layout, e.g. wide two-shot, over-the-shoulder, low angle. | |
| aspect_ratio | No | Output canvas. Use 16:9 for landscape film/TV coverage. | 9:16 |
| composition_reference_url | No | Optional HTTPS image URL for a previs frame whose camera, blocking, subject scale, screen positions, and visible landmarks should be preserved. | |
| continuity_scene_frame_id | No | Optional scene_frame_id owned by the caller to use as a scene-continuity reference. It preserves set topology, fixed furniture, props, lighting motivation, and wardrobe, but pose and composition define a new camera setup and new actor blocking. Pass only the actors visible in this shot. |