Skip to content

Wan VACE Long Reframe

Changes the frame shape of a video, filling the new area.

Model ID wan-vace-long-reframe
Task reframe-video
Output video
Family Wan
Status Active

Prices are live, so this page does not show them. GET /v1/models/wan-vace-long-reframe 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.

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-vace-long-reframe.

Name Type Default Allowed Required Description
aspect_ratio string 9:16 16:9, 1:1, 9:16 No The new frame shape. The edges are generated to fill it.
resolution string 720p 480p, 580p, 720p No Output resolution. Higher resolutions cost more.
prompt string Up to 1000 characters No Optional. What should appear in the areas the reframe adds.
zoom number 0 0 to 0.9, in steps of 0.05 No Crop into the source before reframing, as a share of the canvas. 0 keeps the whole source.
seed integer 0 0 to 2147483647 No The same seed with the same settings gives a similar result. Omit it for a random seed.

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
source video 1 Yes

Price the request first. A quote is free and starts nothing:

Quote
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-vace-long-reframe",
"input": {
"aspect_ratio": "9:16",
"prompt": "Keep the ball in the centre of the frame",
"source": "https://docs.halationlab.ai/media/sample-video.mp4"
}
}
JSON

Then 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:

Generate
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-vace-long-reframe",
"input": {
"aspect_ratio": "9:16",
"prompt": "Keep the ball in the centre of the frame",
"source": "https://docs.halationlab.ai/media/sample-video.mp4"
},
"max_cost": $MAX_COST
}
JSON

The media URLs point at small sample files on this site. Replace them with your own asset IDs, generation IDs or URLs.