Models · Video
Wan 2.6 API
Was this page helpful?
Wan 2.6 is good for generating short video shots when you need its listed duration, resolution, and framing options.
Pricing
Default example: 5-second video at 1080p costs 83 credits, or $1.62 at the shared USD reference.
| Resolution | Unit | Credits | USD |
|---|---|---|---|
| 720p | Per second | 10 cr | $0.20 |
| 1080p | Per second | 16.6 cr | $0.32 |
Accepted inputs
- Kind
- video
- Durations
- 5s, 10s, 15s
- Resolutions
- 720p, 1080p
- Aspect ratios
- 16:9, 9:16, 1:1, 4:3, 3:4
- Defaults
- 5s · 1080p · 16:9
Sample request
The request uses the current default settings for this model and the public GenerateMediaRequest schema.
curl -X POST "https://reviral.ai/api/v1/generate-media" \
-H "Authorization: Bearer $REVIRAL_API_KEY" \
-H "Idempotency-Key: first-video" \
-H "Content-Type: application/json" \
--data '{"model":"wan-2.6","prompt":"A slow camera move across a quiet lake at sunrise","durationSec":5,"resolution":"1080p","aspectRatio":"16:9","maxCredits":83}'Response and output
Accepted job
{
"data": {
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"kind": "video",
"model": "wan-2.6",
"creditsCharged": 83,
"status": "queued",
"statusUrl": "/api/v1/jobs/550e8400-e29b-41d4-a716-446655440000"
}
}Ready job
{
"data": {
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"kind": "video",
"model": "wan-2.6",
"creditsCharged": 83,
"status": "ready",
"statusUrl": "/api/v1/jobs/550e8400-e29b-41d4-a716-446655440000",
"outputUrl": "https://reviral.ai/signed-output",
"durationSec": 5
}
}Error cases
404 model_not_available: the ID is no longer in the live catalog.409 price_changed: the current cost differs frommaxCredits.422 validation_error: duration, resolution, aspect ratio, size, or count is not accepted.429 rate_limit_exceeded: wait forRetry-Afterbefore retrying.
Frequently asked questions
- How much does the Wan 2.6 API cost?
- The default 5-second video at 1080p costs 83 credits, about $1.62 at the shared USD reference. Read the live models endpoint before submitting.
- Which inputs does Wan 2.6 accept?
- It accepts a prompt plus the listed durations, resolutions, and aspect ratios. Reference inputs are not available through this v1 endpoint.
- How do I retrieve Wan 2.6 output?
- Poll the returned status URL until the job is ready, then download the signed output URL or URLs before they expire.