Wan 2.2
Wan 2.2 text-to-video and image-to-video generation. Pass image_url to use a reference image, or omit it for text-to-video.
Pricing — per task, in tokens (USD at $0.02/token):
| resolution | tokens | USD |
|---|---|---|
| 480p | 5 | $0.10 |
| 720p | 10 | $0.20 |
Returns an img_uuid; poll GET /api/v1/jobs/detail (or use custom_callback_url) to get the generated video.
Headers
Bearer API key.
Body
Wan 2.2 supports text-to-video and first-frame image-to-video at 480p or 720p.
Model name. Must be wan22_spicy.
wan22_spicy Text prompt describing the video.
Optional first-frame image URL. If provided, runs image-to-video; otherwise text-to-video.
Output resolution. A 480p task costs 5 tokens; a 720p task costs 10 tokens.
480p, 720p Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.
"https://your-server.com/goenhance/callback"
