Wan 3.0 references
Generates a video that follows reference images or clips.
| Model ID | wan-3.0-references |
| Task | reference-to-video |
| Output | video |
| Family | Wan |
| Status | Active |
Prices are live, so this page does not show them. GET /v1/models/wan-3.0-references returns the published price (price), and POST /v1/quotes returns the binding maximum for one request, with the processor that will run it. You are never charged more than the quoted maximum, and failed work is free. See Pricing and quotes.
Parameters
Section titled “Parameters”Send these in input. Omitted parameters take their default; unknown parameters are refused with 422 parameter_unknown. The same schema is input_schema in GET /v1/models/wan-3.0-references.
| Name | Type | Default | Allowed | Required | Description |
|---|---|---|---|---|---|
prompt |
string | 1 to 20000 characters | Yes | Describe the video. Refer to the references as [Image1], [Video1] and so on. | |
duration |
integer or “auto” | 5 |
2 to 30 | No | Length of the video. Longer videos cost more. |
aspect_ratio |
string | auto |
auto, 16:9, 9:16, 1:1, 4:3, 3:4 |
No | Frame shape. |
resolution |
string | 720p |
480p, 720p, 1080p |
No | Output resolution. Higher resolutions cost more. |
audio |
boolean | true |
No | Sound made with the video. The price is the same with or without audio. | |
seed |
integer | 0 |
0 to 2147483647 | No | The same seed with the same settings gives a similar result. Omit it for a random seed. |
prompt_expansion |
boolean | false |
No | Let the model rewrite the prompt for detail. Off runs your prompt as written. | |
thinking |
boolean | false |
No | The model reasons about the prompt first. Slower; the price is the same. |
Media inputs
Section titled “Media inputs”Each media input takes an asset ID (asset_…), a generation ID (gen_…, its first output), a public HTTPS URL or a small data: URI. URLs and data URIs are imported into the project first; see Uploading media.
| Name | Accepts | How many | Required | Notes |
|---|---|---|---|---|
references |
image | 0 to 10 | No | |
reference_videos |
video | 0 to 5 | No | Reference videos of 15 seconds in total, at least 16 fps. Their seconds are charged as well as the output. |
Example
Section titled “Example”Price the request first. A quote is free and starts nothing:
curl https://api.halationlab.ai/v1/quotes \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d @- <<'JSON'{ "model": "wan-3.0-references", "input": { "prompt": "The red ball from the reference bounces on a wooden table, slow motion", "duration": 5, "aspect_ratio": "auto" }}JSONThen start it, paying at most MAX_COST tokens. If the price is higher, nothing starts and the 402 max_cost_exceeded answer carries the quote:
MAX_COST=${MAX_COST:?Set MAX_COST to the most you will pay, in tokens}curl https://api.halationlab.ai/v1/generations \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Prefer: wait=60" \ -H "Content-Type: application/json" \ -d @- <<JSON{ "model": "wan-3.0-references", "input": { "prompt": "The red ball from the reference bounces on a wooden table, slow motion", "duration": 5, "aspect_ratio": "auto" }, "max_cost": $MAX_COST}JSON