Skip to main content
POST
Wan 3.0

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be wan-3-0.

Available options:
wan-3-0
prompt
string
required

Text prompt describing the video.

image_url
string<uri>

Optional. First-frame image URL. Omit for text-to-video.

ratio
enum<string>
default:adaptive

Output aspect ratio. adaptive lets the model pick from the input media. Note: unlike Wan 2.7 there is no 21:9. aspect_ratio is accepted as a compatible alias.

Available options:
adaptive,
16:9,
4:3,
1:1,
3:4,
9:16
duration
integer
default:5

Video duration in seconds. Any integer from 2 to 30.

Required range: 2 <= x <= 30
resolution
enum<string>
default:720p

Output resolution, lowercase like every other video model. quality is accepted as a compatible alias.

Available options:
480p,
720p,
1080p
image_end_url
string<uri>

Optional. Last-frame image URL. Must be used together with image_url.

generate_audio
boolean
default:true

Whether the output contains an audio track. Enabling it costs no extra.

seed
integer

Optional. Fixing the seed makes results more reproducible.

Required range: 0 <= x <= 2147483647
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

code
integer
required
msg
string
required
data
object
required