Give each clip one clear beat
For a short clip, choose an action that can play out in the time available. Describe the setting and camera, then spell out dialogue, ambient sound, and music, including when you want no music.seconds on enqueue to 5.875, 8, 10.125, 12.25, or 14.375. The model refuses other values. Give the action enough time to fit the length you choose.
Name image references
Upload onereference_image or up to three images in reference_images for real-time generation. The model accepts up to nine images when real-time speed is not required. Give each image a role in the prompt: a person, object, setting, or style. Use <Picture 1>, <Picture 2>, and so on in upload order, and name the details that matter for the clip.
<Subject 1> label helps tie later actions to the person in <Picture 1>. These angle-bracket labels are prompt text, not separate command parameters. A reference image guides appearance; by itself, it does not pin the clip’s first or last frame. The model may fit an image to a supported shape with black bars. Use set_canvas to choose the output aspect ratio.
Pin the first or last frame
Usefirst_frame_image to set the opening frame and last_frame_image to set the closing frame. These are separate keyframe inputs, not <Picture N> reference images. Include at least one ordinary reference_image or reference_images entry in the same enqueue request. Use the prompt to describe what happens between the keyframes.
For a continuation, continue_mode: "frame" takes the previous clip’s final frame as the new opening frame. You may add last_frame_image to choose its ending, but you cannot add first_frame_image because the continuation already supplies it. The default latent continuation carries motion, camera, and audio instead and accepts no keyframes. See the schema for enqueue examples.
Give audio references a role
Upload onereference_audio or up to three clips in reference_audios. Each clip must be 2 to 15 seconds long, in mono or stereo. A request with audio also needs an image reference or a retained continue_from_clip_id. A continued clip’s soundtrack takes one of the three audio slots, so you can upload at most two more.
Refer to uploads as <Audio 1>, <Audio 2>, and so on. Give each uploaded clip its own sentence saying whether it supplies a voice, background sound, or music, and connect a voice to the person who should use it. Without a stated role, the model may ignore the audio reference. The Sandbox offers Voice, Sound, and Soundtrack roles and adds the selected role to the prompt:
continue_from_clip_id and no new picture.
Continue a clip
Setcontinue_from_clip_id to an already generated clip from the same session and canvas. Give the next clip a new action, then name what should carry over: the person’s appearance, lighting, camera motion, and sound.
Keep prompts within the budget
The model checks the prompt and image references against the deployment’s text and presentation budgets. If a request exceeds either budget,enqueue returns command_error. The model does not trim the prompt for you; shorten it or remove references before retrying.