v1
latestOpenAPI 3.1.02026-07-26590116.2 KBVideoGenerations
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.
post/api/v1/videos/generations
Headers
Authorizationstring required
Bearer API key.
Request body
Example request
{
"custom_callback_url": "https://your-server.com/goenhance/callback"
}Response
Task submitted or application-level error.