Skip to main content
POST
Wan 2.2

Headers

Authorization
string
required

Bearer API key.

Body

application/json

Wan 2.2 supports text-to-video and first-frame image-to-video at 480p or 720p.

model
enum<string>
required

Model name. Must be wan22_spicy.

Available options:
wan22_spicy
prompt
string
required

Text prompt describing the video.

image_url
string<uri>

Optional first-frame image URL. If provided, runs image-to-video; otherwise text-to-video.

resolution
enum<string>
default:720p

Output resolution. A 480p task costs 5 tokens; a 720p task costs 10 tokens.

Available options:
480p,
720p
custom_callback_url
string<uri>

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.

Example:

"https://your-server.com/goenhance/callback"

Response

Task submitted or application-level error.

code
integer
required
msg
string
required
data
object