Viral Clone · Video
Script cloneNEW
Give it a viral reference video and your product images: it keeps the viral video’s structure and pacing and re-shoots it with your product. You can set the model’s look, the voice-over language and the target market.
💡 When to use:Commerce short videos: you found a viral clip and want the same script with your own product.
Submit task
POST/ api/ cqt/ generator/ viralclone
Query Result
GET/ api/ cqt/ info/ viralclone?id={taskId}
⏱ Recommended polling interval:Viral clone is slow — usually a few minutes. Poll every 10 s until status = succeeded / failed.
Authorization
AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.
Models
Both models share the same endpoint and parameters; they differ in quality, allowed length and ratios. Lengths outside the table are rejected at submit (no charge).
| model | Usage | Materials | Duration (sec) | Resolutions |
|---|---|---|---|---|
| viral-clone-flash | Advanced: balanced speed and price (default tier) | 1 reference video · ≤10 product images | 2~15 | 720P / 1080P |
| viral-clone-pro | Pro: higher quality and fidelity, longer videos and the adaptive ratio | 1 reference video · ≤10 product images | 4~30 | 720P / 1080P |
Request body
application/jsonmodelstringRequired
viral-clone-flash (advanced) / viral-clone-pro (pro)
cloneModestring
Clone type; script on this page (defaults to script when omitted)
videoUrlsstring[]Required
Viral reference video URL, exactly 1 (must be publicly accessible)
imageUrlsstring[]Required
Product image URLs, 1-10 images
durationnumberRequired
Output length in seconds: flash 2-15, pro 4-30. Also the billed seconds
resolutionstring
720P (default) / 1080P
aspectRatiostring
9:16 / 16:9 / 3:4 / 4:3 / 1:1 / 21:9; pro also accepts adaptive (match the reference video). Omit to auto-pick 9:16 or 16:9 from the reference video
promptstring
Extra requirements (optional), e.g. scene, mood, selling points
productNamestring
Product name (optional)
productDescriptionstring
Selling-point description (optional)
personaImagesstring[]
Person reference images (optional, ≤10) to set the on-screen person
personaGenderstring
Model gender: male / female / any
personaAgestring
Age group: teenager / youth / middle_aged / senior
personaEthnicitystring
Appearance: caucasian / asian / latino / african / middle_eastern
personaBodyTypestring
Body type: slim / standard / athletic / chubby
languagestring
Voice-over language (script clone only): zh / en / ja / ko / es / pt / de / fr / it / pl / instrumental (no voice-over)
marketstring
Target market (script clone only), affects localization: north_america / europe / china / japan / korea / sea / brazil
Response Fields
codenumber
200 means success
data.idstring
Task ID (taskId)
data.statusstring
queued / running / succeeded / failed
data.resultUrlstring
Result video URL on our CDN (long-lived); null until done or on failure
data.errorMsgstring | null
Failure reason; null on success