What Is Reference to Video? Identity Pictures Explained
Reference to video in plain words: pictures as identity rather than frames, which models take them, how many, and how to prompt with them.
Updated 5 min read
Reference to video is a way of making a clip from a prompt and a few pictures that show who or what must appear in it: a person, a product, a place. The pictures are not frames. The clip does not open on them; the model keeps what they show and builds a new scene around it, from the prompt. On Frameport it is one field on a video request, "reference_mode": "identity", on models such as Seedance 2.0, Seedance 2.5, Frameport Motion 1, Wan 3.0 and Hailuo 3.
This page explains the difference with frames, which models take references and how many, and how to write the prompt.
Reference to video vs image to video: frames and references
A picture sent with a video request does one of two jobs:
| A frame (image to video) | A reference (reference to video) | |
|---|---|---|
| What the picture is | The first frame, and optionally the last | Who or what to keep: a face, an outfit, a product, a place |
| What the clip shows | That exact picture, then motion from it | A new scene, composed by the model, with the subject in it |
| How many | One first frame, one last frame | Up to the model's limit, several at once |
| The fields | reference_images with one picture, end_image | reference_images with "reference_mode": "identity" |
| What the prompt says | Only the motion, the camera and the sound | The scene, the action, the camera and the sound |
Frame mode is the default. Sent without identity mode, a second picture is refused with 400 invalid_request before anything is held, since a clip has one first frame. The two modes do not mix: identity pictures replace the first frame rather than add to it, and end_image is refused with them. The image to video API guide covers frames, and the first and last frame guide the clips that land on a chosen picture.
Pick by what must stay fixed. When the composition matters, a frame. When the subject matters and the shot can be new each time, references: a character in several scenes, a product in several settings, the same two people in a series of clips.
Which models take references
| Model | Reference pictures | Resolutions with references | Lengths |
|---|---|---|---|
| Seedance 2.5 | Up to 4 | 480p and 720p | 4 to 30 seconds |
| Seedance 2.0 | Up to 4 | 480p, 720p, 1080p and 4K | 4 to 15 seconds |
| Seedance 2.0 Fast | Up to 4 | 480p and 720p | 4 to 15 seconds |
| Seedance 2.0 Mini | Up to 4 | 480p and 720p | 4 to 15 seconds |
| Frameport Motion 1 | Up to 4 | 768p and 1080p | 5 to 15 seconds |
| Veo 3.1 | Up to 3 | 720p, 1080p and 4K | 4, 6 or 8 seconds |
| Veo 3.1 Fast | Up to 3 | 720p, 1080p and 4K | 4, 6 or 8 seconds |
| Hailuo 3 | Up to 3, each with a fee | 2K | 5 to 15 seconds |
| Wan 3.0 | Up to 3 | 480p, 720p and 1080p | 2 to 30 seconds |
Veo 3.1 Lite, Hailuo 3 Max, Runway Gen-4.5 and Grok Imagine take a picture only as a first frame. The catalog says the same in code: options.max_reference_images in GET /v1/models is how many pictures a model takes as references, and options.identity_resolutions lists the resolutions it renders them at, where they are fewer than its own. That is why Frameport Motion 1, which renders up to 2K from a prompt, takes references at 768p and 1080p only.
Third-party models apply their makers' policies, and some may refuse realistic faces as references, even of invented people; a refused request costs nothing. On Frameport Motion 1, our own engine, the acceptable use policy is the rule: invented characters, or real people who agreed, and never anything involving minors.
How many reference pictures to send
The API takes up to four pictures in reference_images, and each model up to its own number in the table. A request with more than the model takes is refused before anything is held, and the message says the limit. Within it:
- One subject per picture. A well-lit face, the full outfit, the product on a plain background, the place without people in front of it.
- Spend the pictures on what must not change. Two people and a product fill three slots; a second angle of a face is worth a slot only when nothing else needs it. The Studio's Character sheet app draws front, side and back views in one picture, which counts as one reference.
- The price. On most models the pictures do not change the price of the clip. Hailuo 3 adds a fee for each one, shown on its model page and in the quote's
breakdown. Send the body toPOST /v1/generations/quoteto see the exact price first.
Prompting with references
The pictures already show what everyone looks like, so the prompt spends its words on what they do. Name each picture by its place in the list, and order the list the way the prompt mentions them:
- "The woman from the first picture rides the bicycle from the second picture through a market at dawn, tracking shot beside her, bells and chatter."
- "The man from the first picture and the woman from the second sit across a café table, the camera slowly circling them, rain on the window."
- "The perfume bottle from the first picture stands on wet black rocks at the edge of the sea, waves breaking behind it, slow push-in."
Describe what the pictures do not show: the setting, the action, the light, the camera, the sound. Do not describe the subject differently from the picture: "a woman with red hair" next to a picture of brown hair gives the model two answers. Consistent character AI video builds a whole series this way, and storyboard to video mixes frames and references across a cut.
Reference to video in Python
This script asks the catalog how many pictures the model takes and at which resolutions, then sends the request and waits for the clip:
import os
import time
import requests
API = "https://frameport.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['FRAMEPORT_API_KEY']}"}
MODEL = "seedance-2-0"
PICTURES = ["https://example.com/mara.jpg", "https://example.com/bicycle.jpg"]
RESOLUTION = "720p"
# 1. How many references does the model take, and at which resolutions?
options = requests.get(f"{API}/models/{MODEL}", timeout=30).json()["options"]
limit = options.get("max_reference_images", 0)
if len(PICTURES) > limit:
raise SystemExit(f"{MODEL} takes {limit} reference pictures, not {len(PICTURES)}")
allowed = options.get("identity_resolutions") or options["resolutions"]
if RESOLUTION not in allowed:
raise SystemExit(f"{MODEL} renders references at {', '.join(allowed)}")
# 2. The pictures say who and what; the prompt says what happens
gen = requests.post(f"{API}/videos/generations", headers=HEADERS, timeout=60, json={
"model": MODEL,
"prompt": "The woman from the first picture rides the bicycle from the second picture "
"through a market at dawn, tracking shot beside her, bells and chatter",
"reference_images": PICTURES,
"reference_mode": "identity",
"duration": 8,
"resolution": RESOLUTION,
"aspect_ratio": "16:9",
}).json()
if gen.get("error"):
raise SystemExit(f"{gen['error']['code']}: {gen['error']['message']}")
# 3. Poll until the clip settles
while gen["status"] in ("queued", "running"):
time.sleep(5)
gen = requests.get(f"{API}/generations/{gen['id']}", headers=HEADERS, timeout=30).json()
if gen["status"] == "failed":
raise SystemExit(f"failed, nothing charged: {gen['error']['message']}")
print(gen["outputs"][0]["url"], gen["cost_usd"])Pictures can be https URLs, uploads (upl_…) for files on your disk, or file_… ids of images you generated, so a character drawn with an image model goes straight into the clip. The videos reference has the same body in short. To try it without code, open Seedance 2.0 in the Studio and attach the pictures in References mode.
FAQ
What is reference to video?
A video model making a clip from a prompt and pictures that show who or what must appear in it. The pictures are not frames: the model keeps the people, products or places they show and builds a new scene around them.
What is the difference between reference to video and image to video?
Image to video starts the clip on your picture, as its first frame, so the clip shows that exact composition. Reference to video keeps the subject of your pictures and composes a new shot, so the same character or product can appear in any setting.
Which AI video models support reference to video?
Seedance 2.5, Seedance 2.0, Frameport Motion 1, Veo 3.1, Hailuo 3 and Wan 3.0, among others, each with its own limit on pictures. options.max_reference_images in GET /v1/models says it for every model.
Can I use a reference video instead of pictures?
Not as a reference: references here are pictures. To put a person into a clip you already have, with its moves and its sound, use Frameport Replace 1 on that clip, as the character swap guide shows.
Can I combine reference pictures with a first or last frame?
No. Identity pictures take the place of the first frame, and end_image is refused with them. Pick frames when the composition must be exact, references when the subject must stay the same.