Wan 3.0 Reference to Video API
Wan 3.0 Reference to Video API: $0.20 to $0.80 per second, prepaid, no subscription. Alibaba's video model on one key; a failed generation is not charged.
wan-3.0-reference-to-videoVideoper second
Price · per second, USD
Get a key| Settings | UplinkSwitch |
|---|---|
| resolution 480p | $0.20 |
| resolution 720p | $0.40 |
| resolution 1080p | $0.80 |
Charged when the request is accepted; refunded in full if the generation fails.
What a run costs · USD, live
The lowest-priced settings (resolution 480p) bill $0.20 per second; the highest-priced (resolution 1080p) $0.80.
| Run | At $0.20 per second | At $0.80 per second |
|---|---|---|
| A 2-second clip | $0.40 | $1.60 |
| A 5-second clip | $1.00 | $4.00 |
| A 30-second clip | $6.00 | $24.00 |
| 100 clips of 30 seconds | $600.00 | $2,400.00 |
Compare · per second, live
Wan 3.0 Reference to Video from $0.20 per second; Wan 3.0 Text to Video from $0.20; Wan 3.0 Image to Video from $0.20.
Call it · POST /v1/generations
curl
curl https://api.uplinkswitch.com/v1/generations \
-H "Authorization: Bearer $UPLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3.0-reference-to-video",
"input": {
"prompt": "A red paper boat on a calm blue pond, morning light",
"reference_image_urls": [
"https://example.com/input.png"
]
}
}'
# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"Python, requests
import os, time, requests
BASE = "https://api.uplinkswitch.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['UPLINK_API_KEY']}"}
payload = {
"model": "wan-3.0-reference-to-video",
"input": {
"prompt": "A red paper boat on a calm blue pond, morning light",
"reference_image_urls": [
"https://example.com/input.png"
]
}
}
gen = requests.post(f"{BASE}/generations", headers=HEADERS, json=payload, timeout=30).json()
while gen["status"] not in ("succeeded", "failed"):
time.sleep(5)
gen = requests.get(f"{BASE}/generations/{gen['id']}", headers=HEADERS, timeout=30).json()
if gen["status"] == "succeeded":
url = gen["outputs"][0]["url"]
with open(url.rsplit("/", 1)[-1], "wb") as f:
f.write(requests.get(url, headers=HEADERS, timeout=120).content)The request is charged when it is accepted and answers 202 with a generation id. Poll GET /v1/generations/{id} until the status is succeeded, then download outputs[0].url; files stay downloadable for 30 days, and a failed generation is refunded in full.
Settings · in input
| Name | Type | Values | Default |
|---|---|---|---|
| prompt required | string | — | — |
| reference_image_urls required | urls | — | — |
| resolution | string | 480p, 720p, 1080p | 720p |
| aspect_ratio | string | adaptive, 16:9, 4:3, 1:1, 3:4, 9:16 | adaptive |
| duration | integer | — | 5 |
| audio | boolean | — | true |
| seed | integer | — | — |
| enable_safety_checker | boolean | — | true |
Questions
From $0.20 per second. The price depends on the settings in the table and is fixed when the request is accepted.
Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. Send it as the bearer token to /v1/generations with model wan-3.0-reference-to-video; the same key calls every other model in the catalog.
No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.
It is refunded in full, automatically. You pay only for files you receive.
Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.
Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.