Skip to main content
POST
Create Viral Ad Clone Project

Authorizations

Authorization
string
header
required

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

Body

application/json

Validation rules:

  • reference_video_url is required and must be an HTTP or HTTPS URL
  • product_image_urls is required and must contain at least one HTTP or HTTPS URL
  • avatar_image_url, if provided, must be an HTTP or HTTPS URL
  • speech_language_option, if provided, controls only generated spoken_audio language
  • out_number must be between 1 and 4
  • mode must be auto or manual
reference_video_url
string<uri>
required

Public HTTP or HTTPS URL of the reference ad video. The server stores this media internally before creating the project.

product_image_urls
string<uri>[]
required

Public HTTP or HTTPS URLs of product reference images. These images are stored internally and used for product analysis and video generation.

Minimum array length: 1
avatar_image_url
string<uri> | null

Optional public HTTP or HTTPS URL of a person, avatar, model, or spokesperson reference image.

prompt
string | null

Optional user instruction, such as selling points, style, restrictions, or language preference.

aspect_ratio
enum<string>
default:9:16

Target video aspect ratio.

Available options:
9:16,
1:1,
16:9
speech_language_option
enum<string> | null
default:""

Optional spoken language preference for generated spoken_audio, including voiceover, narration, dialogue, speaker turns, and short verbal expressions. Use an empty string to follow the reference video's spoken language. If a target language value is provided, it takes priority over language instructions in prompt. This field does not change visual structure, background music, lyrics, sound effects, pacing, camera behavior, or audio sync.

Available options:
english,
spanish,
portuguese,
french,
german,
arabic,
chinese,
japanese,
korean,
vietnamese,
thai,
indonesian,
malay,
filipino,
hindi
duration
integer
default:15

Target video duration in seconds.

resolution
default:720

Target video resolution. Common values include 720 and 1080.

out_number
integer
default:1

Number of videos to create automatically in auto mode, or the default batch size used by the videos endpoint when not provided.

Required range: 1 <= x <= 4
mode
enum<string>
default:auto

auto creates the first video batch automatically after the script is ready. manual only generates the script and waits for the videos endpoint.

Available options:
auto,
manual

Response

Successful response

code
integer
trace_id
string
message
string | null
data
object