generate_video_with_reference
Generate a video using up to 3 reference images (r2v — e.g. a consistent character/subject across the video). reference_images_base64: raw base64-encoded image bytes (no data: URI prefix), up to 3. Mutually exclusive with start-image (i2v) generation.
THIS IS THE RECOMMENDED WAY to get content that actually looks like a real person
from a real photo — confirmed live 2026-07-11: r2v conditions generation on the
reference photo's actual pixels and reliably preserves the real face, unlike the
character system's `generate_character_image`/`generate_character_turnaround`
(those condition on a TEXT description + a loosely-attached reference and were
confirmed to drift to an unrelated-looking person). For a still IMAGE rather than
video, use this and read `first_frame_path` off the result once done (via
check_job) — same-day testing found no reliable image-only equivalent: a plain
generate_image call with image_inputs pointed at an external photo was confirmed
to silently ignore the reference entirely.
project_id: put the clip into a project made with create_project instead of the
account's default one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspect | No | VIDEO_ASPECT_RATIO_LANDSCAPE | |
| prompt | Yes | ||
| project_id | No | ||
| include_preview | No | ||
| video_model_key | No | abra_r2v_4s | |
| reference_images_base64 | Yes |