Video
wan2.7-t2v API
Use the exact wan2.7-t2v model ID through Modelflare asynchronous video routing.
Use the exact model ID wan2.7-t2v. The model field must match this page exactly.
Authentication and endpoint
Section titled “Authentication and endpoint”Use a Modelflare API key with https://modelflare.dev/v1. The gateway entry point is POST /v1/videos.
Authorization: Bearer YOUR_MODELFLARE_API_KEYCreate a task
Section titled “Create a task”curl https://modelflare.dev/v1/videos \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "wan2.7-t2v", "input": {"prompt": "A white cat runs through a neon-lit street in the rain, cinematic tracking shot"}, "parameters": {"resolution": "1080P", "duration": 5, "prompt_extend": false} }'Poll and download
Section titled “Poll and download”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.
curl https://modelflare.dev/v1/videos/TASK_ID \ -H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"Request notes
Section titled “Request notes”Wan commonly uses input and parameters; frame-guided and reference-media modes must not be mixed.
Request parameters
Section titled “Request parameters”Wan2.7 T2V centers on input.prompt and optionally accepts input.audio_url. Describe shot changes in the prompt; do not send shot_type.
| Field | Required | Notes |
|---|---|---|
model |
Yes | wan2.7-t2v |
input.prompt |
Yes | Use the limit documented on the official page |
input.negative_prompt |
No | Negative prompt |
input.audio_url |
No | Public WAV/MP3; omit to let the model generate audio |
parameters.resolution |
No | 720P / 1080P |
parameters.ratio |
No | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 |
parameters.duration |
No | Video duration in seconds |
parameters.prompt_extend |
No | Set false when this dedicated model contract requires it |
Input and output limits
Section titled “Input and output limits”T2V outputs 720P or 1080P for 2–15 seconds. Omit input.audio_url to generate synchronized audio; a supplied WAV/MP3 is trimmed or leaves silence to match the requested duration. Describe multi-shot timing in the prompt and do not send shot_type.
Supported scope
Section titled “Supported scope”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.
Pricing and billing
Section titled “Pricing and billing”This model uses per-second video billing. See the model pricing page for the current customer price, reference list price, and complete specification.
Variants
Section titled “Variants”| Model ID | Difference |
|---|---|
wan2.7-t2v |
The model documented on this page. |
wan2.7-t2v-nsfw |
NSFW variant. Same endpoint, request contract, and billing unit; only the model ID changes. See the pricing page for price and availability. |