Skip to main content
POST
cURL

Billing Introduction

The base credit rate is determined by the selected output video resolution and whether audio is enabled. The total credit cost is calculated based on the generated video’s duration. See the Billing Introduction for current credit rates.

File Storage Policy

Query Task

This API creates an asynchronous task. Save the returned task_id, then use Querying Async Task Results to retrieve its final result. Results remain available for 24 hours; wait at least 5 seconds between queries.
All result URLs are temporarily available and will expire after 24 hours.

Submit Task

Authorizations

ailabapi-api-key
string
header
required

API KEY for authentication. See Get API KEY.

Body

multipart/form-data
model
enum<string>
required

Model.

Available options:
pixverse-v6/image-to-video
Example:

"pixverse-v6/image-to-video"

prompt
string
required

Prompt.

Required string length: 3 - 5000
Example:

"The subject gently turns toward the camera as a soft breeze moves through the scene. Smooth cinematic camera push-in."

image
file
required
  • Supported formats: JPEG JPG PNG WEBP
  • Maximum file size: No more than 20 MB.
  • Minimum resolution: 256 × 256 px.
  • Maximum resolution: 4096 × 4096 px.
quality
enum<string>
default:540p

Output video resolution.

Available options:
360p,
540p,
720p,
1080p
generate_audio_switch
boolean
default:false

Whether to generate audio.

duration
integer
default:5

Output video duration in seconds.

Required range: 1 <= x <= 15
generate_multi_clip_switch
boolean
default:false

Whether to generate a multi-clip video.

seed
integer<int32>

Random seed. Using the same parameters and seed helps improve result reproducibility.

Required range: 0 <= x <= 2147483647

Response

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
task_id
string
required

Task ID for querying Querying Async Task Results.