Qwen

wan

Video API

Wan API brings multiple AI video workflows into one production path, including text-to-video, image-to-video, video-to-video, video editing, animation, and reference-to-video generation.

Use Wan 2.7 for high-quality 720p and 1080p generation, then switch between text, image, video, and reference modes based on the exact input your product or campaign needs.

Model Type:
Pricing

Lowest cost starts at $0.08/s

Selected model
Wan 2.7 Text to Video

720p: 16 credits/s - Text to Video - Output seconds × 16

1080p: 24 credits/s - Text to Video - Output seconds × 24

720p: 20 credits/s - Text to Video - Output seconds × 20

1080p: 30 credits/s - Text to Video - Output seconds × 30

USD estimates use $0.005/credit with the best annual plan. Final billing follows the selected Wan model, resolution, duration, and input type.

New tasks appear here after you submit.
API Input

Core request fields

Use model-specific payloads for prompt, source media, resolution, aspect ratio, duration, callback, and generation options.

Request JSON
{
  "model": "wan/2-7-text-to-video",
  "input": {
    "prompt": "A futuristic city street at night, neon reflections shimmering on the wet ground. The camera slowly pushes forward as a silver hover car glides in from the left. Giant holographic billboards flicker in the distance, creating a cinematic atmosphere.",
    "negative_prompt": "blurry, low quality, flicker, distorted characters",
    "audio_url": "https://your-domain.com/audio/custom-track.mp3",
    "resolution": "1080p",
    "ratio": "16:9",
    "duration": 5,
    "prompt_extend": true,
    "watermark": false,
    "seed": 123456
  }
}

Use Wan 2.7 Text to Video for generation

The playground, request sample, request fields, and pricing on this page follow the selected model type.

View detailed API docs

Open the full API documentation for endpoints, authentication, task polling, and payload details. /models/wan.md

promptstringPositive prompt. Minimum length: 1 character. Maximum length: 5000 characters.
negative_promptstringNegative prompt. Maximum length: 500 characters.
audio_urlstringOptional custom audio URL.
resolutionenumVideo resolution. (720p, 1080p)
ratioenumVideo aspect ratio. (16:9, 9:16, 1:1, 4:3, 3:4)
durationnumberVideo duration in seconds.
prompt_extendbooleanWhether to enable intelligent prompt rewriting. Default value: `true`.
watermarkbooleanWhether to add an AI-generated watermark. Default value: `false`.
seednumberRandom seed.
nsfw_checkerbooleanDefaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself.
Capabilities

What Wan API adds to your video workflow

The page follows the same API-first structure as the reference: test a Wan model, understand the fields, then move into integration.

Text-to-video generation

Turn prompts into cinematic clips with controllable resolution, aspect ratio, duration, negative prompt, seed, and prompt extension options.

Image-to-video motion

Animate still images into short videos while preserving subject context, composition, and visual style.

Video editing workflows

Use source clips and reference images to change outfits, objects, style, or motion while keeping the surrounding scene coherent.

Reference-to-video control

Combine reference images, videos, first frames, and voice inputs to guide characters, motion, timing, and scene layout.

Quick Start

From Wan playground test to production request

A compact path for teams that want to validate Wan output before connecting generation to an app or content pipeline.

1. Choose a Wan mode

Select text-to-video, image-to-video, video edit, reference-to-video, or an older Wan workflow that matches your source input.

2. Submit generation

Call the API with your account key, model ID, prompt, media URLs, resolution, duration, aspect ratio, and callback settings.

3. Poll and use

Track the task until it succeeds, then retrieve the generated video URL for your app, campaign, or automation.

Use Cases

What you can create with Wan API

Use the API when your product needs repeatable AI video output across several input styles, not just a one-off generation.

Prompt-based social clips and short ads
Product image animation and hero videos
Reference-driven character and scene videos
Video edits for outfits, props, and visual style
Video-to-video transformation workflows
Batch creative generation for content pipelines
Production Notes

Built for real Wan API workflows

Account-gated execution

Users sign in, submit jobs, and consume credits through the existing SdanceAI generation flow.

Flexible source media

Wan workflows can accept prompt-only requests or media-driven requests with images, videos, first frames, references, and audio where supported.

Resolution-aware cost

Choose 720p for iteration and 1080p when a selected concept is ready for a sharper final render.

FAQ

Wan API questions

What is Wan API best for?

It is best for teams that need several AI video workflows in one integration, including text-to-video, image-to-video, video editing, video-to-video, animation, and reference-guided generation.

Which Wan models are available on this page?

The page follows the configured Wan family, including Wan 2.7 text-to-video, image-to-video, video edit, reference-to-video, Wan 2.6 workflows, Wan 2.5 workflows, and Wan 2.2 animation modes.

What is the difference between text-to-video and image-to-video?

Text-to-video starts from a prompt only. Image-to-video uses a source image so the generated clip can preserve the subject, framing, or visual style from the input.

When should I use Wan 2.7 Reference to Video?

Use Reference to Video when you need tighter control from reference images, reference videos, first frames, or voice input rather than relying only on a written prompt.

Does Wan API support 1080p output?

Wan 2.7 entries on this page include 720p and 1080p pricing rows. Choose the resolution that matches your quality and cost target.

Can I edit an existing video?

Yes. Use Wan 2.7 Video Edit or another video-input workflow when you want to modify a source clip with prompts and references.

Can I use negative prompts?

Supported Wan request schemas include negative prompt fields for reducing blur, distortion, low quality output, and other unwanted details.

Where can I test Wan before integrating?

Use the playground on this page to test the model, prompt, media URLs, resolution, duration, and API payload behavior before moving into production.

How should I manage cost?

Start with lower resolution and shorter clips for prompt exploration, then switch to 1080p or longer durations only after the direction is validated.

Can I use Wan API for commercial projects?

This page is configured for production video workflows. For commercial use, review your account plan, credit balance, model availability, and applicable content policy requirements.

Start building

Turn Wan into your video workflow

Open the generator, test a Wan prompt or reference workflow, then use the API docs when you are ready to connect Wan to production.

API-ready
workflow
720p-1080p
resolution
Multi-input
control