Skip to main content
POST
/
v1
/
generation
/
multi-image-to-video
Submit Multi-Image-to-Video Task
curl --request POST \
  --url https://api.weryai.com/v1/generation/multi-image-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "WERYAI_VIDEO_1_0",
  "prompt": "Create a smooth transition between these images",
  "images": [
    "https://example.com/image1.jpg",
    "https://example.com/image2.jpg"
  ],
  "video_number": 4,
  "aspect_ratio": "16:9",
  "duration": 5,
  "generate_audio": false
}
'
{
  "status": 0,
  "desc": "success",
  "message": "success",
  "data": {
    "batch_id": 123456789,
    "task_ids": [
      "task_abc123"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.weryai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using Bearer token. Get your API Key from the WeryAI Console.

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Body

application/json
model
string
required

Model Key. Supported models for multi-image-to-video:

Model NameModel Key
Veo 3.1VEO_3_1
Werydance 2.0WERYDANCE_2_0
Werydance 2.0 FastWERYDANCE_2_0_FAST
Kling O1KLING_O1
Pika 2.2PIKA_2_2
Seedance 1.0 LiteDOUBAO_1_LITE
Example:

"WERYAI_VIDEO_1_0"

prompt
string
required

Positive text prompt

Required string length: 1 - 2000
Example:

"Create a smooth transition between these images"

images
string<uri>[]
required

Reference image list (maximum 3 images, supports jpg, jpeg, png, webp)

Maximum array length: 3
Example:
[
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
]
aspect_ratio
string
required

Video aspect ratio

Example:

"16:9"

duration
integer
required

Video duration (seconds)

Example:

5

negative_prompt
string

Negative text prompt

Maximum string length: 1000
video_number
enum<integer>
default:1

Number of videos to generate (1~4).

Available options:
1,
2,
3,
4
resolution
string

Video resolution. Supported values: 480p, 720p. For Werydance 2.0 model, 1080p is also supported. Werydance 2.0 Fast does not support 1080p.

generate_audio
string

Whether to generate audio. Enter true or false manually.

Example:

"false"

webhook_url
string<uri>

Callback URL

caller_id
integer<int64>

Caller ID

Response

Task submitted successfully

status
integer

Business status code (0 indicates success)

Example:

0

desc
string

Status description

Example:

"success"

message
string

Multi-language message

Example:

"success"

data
object