A genuinely unified public contract
Applications switch among text, frame control, references, documents, and web context with the same input fields on standard or Prime, while retaining one task endpoint, callback format, and billing account.
One Wan 3.0 Video API for text, frames, rich media, files, and web pages.
Wan 3.0 and Prime share one set of parameters for text-to-video, first/last-frame animation, multimodal references, documents, and public web pages. Choose a fixed or automatic duration through one asynchronous endpoint, with pre-charging, final settlement, callbacks, and a consistent task response.
Read the official model and pricing documentationModel capabilities
Use Wan 3.0 from the same platform surface as the rest of your video and image stack: API keys, credits, logs, webhooks, and docs stay consistent across providers.
Choose wan-3.0-video or wan-3.0-video-prime for text, a strict first frame, first and last frames, or multimodal references. Both use identical parameters; Prime costs 50% more per billable second.
Attach up to 10 images, five videos, and five audio files. Wan 3.0 preserves each media array's order so prompts can refer to Image 1, Video 1, or Audio 1 while combining visual identity, motion, and sound intent.
Use a supported public document URL or a login-free web page as source material. The model can interpret the content and turn it into a video brief without first converting every page into image references.
Choose an integer duration from 2 to 30 seconds, or -1 for automatic duration. Audio is enabled by default. Reference-video input plus output duration must remain within the 30-second total limit.
The API probes reference media before charging. Fixed durations bill requested output plus input video. Automatic duration pre-charges 30 total billable seconds and refunds only the unused difference after success. Successful tasks never receive failure refunds.
Write a prompt up to 20,000 characters or provide public HTTP(S) media. Frame mode stays separate from reference media, files, and web links, while file_url and link_url remain mutually exclusive.
Choose 2–30 seconds or automatic duration (-1), adaptive or a supported fixed ratio, and 480p, 720p, or 1080p. Both standard and Prime accept the same input parameters.
Submit the generation request directly. The platform detects reference-video duration before charging and applies the selected resolution rate.
Track the task through GET /v1/tasks/{taskId} or a callback URL. Wan 3.0 tasks run to a completed or failed terminal state and do not expose task cancellation.
curl -X POST https://api.aivideoapi.ai/v1/videos/generations -H "Authorization: Bearer sk-your-api-key" -H "Content-Type: application/json" -d '{
"model": "wan-3.0-video",
"callback_url": "https://your-server.com/webhook",
"input": {
"prompt": "Video 1 provides the camera move, Image 1 provides the product identity, and Audio 1 guides the soundtrack",
"image_urls": ["https://example.com/product.png"],
"video_urls": ["https://example.com/camera.mp4"],
"audio_urls": ["https://example.com/music.mp3"],
"resolution": "720p",
"aspect_ratio": "adaptive",
"duration": 5,
"audio": true
}
}'Why choose Wan 3.0
Applications switch among text, frame control, references, documents, and web context with the same input fields on standard or Prime, while retaining one task endpoint, callback format, and billing account.
Server-side duration detection runs during generation submission. A 4.5-second reference plus five seconds of 720p output produces a 228-credit charge.
The public contract accepts only public HTTP(S) URLs, enforces individual and combined media limits, and documents temporary 24-hour provider links so production systems know when to download or enable storage mirroring.
Frequently asked questions
Use POST /v1/videos/generations with model wan-3.0-video or wan-3.0-video-prime for text, first/last frames, multimodal references, documents, or public web pages, then receive an asynchronous task ID. Both versions accept the same parameters.
The documented tiers are 480p, 720p, and 1080p. The default is 1080p. This integration does not claim native 4K support because Alibaba's current Wan 3.0 API documentation lists only those three resolution tiers.
Standard rates at 480p/720p/1080p are 12/24/48 credits per second; Prime rates are 18/36/72. Fixed-duration reference requests bill input plus output seconds. Automatic duration pre-charges 30 total seconds, including input, and refunds the unused difference after success. If actual duration cannot be verified, the successful task retains its pre-charge for manual review.
A request supports up to 10 reference images, five reference videos, and five reference audio files. Each video or audio item must be 1–15 seconds and each category can total at most 15 seconds. Input video plus output video cannot exceed 30 seconds.
No. First/last-frame mode is mutually exclusive with reference images, videos, audio, file_url, and link_url. A last frame also requires a first frame, and file_url cannot be combined with link_url.
Alibaba's upstream result link is available for about 24 hours. Accounts with Bailian R2 mirroring enabled receive a stored copy; otherwise download the result promptly after the task completes.
Pricing and usage
60 credits for 5 seconds without input video
120 credits for 5 seconds without input video
240 credits for 5 seconds; default tier
Same parameters; 50% more per billable second
Includes input video; unused difference refunded after success
Both use the selected resolution rate
Create one API key, use one credit balance, and switch between video and image models without provider-specific plumbing.