Skip to main content
POST
/
wan2.5-i2v-preview
/
async
Wanx 2.5 I2V Preview
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/image-to-video/alibaba/wan2.5-i2v-preview/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "img_url": "https://example.com/image.jpg"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "wan2.6-i2v-flash"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
img_url
string
required

First frame image URL (supports HTTP/HTTPS/Base64)

Example:

"https://example.com/image.jpg"

prompt
string
Required string length: 1 - 800
negative_prompt
string
Maximum string length: 500
resolution
enum<string>
Available options:
480P,
720P,
1080P
duration
integer
Required range: 5 <= x <= 10
prompt_extend
boolean
default:false
seed
integer
Required range: 0 <= x <= 2147483647

Response

200 - application/json

Task submitted successfully

code
integer

Response code, 0 for success

Example:

0

message
string

Response message

Example:

"success"

data
object