Skip to main content
POST
Create Viral Ad Clone Video Tasks

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The project ID returned by the create project endpoint.

Body

application/json

Validation rules:

  • The project script must already be generated
  • out_number, if provided, must be between 1 and 4
  • If script is provided, it must be a non-empty string after trimming
script
string | null

Optional script for this video batch. If omitted, the project view_script is used. This value does not overwrite the project original script.

out_number
integer

Number of video tasks to create in this call. If omitted, the project default is used.

Required range: 1 <= x <= 4
resolution

Resolution for this video batch. If omitted, the project default is used.

aspect_ratio
enum<string>

Aspect ratio for this video batch. If omitted, the project default is used.

Available options:
9:16,
1:1,
16:9

Response

Successful response

code
integer
trace_id
string
message
string | null
data
object