Skip to content
Open CastalyConsole

Video

wan3.0-video API

Use the exact wan3.0-video model ID through Modelflare asynchronous video routing.

Use the exact model ID wan3.0-video. The model field must match this page exactly.

Use a Modelflare API key with https://modelflare.dev/v1. The gateway entry point is POST /v1/videos.

HTTP
Authorization: Bearer YOUR_MODELFLARE_API_KEY
Terminal windowbash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video",
"input": {"prompt": "A white cat runs through a neon-lit street in the rain, cinematic tracking shot"},
"parameters": {"resolution": "1080P", "duration": 5, "audio": true}
}'

Save the task ID. Poll GET /v1/videos/{task_id} and download with GET /v1/videos/{task_id}/content. Result URLs may expire, so transfer the file promptly.

Terminal windowbash
curl https://modelflare.dev/v1/videos/TASK_ID \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"

Wan commonly uses input and parameters; frame-guided and reference-media modes must not be mixed.

Wan3.0 uses input.prompt or input.media with output controls in parameters. Media may represent frames, references, audio, files, or webpages.

Field Required Notes
model Yes wan3.0-video
input.prompt Conditional Provide this or input.media
input.media[] Conditional first_frame, last_frame, reference_*, file, or link
parameters.resolution No 480P / 720P / 1080P
parameters.ratio No 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / adaptive
parameters.duration No Video duration in seconds
parameters.audio No Whether to generate synchronized audio
parameters.prompt_extend No Set false when this dedicated model contract requires it

Wan3.0 supports text, first/last frames, reference images/videos/audio, and file or webpage inputs. Output resolutions are 480P, 720P, and 1080P; the input.media type determines the workflow.

This page covers Modelflare model generation and editing calls. Search or map enrichment, voice management, and element-library management are resource APIs outside this public model-call surface and are not required request fields.

This model uses per-second video billing. See the model pricing page for the current customer price, reference list price, and complete specification.

Model ID Difference
wan3.0-video The model documented on this page.
wan3.0-video-nsfw NSFW variant. Same endpoint, request contract, and billing unit; only the model ID changes. See the pricing page for price and availability.