Skip to main content
POST
/
wan2.6-i2v-flash
/
async
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/image-to-video/alibaba/wan2.6-i2v-flash/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

Video content description, supports Chinese and English

Required string length: 1 - 800
Example:

"Camera slowly zooms in"

negative_prompt
string

Negative prompt describing unwanted content

Maximum string length: 500
Example:

"blurry, distorted"

resolution
enum<string>

Video resolution tier

Available options:
480P,
720P,
1080P
Example:

"720P"

duration
integer

Video duration in seconds (integer)

Required range: 2 <= x <= 15
Example:

5

audio
boolean
default:false

Whether to generate video with audio (only supported by wan2.6-i2v-flash)

Example:

false

prompt_extend
boolean
default:false

Enable prompt intelligent rewriting

Example:

false

seed
integer

Random seed for reproducibility

Required range: 0 <= x <= 2147483647
Example:

42

audio_url
string<uri>

Custom audio URL (supports wav/mp3, 3-30 seconds, ≤15MB)

Example:

"https://example.com/audio.mp3"

shot_type
enum<string>

Shot type (single-shot or multi-shot narrative)

Available options:
single,
multi
Example:

"single"

Response

200 - application/json

Task submitted successfully

code
integer

Response code, 0 for success

Example:

0

message
string

Response message

Example:

"success"

data
object