v1
latestOpenAPI 3.0.32026-07-241112213.6 KBNew Endpoint
This is your first endpoint! Edit this page to start documenting your API.
Request body
Either productLink or fileIds must be non-empty. </br>
If both productLink and fileIds exist, the parameter of fileIds will be ignored, and all videos and images parsed from productLink will be used by default. </br> Example: https://www.amazon.com/dp/B0CXVSRY56/ref=sspa_dk_crr_aax_0?sp_csd=d2lkZ2V0TmFtZT1zcF9jcnJfc2hhcmVk&th=1
Videos or images. Obtain the fileId after uploading through the file upload interface. </br>
If both productLink and fileIds exist, the parameter of fileIds will be ignored, and all videos and images parsed from productLink will be used by default. </br> Example: 5664bb315f814bee8c45f023efff0bf2
It can be automatically parsed from the product link. Required when productLink is empty.
It can be automatically parsed from the product link. Required when productLink is empty and isDiyScript=false.
Default value: 9:16. Optional values: 9:16, 3:4, 1:1, 4:3, 16:9
Default value: en</br> Language list:</br> English: en</br> Arabic (العربية): ar</br> Bulgarian (Български): bg</br> Croatian (Hrvatski): hr</br> Czech (Čeština): cs</br> Danish (Dansk): da</br> Dutch (Nederlands): nl</br> Filipino (Filipino): fil</br> Finnish (Suomi): fi</br> French (Français): fr</br> German (Deutsch): de</br> Greek (Ελληνικά): el</br> Hindi (हिन्दी): hi</br> Hungarian (Magyar): hu</br> Indonesian (Bahasa Indonesia): id</br> Italian (Italiano): it</br> Japanese (日本語): ja</br> Korean (한국어): ko</br> Malay (Bahasa Melayu): ms</br> Norwegian (Norsk): nb</br> Polish (Polski): pl</br> Portuguese (Português): pt</br> Romanian (Română): ro</br> Russian (Русский): ru</br> Simplified Chinese (简体中文): zh-CN</br> Slovak (Slovenčina): sk</br> Spanish (Español): es</br> Swedish (Svenska): sv</br> Traditional Chinese (繁體中文): zh-Hant</br> Turkish (Türkçe): tr</br> Ukrainian (Українська): uk</br> Vietnamese (Tiếng Việt): vi</br> Thai (ภาษาไทย): th (Currently, the supported voiceIds for Thai are: 5d188a658b5a424e98bf0dbbcb8f97d8, eea5e5a4fb534231a5b4cf4766dd7a5f, 537e2643719c47bdac1d8a2c7f0c844a, e22db502aa8d40d9ba791083c9f4ab35)
Obtain it through the voice query interface.
Obtained through the caption list interface. If not specified, then randomly.
Obtain it through the aiAvatar query interface.
Default value: 1, optional values: 1, 2, 3, 4.</br> 1: 30-50s</br> 2: 15-30s</br> 3: 30-45s</br> 4: 45-60s</br>
Obtain it after uploading through the file upload interface.
Default value: all. Optional values: all, 9:16, 3:4, 1:1, 4:3, 16:9
Default value: black. Optional values: black, white
Obtain it after uploading through the file upload interface.
Default value: false. When set to true, a preview video will be returned first. When you need to export the video, you need to trigger the export interface for export. When set to false or empty, an exported video will be returned.
Whether to use custom scripts. True - Use custom script, default false
Customize script content. It will only take effect when isDiyScript=true
Script style type, optional values: "diyScriptStyle" (using preset style), "diyScriptPrompt" (using custom Prompt)
- Used in conjunction with the DIY Script Style and DIY Script Prompt fields
- It only takes effect when isDiyScript=false
Preset script style, when diyStyle=diyScriptStyle, value needs to be passed
Custom script style description, when diyStyle=diyScriptPrompt, value needs to be passed
The target audience can better guide the AI in script writing.
Customize the background music ID and obtain it after uploading through the file upload interface. If it is empty, use random music
NoticeUrl. Please refer to the API documentation for details NoticeUrl
Response
200:success Other:fail