Wan 3.0 Spicy API
Wan 3.0 Spicy is Alibaba's Wan 3.0 served on a route with relaxed moderation. The model is the same as Wan 3.0 Video: text-to-video, first-frame and first+last-frame image-to-video, and omni-reference generation from up to 10 reference images, 5 reference video clips and 5 audio clips. Output is a native single shot up to 30 seconds at 30fps with a synced audio track, and standard and prime share one model name. Billing is per second from $0.06. Compared with Wan 3.0 Video, moderation is looser, there is no document or web-page input, there is a single route with no automatic fallback, and the rate is higher. It runs on the unified video endpoint with the same request shape as Wan 3.0 Video, so moving between the two changes only the model field.
Pricing (per second)
Billed per second. Without a reference video you pay for output seconds; with a reference video you pay for INPUT video duration + OUTPUT duration. Reference images and audio cost nothing extra, and switching the audio track off does not change the price.
| Tier / resolution | Rate | 5s | 10s | 30s |
|---|---|---|---|---|
| standard · 480P | $0.06/s | $0.30 | $0.60 | $1.80 |
| standard · 720P | $0.12/s | $0.60 | $1.20 | $3.60 |
| standard · 1080P | $0.24/s | $1.20 | $2.40 | $7.20 |
| prime · 480P | $0.096/s | $0.48 | $0.96 | $2.88 |
| prime · 720P | $0.196/s | $0.98 | $1.96 | $5.88 |
| prime · 1080P | $0.392/s | $1.96 | $3.92 | $11.76 |
- Cost = rate × billable seconds. A 10-second 1080p clip without a reference video is $2.40; add a 10-second reference video and it bills as 20 seconds, $4.80.
- With duration: -1 (smart duration) we hold the 30-second worst case, then charge the real output length once it is known and refund the difference.
- Failed tasks are not billed, including tasks refused by moderation.
How it differs from Wan 3.0 Video
| wan-3.0-spicy | wan-3.0-video | |
|---|---|---|
| Moderation | Relaxed | Upstream default |
| Document / web-page input | Not accepted (400) | Supported |
| Routes | One, no automatic fallback | Primary plus automatic fallback |
| Standard 480P | $0.06/s | $0.045/s |
| Everything else | Identical: text, first/last frame, omni reference, 30-second shots with audio, standard and prime tiers | |
Start on Wan 3.0 Video and switch to wan-3.0-spicy when its moderation refuses your prompt or references — the request body changes by one field, model.
Create a task
POST /api/v1/video/generations — async: create, then poll the same endpoint for the result.
# Step 1: Create task (text-to-video)
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3.0-spicy",
"prompt": "A dancer in a red silk dress spinning slowly in a candlelit room, camera circling her",
"resolution": "720P",
"ratio": "9:16",
"duration": 5
}'
# Omni reference: swap the person in video 1 for the character in figure 1
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3.0-spicy",
"mode": "prime",
"prompt": "Replace the person in video 1 with the character from figure 1, keep the motion, framing and audio",
"reference_image_urls": ["https://apimodels.app/access/ecommerce-product-image-editing/white-background-nano-banana-2-1.jpg"],
"reference_video_urls": ["https://apimodels.app/models/ltx-2.5-fast/voice.mp4"],
"resolution": "720P",
"duration": 5
}'
# Step 2: Poll status
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"import requests, time
API_KEY = "YOUR_API_KEY"
ENDPOINT = "https://api.apimodels.app/v1/video/generations"
# Step 1: Create task.
# text-to-video -> prompt only
# first / last frame -> first_frame_url [+ last_frame_url]
# omni-reference -> reference_image_urls / reference_video_urls / reference_audio_urls
# NOTE: frame mode and reference mode are mutually exclusive.
# NOTE: file_url / link_url are NOT accepted on wan-3.0-spicy (use wan-3.0-video for those).
res = requests.post(ENDPOINT,
headers={"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"},
json={
"model": "wan-3.0-spicy",
"mode": "standard", # "standard"(default) | "prime" (high-speed tier)
"prompt": "A dancer in a red silk dress spinning slowly in a candlelit room",
"resolution": "720P", # 480P / 720P / 1080P — we default to 720P
"ratio": "9:16", # adaptive (default) / 16:9 / 4:3 / 1:1 / 3:4 / 9:16
"duration": 5, # 2-30, or -1 to let the model choose
}
)
task_id = res.json()["data"]["taskId"]
print(f"Task created: {task_id}")
# Step 2: Poll for result
while True:
status = requests.get(f"{ENDPOINT}?task_id={task_id}",
headers={"Authorization": f"Bearer {API_KEY}"}).json()
state = status["data"]["state"]
print(f"Status: {state}")
if state == "completed":
print(f"Video: {status['data']['resultUrls'][0]}")
break
elif state == "failed":
print(f"Failed: {status['data']['failMsg']}")
break
time.sleep(10)const API_KEY = 'YOUR_API_KEY';
const ENDPOINT = 'https://api.apimodels.app/v1/video/generations';
async function generate() {
// Step 1: Create task
const res = await fetch(ENDPOINT, {
method: 'POST',
headers: { 'Authorization': `Bearer ${API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
model: 'wan-3.0-spicy',
mode: 'standard', // 'standard'(default) | 'prime' (high-speed tier)
prompt: 'A dancer in a red silk dress spinning slowly in a candlelit room',
resolution: '720P', // 480P / 720P / 1080P — we default to 720P
ratio: '9:16',
duration: 5, // 2-30, or -1 for smart duration
}),
});
const { data } = await res.json();
console.log('Task created:', data.taskId);
// Step 2: Poll for result
while (true) {
const r = await fetch(`${ENDPOINT}?task_id=${data.taskId}`, {
headers: { 'Authorization': `Bearer ${API_KEY}` },
});
const s = (await r.json()).data;
console.log('Status:', s.state);
if (s.state === 'completed') { console.log('Video:', s.resultUrls[0]); break; }
if (s.state === 'failed') { console.log('Failed:', s.failMsg); break; }
await new Promise(r => setTimeout(r, 10000));
}
}
generate();Three ways to drive it
| Modo | What you send |
|---|---|
| Text to video | prompt only |
| First / first+last frame | first_frame_url [+ last_frame_url] |
| Omni reference | reference_image_urls / reference_video_urls / reference_audio_urls |
Frame mode and reference mode are mutually exclusive in one request; we reject a mix locally and name both colliding sides. file_url and link_url are not accepted on this model and return a 400 instead of being silently dropped and billed — use wan-3.0-video for document or web-page input.
In omni-reference mode the prompt addresses materials positionally — "figure 1", "video 1", "audio 1", each type numbered on its own — for example "replace the person in video 1 with the character from figure 1, keep the motion and camera".
Parâmetros da requisição
| Field | Required | Type | Description |
|---|---|---|---|
| model | Yes | string | "wan-3.0-spicy" (alias "wan3.0-spicy") |
| mode | No | string | "standard" (default) or "prime", the high-speed tier at 60-63% more per second depending on resolution; capabilities are identical. On Wan 3.0 Video the identical 480p 5-second job took 58s on prime and 356s on standard; this route has not been timed separately |
| prompt | No | string | Text description. Send at least one of prompt / reference material |
| first_frame_url | No | string | First frame, used strictly as frame one. Mutually exclusive with reference material |
| last_frame_url | No | string | Last frame, used strictly as the final frame |
| reference_image_urls | No | string[] | Reference images, up to 10. Addressed in the prompt as "figure 1", "figure 2", … |
| reference_video_urls | No | string[] | Reference videos, up to 5 clips, at least 1s each and 15s total; their seconds are billed |
| reference_audio_urls | No | string[] | Reference audio, up to 5 clips, 15s total (wav / mp3) |
| resolution | No | string | "480P" / "720P" / "1080P". Defaults to 720P when omitted |
| ratio | No | string | "adaptive" (default — inferred from your inputs), "16:9", "4:3", "1:1", "3:4", "9:16" |
| duration | No | number | 2-30 seconds, default 5; pass -1 for smart duration. With reference video: input length + output length must stay within 30s |
| audio | No | boolean | Whether the output carries an audio track, default true. Turning it off does not reduce the price |
| prompt_extend | No | boolean | Smart prompt rewriting, default true |
| seed | No | number | Random seed, 0-2147483647 |
| callback_url | No | string | Webhook URL called when the task completes |
Where relaxed moderation stops
- Upstream screening on this route is looser than on Wan 3.0 Video's default route, and we add no adult-content filter of our own.
- Anything involving minors is blocked on our side before it is submitted.
- The upstream still screens inputs and outputs. Likenesses of public figures in reference images or videos are refused with "The input content is suspected to include the likeness of a public figure".
- Refused tasks are not billed. Reviewing what you generate, following the law and your platform's rules, and using only subjects who have consented is your responsibility.
Getting the result
The create call returns data.taskId right away and the video renders in the background. GET the same endpoint with that task_id and read data.state: pending means still running, completed puts the MP4 URL in data.resultUrls[0], and failed puts the reason in data.failMsg. Pass callback_url to skip polling.
- Poll every 10-15 seconds.
- Output is H.264 MP4 at 30fps.
- Result videos are kept for 30 days and then deleted — download or re-host anything you want to keep.
- This model has no fallback route: during an upstream outage tasks fail (unbilled) instead of being rerouted. For flows that must not stall, resend failures to wan-3.0-video.
Related
Perguntas frequentes
How much does Wan 3.0 Spicy cost?
Per second: standard $0.06 at 480p, $0.12 at 720p, $0.24 at 1080p; prime $0.096, $0.196 and $0.392. A 5-second 720p clip is $0.60. A reference video adds its own seconds to the bill; reference images and audio are free, and failed or refused tasks are not charged.
What is the difference between Wan 3.0 Spicy and Wan 3.0 Video?
Same model and request shape. Spicy uses a route with relaxed moderation, takes no file_url or link_url (400), has no automatic fallback route, and costs more per second. Start on wan-3.0-video and switch the model field to wan-3.0-spicy when its moderation refuses your input.
What does Wan 3.0 Spicy still refuse?
Anything involving minors is blocked on our side, the upstream still screens inputs and outputs, and likenesses of public figures in reference images or videos are refused ("suspected to include the likeness of a public figure"). Refused tasks are not billed.
Is there a free Wan Spicy API?
No free tier and no unlimited plan. Usage is billed from a prepaid balance with top-ups from $10; a 2 to 5 second 480p test clip costs $0.12 to $0.30.