Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Vidu one-click trending replicate request.

video_url
string
required

Reference trending video URL

Minimum string length: 1
Example:

"https://example.com/trending-video.mp4"

images
string[]
required

Subject images (1-7) as URLs or base64 data URIs

Required array length: 1 - 7 elements
Minimum string length: 1
Example:
prompt
string

Additional description for the replicated video

Required string length: 1 - 2000
Example:

"Replicate the viral transition effect"

aspect_ratio
enum<string>
default:16:9

Video aspect ratio

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
Example:

"9:16"

resolution
enum<string>
default:1080p

Video resolution

Available options:
540p,
720p,
1080p
Example:

"1080p"

remove_audio
boolean
default:false

Remove audio from the output video

Example:

false

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.