curl --request POST \ --url https://www.ailabapi.com/api/model/task/create \ --header 'Content-Type: multipart/form-data' \ --header 'ailabapi-api-key: <api-key>' \ --form model=vidu-q4/reference-to-video \ --form 'prompt=Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.' \ --form reference_images=@example-file
import requests
url = "https://www.ailabapi.com/api/model/task/create"
files = { "reference_images": ("example-file", open("example-file", "rb")) }
payload = {
"model": "vidu-q4/reference-to-video",
"prompt": "Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them."
}
headers = {"ailabapi-api-key": "<api-key>"}
response = requests.post(url, data=payload, files=files, headers=headers)
print(response.text)
const form = new FormData();
form.append('model', 'vidu-q4/reference-to-video');
form.append('prompt', 'Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.');
form.append('reference_images', '<string>');
const options = {method: 'POST', headers: {'ailabapi-api-key': '<api-key>'}};
options.body = form;
fetch('https://www.ailabapi.com/api/model/task/create', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.ailabapi.com/api/model/task/create",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data",
"ailabapi-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.ailabapi.com/api/model/task/create"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("ailabapi-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://www.ailabapi.com/api/model/task/create")
.header("ailabapi-api-key", "<api-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();
require 'uri'
require 'net/http'
url = URI("https://www.ailabapi.com/api/model/task/create")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["ailabapi-api-key"] = '<api-key>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body
{
"request_id": "01A1E397-AF68-53D9-8CFD-6831D8F108BD",
"log_id": "100000000",
"error_detail": {
"code": "ERROR_INTERNAL_SERVER_ERROR",
"code_message": "Internal server error. Please try again later. If not resolved promptly, contact the platform.",
"message": "Internal server error. Please try again later. If not resolved promptly, contact the platform."
}
}
Vidu Q4 Reference to Video API
Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.
POST
/
api
/
model
/
task
/
create
cURL
curl --request POST \ --url https://www.ailabapi.com/api/model/task/create \ --header 'Content-Type: multipart/form-data' \ --header 'ailabapi-api-key: <api-key>' \ --form model=vidu-q4/reference-to-video \ --form 'prompt=Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.' \ --form reference_images=@example-file
import requests
url = "https://www.ailabapi.com/api/model/task/create"
files = { "reference_images": ("example-file", open("example-file", "rb")) }
payload = {
"model": "vidu-q4/reference-to-video",
"prompt": "Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them."
}
headers = {"ailabapi-api-key": "<api-key>"}
response = requests.post(url, data=payload, files=files, headers=headers)
print(response.text)
const form = new FormData();
form.append('model', 'vidu-q4/reference-to-video');
form.append('prompt', 'Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.');
form.append('reference_images', '<string>');
const options = {method: 'POST', headers: {'ailabapi-api-key': '<api-key>'}};
options.body = form;
fetch('https://www.ailabapi.com/api/model/task/create', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.ailabapi.com/api/model/task/create",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data",
"ailabapi-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.ailabapi.com/api/model/task/create"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("ailabapi-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://www.ailabapi.com/api/model/task/create")
.header("ailabapi-api-key", "<api-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();
require 'uri'
require 'net/http'
url = URI("https://www.ailabapi.com/api/model/task/create")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["ailabapi-api-key"] = '<api-key>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"model\"\r\n\r\nvidu-q4/reference-to-video\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"prompt\"\r\n\r\nCreate a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"reference_images\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body
{
"request_id": "01A1E397-AF68-53D9-8CFD-6831D8F108BD",
"log_id": "100000000",
"error_detail": {
"code": "ERROR_INTERNAL_SERVER_ERROR",
"code_message": "Internal server error. Please try again later. If not resolved promptly, contact the platform.",
"message": "Internal server error. Please try again later. If not resolved promptly, contact the platform."
}
}
Billing Introduction
The credit rate is determined by the selected output video resolution. The total credit cost is calculated based on the generated video’s duration. See the Billing Introduction for current credit rates.
File Storage Policy
Query Task
This API creates an asynchronous task. Save the returned task_id, then use Querying Async Task Results to retrieve its final result. Results remain available for 24 hours; wait at least 5 seconds between queries.
Field
Type
Description
data
object
+result_json
object
++result_urls
array
Result video URLs.
+++result_urls[]
string
Result video URL.
{ "data": { "result_urls": [""] }}
All result URLs are temporarily available and will expire after 24 hours.
"Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them."
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AILabTools API Docs","colors":{"primary":"#f61b5b","light":"#f61b5b","dark":"#f61b5b"},"logo":{"light":"https://mintcdn.com/ailabtools/vuQkoUaImoItlRBI/assets/images/light.webp?fit=max\u0026auto=format\u0026n=vuQkoUaImoItlRBI\u0026q=85\u0026s=d53a044abda344a6ac24240933cbca8b","dark":"https://mintcdn.com/ailabtools/vuQkoUaImoItlRBI/assets/images/dark.webp?fit=max\u0026auto=format\u0026n=vuQkoUaImoItlRBI\u0026q=85\u0026s=bf414838f341f61ab2356f5d6aef7913"},"favicon":"https://mintcdn.com/ailabtools/vuQkoUaImoItlRBI/favicon.ico?fit=max\u0026auto=format\u0026n=vuQkoUaImoItlRBI\u0026q=85\u0026s=b66da6593c121bcc9d5b0fba15cea5bd","api":{"params":{"expanded":"all"},"optional":"static","playground":{"proxy":false},"examples":{"defaults":"required","prefill":true}},"navbar":{"links":[{"href":"https://www.ailabtools.com","label":"Home"},{"href":"https://www.ailabtools.com/developer/keys","label":"API KEY"},{"href":"https://www.ailabtools.com/price?tab=api","label":"Pricing"},{"href":"https://www.ailabtools.com/support","label":"Contact Us"}],"primary":{"type":"button","label":"Developer","href":"https://www.ailabtools.com/developer"}},"footer":{"links":[{"header":"Popular Recommendations","items":[{"label":"Change Facial Expressions","href":"https://www.ailabtools.com/docs/ai-portrait/effects/emotion-editor-advanced"},{"label":"Hairstyle Changer","href":"https://www.ailabtools.com/docs/ai-portrait/effects/hairstyle-editor-pro"},{"label":"Try on Clothes","href":"https://www.ailabtools.com/docs/ai-portrait/editing/try-on-clothes"},{"label":"AI Beard Styling","href":"https://www.ailabtools.com/docs/ai-portrait/editing/ai-beard-styling"},{"label":"Skin Analyze","href":"https://www.ailabtools.com/docs/ai-portrait/analysis/skin-analysis-pro"},{"label":"AI Nail Art","href":"https://www.ailabtools.com/docs/ai-image/editing/ai-nail-art-pro"},{"label":"Cartoon Yourself","href":"https://www.ailabtools.com/docs/ai-portrait/effects/portrait-animation"},{"label":"Background Removal","href":"https://www.ailabtools.com/docs/ai-cutout/general/universal-background-removal"}]},{"header":"Support","items":[{"label":"Pricing","href":"https://www.ailabtools.com/price?tab=api"},{"label":"Developer","href":"https://www.ailabtools.com/developer"},{"label":"Contact Us","href":"https://www.ailabtools.com/support"}]},{"header":"More","items":[{"label":"About Us","href":"https://www.ailabtools.com/about-us"},{"label":"Terms of Service","href":"https://www.ailabtools.com/term-of-use"},{"label":"Privacy Policy","href":"https://www.ailabtools.com/privacy-policy"},{"label":"User Agreement","href":"https://www.ailabtools.com/user-agreement"}]}]},"seo":{"metatags":{"description":"Explore AILabTools APIs for image editing, enhancement, generation, and analysis. Integrate powerful AI features with ease.","keywords":"AILabTools API, AI API, Image API, Image Editing API, Image Enhancement API, Background Removal API, Portrait Enhancement API, AI Generation API, Face Editing API, REST API","author":"AILabTools","theme-color":"#000000","canonical":"https://www.ailabtools.com","og:type":"website","og:url":"https://www.ailabtools.com","og:image":"https://ai-resource.ailabtools.com/web/static/svg/ailabToolsLogo.svg","og:description":"Explore AILabTools APIs for image editing, enhancement, generation, and analysis. Integrate powerful AI features with ease.","og:site_name":"AILabTools","og:locale":"en"},"indexing":"all"},"icons":{"library":"tabler"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"clarity":{"projectId":"ycgow2oc02"},"ga4":{"measurementId":"G-LR7Q61Y8PJ"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ailabtools","hasAudioNarration":false,"actualSubdomain":"ailabtools","customDomains":[],"gitSource":{"type":"github","owner":"ailabtools-tobias","repo":"ailabtools-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b058c9d39161d94feab8996","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"AI Capabilities","count":189},{"language":"default","tag":"Portrait","count":125},{"language":"default","tag":"Effects","count":68},{"language":"default","tag":"Editing","count":58},{"language":"default","tag":"Image","count":54},{"language":"default","tag":"Analysis","count":23},{"language":"default","tag":"AI Models","count":21},{"language":"default","tag":"Video","count":21},{"language":"default","tag":"Background Removal","count":18},{"language":"default","tag":"Enhancement","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"assets/css/common.css","content":"*{box-sizing:border-box}.cm-w{width:100%}.cm-margin{overflow-wrap:break-word;margin:0}.cm-padding-8{padding:.5rem}.cm-text-align-center{text-align:center}.cm-border-2-solid-218221225100{border:2px solid rgba(218, 221, 225, 1)}.cm-border-bottom-2-solid-218221225100{border-bottom:2px solid rgba(218, 221, 225, 1)}.cm-border-radius-8{border-radius:.5rem}.cm-grid-template-columns-3{display:grid;grid-template-columns:repeat(3, 1fr)}.cm-grid-template-columns-4{display:grid;grid-template-columns:repeat(4, 1fr)}.cm-grid-template-columns-5{display:grid;grid-template-columns:repeat(5, 1fr)}.cm-grid-column-2-span-1{grid-column:2 / span 1}.cm-grid-gap-8{grid-gap:.5rem}#footer div:has(>div>a[href*=\"mintlify.com\"]){display:none!important}@media screen and (max-width: 1680px){.cm-word-break-break-all{word-break:break-all;overflow-wrap:break-word}}"}]}
{"page":{"pagePath":"docs/ai-model/video/vidu/q4/reference-to-video","slug":"/docs/ai-model/video/vidu/q4/reference-to-video","pageMetadata":{"title":"Vidu Q4 Reference to Video API","sidebarTitle":"Q4 Reference to Video","description":"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.","openapi":"docs/ai-model/video/vidu/q4/reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/vidu/q4/reference-to-video"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const FileStoragePolicy=({uploadedFiles,responseType})=>{const _components={a:`a`,..._provideComponents()},{Tip}=_components;if(!Tip)_missingMdxReference(`Tip`,true);const responseFileData={URL:{stored:`Yes`,retention:`24 Hours`,deletion:`Automatic`},BASE64:{stored:`No`,retention:`N/A`,deletion:`Immediate`}};if(!uploadedFiles\u0026\u0026!responseType)return null;return _jsxs(`div`,{children:[_jsxs(`table`,{children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{children:`Data Type`}),_jsx(`th`,{children:`Stored`}),_jsx(`th`,{children:`Retention`}),_jsx(`th`,{children:`Training`}),_jsx(`th`,{children:`Deletion`})]})}),_jsxs(`tbody`,{children:[uploadedFiles\u0026\u0026_jsxs(`tr`,{children:[_jsx(`td`,{children:`Uploaded Files`}),_jsx(`td`,{children:`No`}),_jsx(`td`,{children:`N/A`}),_jsx(`td`,{children:`No`}),_jsx(`td`,{children:`Immediate`})]}),responseType\u0026\u0026responseFileData?.[responseType]\u0026\u0026_jsxs(`tr`,{children:[_jsxs(`td`,{children:[`Response Files (`,responseType,`)`]}),_jsx(`td`,{children:responseFileData[responseType][`stored`]}),_jsx(`td`,{children:responseFileData[responseType][`retention`]}),_jsx(`td`,{children:`No`}),_jsx(`td`,{children:responseFileData[responseType][`deletion`]})]})]})]}),_jsxs(Tip,{children:[`For more information, see the`,` `,_jsx(_components.a,{href:`/docs/file-storage-policy`,children:`File Storage Policy`}),` and`,` `,_jsx(`a`,{href:`https://www.ailabtools.com/privacy-policy`,target:`_blank`,children:`Privacy Policy`}),`.`]})]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`billing-introduction`,children:`Billing Introduction`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`The credit rate is determined by the selected output video resolution. The total credit cost is calculated based on the generated video’s duration. See the `,_jsx(_components.a,{href:`/docs/billing-introduction#q4-reference-to-video`,children:`Billing Introduction`}),` for current credit rates.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`file-storage-policy`,children:`File Storage Policy`}),`\n`,_jsx(_MdxComponentBoundary,{name:`FileStoragePolicy`,children:_jsx(FileStoragePolicy,{uploadedFiles:true,responseType:`URL`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-task`,children:`Query Task`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`This API creates an asynchronous task. Save the returned `,_jsx(_components.code,{children:`task_id`}),`, then use `,_jsx(_components.a,{href:`/docs/ai-common/async-task-results/api`,children:`Querying Async Task Results`}),` to retrieve its final result. Results remain available for 24 hours; wait at least 5 seconds between queries.`]})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Field`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Type`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{style:{textAlign:`left`}})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`+`,_jsx(_components.code,{children:`result_json`})]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{style:{textAlign:`left`}})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`++`,_jsx(_components.code,{children:`result_urls`})]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`array`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Result video URLs.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`+++`,_jsx(_components.code,{children:`result_urls[]`})]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Result video URL.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`All result URLs are temporarily available and will expire after 24 hours.`})}),`\n`,_jsx(Heading,{level:`2`,id:`submit-task`,children:`Submit Task`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{FileStoragePolicy,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Vidu Q4 Reference to Video API","sidebarTitle":"Q4 Reference to Video","description":"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.","openapi":"docs/ai-model/video/vidu/q4/reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/vidu/q4/reference-to-video"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[153,1614,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Billing Introduction","slug":"billing-introduction","depth":2,"children":[]},{"title":"File Storage Policy","slug":"file-storage-policy","depth":2,"children":[]},{"title":"Query Task","slug":"query-task","depth":2,"children":[]},{"title":"Submit Task","slug":"submit-task","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ailabtools/5bb5b9476560fe82/assets/js/common.js","/_mintlify/custom/ailabtools/2c4a148d1cfd6e48/assets/js/tawk.js"],"openApiReferenceData":{"operation":{"requestBody":"7fb7a0f3-299c-4b08-b5e2-bebb63c41397","responses":{"200":"f7755428-9572-433e-8457-e9ab0dfd0072","4XX":"df30cb53-386b-4d86-ae65-b11c1419b6a8","5XX":"aecd017f-bb18-4e7f-8bd2-2c97427dc08f"},"method":"post","type":"path","servers":["458ded25-1205-4d4c-9854-a748c4497810"],"security":["e8326331-5448-4cbd-a018-b48169263b5d"],"path":"/api/model/task/create","baseUrlOptions":["https://www.ailabapi.com"],"title":"","description":"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"vidu-q4/reference-to-video","body.prompt":"Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.","body.reference_images.items.0":"\u003cstring>","body.reference_audios.items.0":"\u003cstring>","body.resolution":"1080p","body.duration":5,"body.audio":true,"body.aspect_ratio":"16:9"}],"disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["model","prompt","reference_images"],"properties":{"model":{"type":"string","enum":["vidu-q4/reference-to-video"],"example":"vidu-q4/reference-to-video","description":"Model.","isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","minLength":1,"maxLength":20000,"example":"Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.","description":"Prompt.","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"reference_images":{"type":"array","minItems":1,"maxItems":15,"items":{"type":"string","contentMediaType":"application/octet-stream","uniqueKey":"reference_images.items.[INDEX]","typeLabel":"file"},"description":"Reference images. \n- Supported formats: `JPEG` `JPG` `PNG` `WEBP` \n- Maximum file size: No more than 20 MB. \n- Minimum resolution: `256 × 256 px`. \n- Maximum resolution: `4096 × 4096 px`.","isRequired":true,"uniqueKey":"reference_images","typeLabel":"file[]"},"reference_audios":{"type":"array","maxItems":3,"items":{"type":"string","contentMediaType":"application/octet-stream","uniqueKey":"reference_audios.items.[INDEX]","typeLabel":"file"},"description":"Reference audios. \n- Supported format: `MP3`. \n- Maximum file size: No more than 50 MB. \n- Duration: `3–12 seconds`.","uniqueKey":"reference_audios","typeLabel":"file[]"},"resolution":{"type":"string","enum":["540p","720p","1080p","2k","4k"],"default":"1080p","description":"Output video resolution.","uniqueKey":"resolution","typeLabel":"enum\u003cstring>"},"duration":{"type":"integer","minimum":3,"maximum":16,"default":5,"description":"Output video duration in seconds.","uniqueKey":"duration","typeLabel":"integer"},"audio":{"type":"boolean","default":true,"description":"Whether to generate audio.","uniqueKey":"audio","typeLabel":"boolean"},"aspect_ratio":{"type":"string","enum":["1:1","3:4","4:3","9:16","16:9"],"default":"16:9","description":"Output video aspect ratio.","uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"vidu-q4/reference-to-video","prompt":"Create a cinematic scene featuring the characters and visual style in the reference images. The group walks through a sunlit city street as the camera slowly tracks alongside them.","reference_images":["\u003cstring>"],"reference_audios":["\u003cstring>"],"resolution":"1080p","duration":5,"audio":true,"aspect_ratio":"16:9"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f7755428-9572-433e-8457-e9ab0dfd0072":{"content":{"application/json":{"schema":{"type":"object","required":["task_id","request_id","log_id","error_detail"],"properties":{"request_id":{"type":"string","description":"Request ID for debugging.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"log_id":{"type":"string","description":"Log ID for debugging.","isRequired":true,"uniqueKey":"log_id","typeLabel":"string"},"error_detail":{"type":"object","required":["code","code_message","message"],"properties":{"code":{"type":"string","description":"Error Code. See [Error Codes](/docs/response-description#error-codes).","isRequired":true,"uniqueKey":"error_detail.code","typeLabel":"string"},"code_message":{"type":"string","description":"Error summary.","isRequired":true,"uniqueKey":"error_detail.code_message","typeLabel":"string"},"message":{"type":"string","description":"Error message.","isRequired":true,"uniqueKey":"error_detail.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error_detail","typeLabel":"object"},"task_id":{"type":"string","description":"Task ID for querying [Querying Async Task Results](/docs/ai-common/async-task-results/api).","isRequired":true,"uniqueKey":"task_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"01A1E397-AF68-53D9-8CFD-6831D8F108BD","log_id":"100000000","error_detail":{"code":"","code_message":"","message":""},"task_id":"1794820417.b515cde0-d9c8-4ad2-206a-bcdu0613bbb1"},"examples":{"Example":{"title":"Example","value":{"request_id":"01A1E397-AF68-53D9-8CFD-6831D8F108BD","log_id":"100000000","error_detail":{"code":"","code_message":"","message":""},"task_id":"1794820417.b515cde0-d9c8-4ad2-206a-bcdu0613bbb1"}}},"exampleType":"examples"}},"exampleType":"examples"},"df30cb53-386b-4d86-ae65-b11c1419b6a8":{"content":{"application/json":{"schema":{"type":"object","required":["request_id","log_id","error_detail"],"properties":{"request_id":{"type":"string","description":"Request ID for debugging.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"log_id":{"type":"string","description":"Log ID for debugging.","isRequired":true,"uniqueKey":"log_id","typeLabel":"string"},"error_detail":{"type":"object","required":["code","code_message","message"],"properties":{"code":{"type":"string","description":"Error Code. See [Error Codes](/docs/response-description#error-codes).","isRequired":true,"uniqueKey":"error_detail.code","typeLabel":"string"},"code_message":{"type":"string","description":"Error summary.","isRequired":true,"uniqueKey":"error_detail.code_message","typeLabel":"string"},"message":{"type":"string","description":"Error message.","isRequired":true,"uniqueKey":"error_detail.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error_detail","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"01A1E397-AF68-53D9-8CFD-6831D8F108BD","log_id":"100000000","error_detail":{"code":"ERROR_PARAMETERS","code_message":"Invalid parameters.","message":"Invalid parameters. - image: Cannot be empty."}},"examples":{"Example":{"title":"Example","value":{"request_id":"01A1E397-AF68-53D9-8CFD-6831D8F108BD","log_id":"100000000","error_detail":{"code":"ERROR_PARAMETERS","code_message":"Invalid parameters.","message":"Invalid parameters. - image: Cannot be empty."}}}},"exampleType":"examples"}},"exampleType":"examples"},"aecd017f-bb18-4e7f-8bd2-2c97427dc08f":{"content":{"application/json":{"schema":{"type":"object","required":["request_id","log_id","error_detail"],"properties":{"request_id":{"type":"string","description":"Request ID for debugging.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"log_id":{"type":"string","description":"Log ID for debugging.","isRequired":true,"uniqueKey":"log_id","typeLabel":"string"},"error_detail":{"type":"object","required":["code","code_message","message"],"properties":{"code":{"type":"string","description":"Error Code. See [Error Codes](/docs/response-description#error-codes).","isRequired":true,"uniqueKey":"error_detail.code","typeLabel":"string"},"code_message":{"type":"string","description":"Error summary.","isRequired":true,"uniqueKey":"error_detail.code_message","typeLabel":"string"},"message":{"type":"string","description":"Error message.","isRequired":true,"uniqueKey":"error_detail.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error_detail","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"01A1E397-AF68-53D9-8CFD-6831D8F108BD","log_id":"100000000","error_detail":{"code":"ERROR_INTERNAL_SERVER_ERROR","code_message":"Internal server error. Please try again later. If not resolved promptly, contact the platform.","message":"Internal server error. Please try again later. If not resolved promptly, contact the platform."}},"examples":{"Example":{"title":"Example","value":{"request_id":"01A1E397-AF68-53D9-8CFD-6831D8F108BD","log_id":"100000000","error_detail":{"code":"ERROR_INTERNAL_SERVER_ERROR","code_message":"Internal server error. Please try again later. If not resolved promptly, contact the platform.","message":"Internal server error. Please try again later. If not resolved promptly, contact the platform."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"e8326331-5448-4cbd-a018-b48169263b5d":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"ailabapi-api-key","description":"API KEY for authentication. See [Get API KEY](/docs/get-api-key).","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"458ded25-1205-4d4c-9854-a748c4497810":{"url":"https://www.ailabapi.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"ailabapi-api-key","description":"API KEY for authentication. See [Get API KEY](/docs/get-api-key).","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"ailabapi-api-key","type":"string","description":"API KEY for authentication. See [Get API KEY](/docs/get-api-key).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"ailabapi-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"docs/ai-model/video/vidu/q4/reference-to-video-openapi.json"},"subdomain":"ailabtools","siteName":"AILabTools API Docs","title":"Vidu Q4 Reference to Video API - AILabTools API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T12:57:42.343Z","originalFileLocation":"docs/ai-model/video/vidu/q4/reference-to-video.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.\">\u003cmeta data-mint-head name=\"keywords\" content=\"AILabTools API, AI API, Image API, Image Editing API, Image Enhancement API, Background Removal API, Portrait Enhancement API, AI Generation API, Face Editing API, REST API\">\u003cmeta data-mint-head name=\"application-name\" content=\"AILabTools API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Vidu Q4 Reference to Video API - AILabTools API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Explore AILabTools APIs for image editing, enhancement, generation, and analysis. Integrate powerful AI features with ease.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AILabTools\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ai-resource.ailabtools.com/web/static/svg/ailabToolsLogo.svg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Vidu Q4 Reference to Video API - AILabTools API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Explore AILabTools APIs for image editing, enhancement, generation, and analysis. Integrate powerful AI features with ease.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ai-resource.ailabtools.com/web/static/svg/ailabToolsLogo.svg\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ailabtools/2GUe6oeXFhElR505/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AILabTools API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#f61b5b\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en\">\u003cmeta data-mint-head name=\"author\" content=\"AILabTools\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/ai-model/video/vidu/q4/reference-to-video.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ailabtools.com/#organization\",\"name\":\"AILabTools API Docs\",\"url\":\"https://www.ailabtools.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ailabtools/vuQkoUaImoItlRBI/assets/images/light.webp?fit=max\u0026auto=format\u0026n=vuQkoUaImoItlRBI\u0026q=85\u0026s=d53a044abda344a6ac24240933cbca8b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.ailabtools.com#website\",\"name\":\"AILabTools API Docs\",\"url\":\"https://www.ailabtools.com\",\"publisher\":{\"@id\":\"https://www.ailabtools.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video#webpage\",\"url\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video\",\"name\":\"Vidu Q4 Reference to Video API\",\"description\":\"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.\",\"dateModified\":\"2026-11-24T12:57:42.343Z\",\"isPartOf\":{\"@id\":\"https://www.ailabtools.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Models\",\"item\":\"https://www.ailabtools.com/docs/ai-model/video/pixverse/v6-max/text-to-video\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Video\",\"item\":\"https://www.ailabtools.com/docs/ai-model/video/pixverse/v6-max/text-to-video\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Vidu\",\"item\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/image-to-video\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Vidu Q4 Reference to Video API\",\"item\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video#apireference\",\"headline\":\"Vidu Q4 Reference to Video API\",\"name\":\"Vidu Q4 Reference to Video API\",\"description\":\"Generate a Vidu Q4 video from reference images and a text prompt, with optional reference audio, configurable aspect ratio, output resolution, duration, and audio generation.\",\"url\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video\",\"mainEntityOfPage\":{\"@id\":\"https://www.ailabtools.com/docs/ai-model/video/vidu/q4/reference-to-video#webpage\"},\"image\":\"https://ai-resource.ailabtools.com/web/static/svg/ailabToolsLogo.svg\",\"dateModified\":\"2026-11-24T12:57:42.343Z\",\"publisher\":{\"@id\":\"https://www.ailabtools.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.ailabtools.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AILabTools API Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AILabTools API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/ai-model/video/vidu/q4/reference-to-video.md","siteName":"AILabTools API Docs","nav":{"global":null,"groups":[{"group":"Preface","icon":"book","pages":[{"title":"Introduction","mode":"wide","href":"/docs/introduction"},{"title":"File Storage Policy","href":"/docs/file-storage-policy"},{"title":"Billing Introduction","href":"/docs/billing-introduction"}]},{"group":"Quick Start","icon":"rocket","pages":[{"title":"Get API KEY","href":"/docs/get-api-key"},{"title":"SDKs","href":"/docs/sdks"},{"title":"Response Description","href":"/docs/response-description"}]},{"group":"Platform","icon":"layers-intersect","pages":[{"title":"Querying Credits","openapi":"GET /api/common/query-credits","href":"/docs/ai-common/querying-credits/api"},{"title":"Querying Async Task Results","openapi":"GET /api/common/query-async-task-result","href":"/docs/ai-common/async-task-results/api"}]},{"group":"AI Capabilities","icon":"sparkles","pages":[{"group":"Portrait","icon":"user","pages":[{"group":"Effects","icon":"masks-theater","pages":[{"group":"Cartoon Yourself","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Cartoon Yourself","href":"/docs/ai-portrait/effects/portrait-animation"},{"sidebarTitle":"API","title":"Cartoon Yourself API","openapi":"POST /api/portrait/effects/portrait-animation","href":"/docs/ai-portrait/effects/portrait-animation/api"}]},{"group":"Merge Portraits","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Merge Portraits","href":"/docs/ai-portrait/effects/face-fusion"},{"sidebarTitle":"API","title":"Merge Portraits API","openapi":"POST /api/portrait/effects/face-fusion","href":"/docs/ai-portrait/effects/face-fusion/api"}]},{"group":"Smart Beauty","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Smart Beauty","href":"/docs/ai-portrait/effects/smart-beauty"},{"sidebarTitle":"API","title":"Smart Beauty API","openapi":"POST /api/portrait/effects/smart-beauty","href":"/docs/ai-portrait/effects/smart-beauty/api"},{"title":"Smart Beauty Async API","openapi":"POST /api/portrait/effects/smart-beauty","href":"/docs/ai-portrait/effects/smart-beauty/async-api"}]},{"group":"AI Skin Enhancement","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Skin Enhancement","href":"/docs/ai-portrait/effects/smart-skin"},{"sidebarTitle":"API","title":"AI Skin Enhancement API","openapi":"POST /api/portrait/effects/smart-skin","href":"/docs/ai-portrait/effects/smart-skin/api"}]},{"group":"AI Skin Enhancement Advanced","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Skin Enhancement Advanced","href":"/docs/ai-portrait/effects/smart-skin-advanced"},{"sidebarTitle":"API","title":"AI Skin Enhancement Advanced API","openapi":"POST /api/portrait/effects/smart-skin-advanced","href":"/docs/ai-portrait/effects/smart-skin-advanced/api"}]},{"group":"AI Face Slimming","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Face Slimming","href":"/docs/ai-portrait/effects/smart-face-slimming"},{"sidebarTitle":"API","title":"AI Face Slimming API","openapi":"POST /api/portrait/effects/smart-face-slimming","href":"/docs/ai-portrait/effects/smart-face-slimming/api"}]},{"group":"Face Beauty","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Beauty","href":"/docs/ai-portrait/effects/face-beauty"},{"sidebarTitle":"API","title":"Face Beauty API","openapi":"POST /api/portrait/effects/face-beauty","href":"/docs/ai-portrait/effects/face-beauty/api"}]},{"group":"Face Beauty Advanced","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Beauty Advanced","href":"/docs/ai-portrait/effects/face-beauty-advanced"},{"sidebarTitle":"API","title":"Face Beauty Advanced API","openapi":"POST /api/portrait/effects/face-beauty-advanced","href":"/docs/ai-portrait/effects/face-beauty-advanced/api"}]},{"group":"Face Beauty Pro","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Beauty Pro","href":"/docs/ai-portrait/effects/face-beauty-pro"},{"sidebarTitle":"API","title":"Face Beauty Pro API","openapi":"POST /api/portrait/effects/face-beauty-pro","href":"/docs/ai-portrait/effects/face-beauty-pro/api"},{"title":"Face Beauty Pro Async API","openapi":"POST /api/portrait/effects/face-beauty-pro","href":"/docs/ai-portrait/effects/face-beauty-pro/async-api"}]},{"group":"Face Filter","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Filters","href":"/docs/ai-portrait/effects/face-filter"},{"sidebarTitle":"API","title":"Face Filters API","openapi":"POST /api/portrait/effects/face-filter","href":"/docs/ai-portrait/effects/face-filter/api"}]},{"group":"Change Facial Expressions Advanced","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Change Facial Expressions Advanced","href":"/docs/ai-portrait/effects/emotion-editor-advanced"},{"sidebarTitle":"API","title":"Change Facial Expressions Advanced API","openapi":"POST /api/portrait/effects/emotion-editor-advanced","href":"/docs/ai-portrait/effects/emotion-editor-advanced/api"}]},{"group":"Hairstyle Changer Pro","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Hairstyle Changer Pro","href":"/docs/ai-portrait/effects/hairstyle-editor-pro"},{"sidebarTitle":"API","title":"Hairstyle Changer Pro API","openapi":"POST /api/portrait/effects/hairstyle-editor-pro","href":"/docs/ai-portrait/effects/hairstyle-editor-pro/api"},{"title":"Photo Validation Guide","href":"/docs/ai-portrait/effects/hairstyle-editor-pro/guide"}]},{"group":"Hairstyle Changer Premium","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Hairstyle Changer Premium","href":"/docs/ai-portrait/effects/hairstyle-editor-premium"},{"sidebarTitle":"API","title":"Hairstyle Changer Premium API","openapi":"POST /api/portrait/effects/hairstyle-editor-premium","href":"/docs/ai-portrait/effects/hairstyle-editor-premium/api"},{"title":"Photo Validation Guide","href":"/docs/ai-portrait/effects/hairstyle-editor-premium/guide"}]},{"group":"Face Blur","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Blur","href":"/docs/ai-portrait/effects/blurred-faces"},{"sidebarTitle":"API","title":"Face Blur API","openapi":"POST /api/portrait/effects/blurred-faces","href":"/docs/ai-portrait/effects/blurred-faces/api"}]},{"group":"Age \u0026 Gender Swap","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Age \u0026 Gender Swap","href":"/docs/ai-portrait/effects/face-attribute-editing"},{"sidebarTitle":"API","title":"Age \u0026 Gender Swap API","openapi":"POST /api/portrait/effects/face-attribute-editing","href":"/docs/ai-portrait/effects/face-attribute-editing/api"}]},{"group":"AI Face Enhancer","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Face Enhancer","href":"/docs/ai-portrait/effects/ai-face-enhancer"},{"sidebarTitle":"API","title":"AI Face Enhancer API","openapi":"POST /api/portrait/effects/enhance-face","href":"/docs/ai-portrait/effects/ai-face-enhancer/api"}]},{"group":"Lips Color Changer","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Lips Color Changer","href":"/docs/ai-portrait/effects/lips-color-changer"},{"sidebarTitle":"API","title":"Lips Color Changer API","openapi":"POST /api/portrait/effects/lips-color-changer","href":"/docs/ai-portrait/effects/lips-color-changer/api"}]},{"group":"AI Square Face Filter","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Square Face Filter","href":"/docs/ai-portrait/effects/ai-square-face-filter"},{"sidebarTitle":"API","title":"AI Square Face Filter API","openapi":"POST /api/portrait/effects/ai-square-face-filter","href":"/docs/ai-portrait/effects/ai-square-face-filter/api"}]},{"group":"AI Big Head Effect","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Big Head Effect","href":"/docs/ai-portrait/effects/ai-big-head-effect"},{"sidebarTitle":"API","title":"AI Big Head Effect API","openapi":"POST /api/portrait/effects/ai-big-head-effect","href":"/docs/ai-portrait/effects/ai-big-head-effect/api"}]},{"group":"AI Red Lip Gloss","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Red Lip Gloss","href":"/docs/ai-portrait/effects/ai-red-lip-gloss"},{"sidebarTitle":"API","title":"AI Red Lip Gloss API","openapi":"POST /api/portrait/effects/ai-red-lip-gloss","href":"/docs/ai-portrait/effects/ai-red-lip-gloss/api"}]},{"group":"AI Lip Bite Expressions","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Lip Bite Expressions","href":"/docs/ai-portrait/effects/ai-lip-bite-expressions"},{"sidebarTitle":"API","title":"AI Lip Bite Expressions API","openapi":"POST /api/portrait/effects/ai-lip-bite-expressions","href":"/docs/ai-portrait/effects/ai-lip-bite-expressions/api"}]},{"group":"AI Halloween Mask","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Halloween Mask","href":"/docs/ai-portrait/effects/ai-halloween-mask"},{"sidebarTitle":"API","title":"AI Halloween Mask API","openapi":"POST /api/portrait/effects/ai-halloween-mask","href":"/docs/ai-portrait/effects/ai-halloween-mask/api"}]},{"group":"AI Pregnant Filter","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Pregnant Filter","href":"/docs/ai-portrait/effects/ai-pregnant-filter"},{"sidebarTitle":"API","title":"AI Pregnant Filter API","openapi":"POST /api/portrait/effects/ai-pregnant-filter","href":"/docs/ai-portrait/effects/ai-pregnant-filter/api"}]},{"group":"AI Birthday Image Generator","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Birthday Image Generator","href":"/docs/ai-portrait/effects/ai-birthday-image-generator"},{"sidebarTitle":"API","title":"AI Birthday Image Generator API","openapi":"POST /api/portrait/effects/ai-birthday-image-generator","href":"/docs/ai-portrait/effects/ai-birthday-image-generator/api"}]},{"group":"AI Fortune Teller","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Fortune Teller","href":"/docs/ai-portrait/effects/ai-fortune-teller"},{"sidebarTitle":"API","title":"AI Fortune Teller API","openapi":"POST /api/portrait/effects/ai-fortune-teller","href":"/docs/ai-portrait/effects/ai-fortune-teller/api"}]},{"group":"AI Elf Name Generator","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Elf Name Generator","href":"/docs/ai-portrait/effects/ai-elf-name-generator"},{"sidebarTitle":"API","title":"AI Elf Name Generator API","openapi":"POST /api/portrait/effects/ai-elf-name-generator","href":"/docs/ai-portrait/effects/ai-elf-name-generator/api"}]}]},{"group":"Editing","icon":"edit","pages":[{"group":"AI Breast Expansion","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Breast Expansion","href":"/docs/ai-portrait/editing/ai-breast-expansion"},{"sidebarTitle":"API","title":"AI Breast Expansion API","openapi":"POST /api/portrait/editing/ai-big-tits","href":"/docs/ai-portrait/editing/ai-breast-expansion/api"}]},{"group":"AI Face Swap","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Face Swap","href":"/docs/ai-portrait/editing/ai-face-swap"},{"sidebarTitle":"API","title":"AI Face Swap API","openapi":"POST /api/portrait/editing/ai-face-swap","href":"/docs/ai-portrait/editing/ai-face-swap/api"}]},{"group":"Try-on Clothes","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Try on Clothes","href":"/docs/ai-portrait/editing/try-on-clothes"},{"sidebarTitle":"API","title":"Try on Clothes API","openapi":"POST /api/portrait/editing/try-on-clothes","href":"/docs/ai-portrait/editing/try-on-clothes/api"}]},{"group":"Try-on Clothes Pro","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Try on Clothes Pro","href":"/docs/ai-portrait/editing/try-on-clothes-pro"},{"sidebarTitle":"API","title":"Try on Clothes Pro API","openapi":"POST /api/portrait/editing/try-on-clothes-pro","href":"/docs/ai-portrait/editing/try-on-clothes-pro/api"}]},{"group":"AI Colored Contacts","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Colored Contacts","href":"/docs/ai-portrait/editing/ai-colored-contacts"},{"sidebarTitle":"API","title":"AI Colored Contacts API","openapi":"POST /api/portrait/editing/ai-colored-contacts","href":"/docs/ai-portrait/editing/ai-colored-contacts/api"}]},{"group":"AI Eyelashes","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Eyelashes","href":"/docs/ai-portrait/editing/ai-eyelashes"},{"sidebarTitle":"API","title":"AI Eyelashes API","openapi":"POST /api/portrait/editing/ai-eyelashes","href":"/docs/ai-portrait/editing/ai-eyelashes/api"}]},{"group":"AI Eyebrows","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Eyebrows","href":"/docs/ai-portrait/editing/ai-eyebrows"},{"sidebarTitle":"API","title":"AI Eyebrows API","openapi":"POST /api/portrait/editing/ai-eyebrows","href":"/docs/ai-portrait/editing/ai-eyebrows/api"}]},{"group":"AI Hair Color","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Hair Color","href":"/docs/ai-portrait/editing/ai-hair-color"},{"sidebarTitle":"API","title":"AI Hair Color API","openapi":"POST /api/portrait/editing/ai-hair-color","href":"/docs/ai-portrait/editing/ai-hair-color/api"}]},{"group":"AI Beard Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Beard Removal","href":"/docs/ai-portrait/editing/ai-beard-removal"},{"sidebarTitle":"API","title":"AI Beard Removal API","openapi":"POST /api/portrait/editing/ai-beard-removal","href":"/docs/ai-portrait/editing/ai-beard-removal/api"}]},{"group":"AI Hair Loss Simulation","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Hair Loss Simulation","href":"/docs/ai-portrait/editing/ai-hair-loss-simulation"},{"sidebarTitle":"API","title":"AI Hair Loss Simulation API","openapi":"POST /api/portrait/editing/ai-hair-loss-simulation","href":"/docs/ai-portrait/editing/ai-hair-loss-simulation/api"}]},{"group":"AI Beard Styling","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Beard Styling","href":"/docs/ai-portrait/editing/ai-beard-styling"},{"sidebarTitle":"API","title":"AI Beard Styling API","openapi":"POST /api/portrait/editing/ai-beard-styling","href":"/docs/ai-portrait/editing/ai-beard-styling/api"}]},{"group":"AI Bald","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Bald","href":"/docs/ai-portrait/editing/ai-bald"},{"sidebarTitle":"API","title":"AI Bald API","openapi":"POST /api/portrait/editing/ai-bald","href":"/docs/ai-portrait/editing/ai-bald/api"}]},{"group":"AI Butt Enhancement","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Butt Enhancement","href":"/docs/ai-portrait/editing/ai-butt-enhancement"},{"sidebarTitle":"API","title":"AI Butt Enhancement API","openapi":"POST /api/portrait/editing/ai-butt-enhancement","href":"/docs/ai-portrait/editing/ai-butt-enhancement/api"}]},{"group":"AI Waist Slimming","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Waist Slimming","href":"/docs/ai-portrait/editing/ai-waist-slimming"},{"sidebarTitle":"API","title":"AI Waist Slimming API","openapi":"POST /api/portrait/editing/ai-waist-slimming","href":"/docs/ai-portrait/editing/ai-waist-slimming/api"}]},{"group":"AI Lip Enhancement","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Lip Enhancement","href":"/docs/ai-portrait/editing/ai-lip-enhancement"},{"sidebarTitle":"API","title":"AI Lip Enhancement API","openapi":"POST /api/portrait/editing/ai-lip-enhancement","href":"/docs/ai-portrait/editing/ai-lip-enhancement/api"}]},{"group":"AI Fat Filter","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Fat Filter","href":"/docs/ai-portrait/editing/ai-fat-filter"},{"sidebarTitle":"API","title":"AI Fat Filter API","openapi":"POST /api/portrait/editing/ai-fat-filter","href":"/docs/ai-portrait/editing/ai-fat-filter/api"}]},{"group":"AI Eyeshadow Try-On","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Eyeshadow Try-On","href":"/docs/ai-portrait/editing/ai-eyeshadow"},{"sidebarTitle":"API","title":"AI Eyeshadow Try-On API","openapi":"POST /api/portrait/editing/ai-eyeshadow","href":"/docs/ai-portrait/editing/ai-eyeshadow/api"}]},{"group":"AI Tattoo Generator","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Tattoo Generator","href":"/docs/ai-portrait/editing/ai-tattoo-generator"},{"sidebarTitle":"API","title":"AI Tattoo Generator API","openapi":"POST /api/portrait/editing/ai-tattoo-generator","href":"/docs/ai-portrait/editing/ai-tattoo-generator/api"}]}]},{"group":"Enhancement","icon":"user-cog","pages":[{"group":"AI Old Photo Restoration","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Old Photo Restoration","href":"/docs/ai-portrait/enhance/ai-old-photo-restoration"},{"sidebarTitle":"API","title":"AI Old Photo Restoration API","openapi":"POST /api/portrait/enhance/ai-old-photo-restoration","href":"/docs/ai-portrait/enhance/ai-old-photo-restoration/api"}]}]},{"group":"Analysis","icon":"search","pages":[{"group":"Facial Landmarks","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Facial Landmarks","href":"/docs/ai-portrait/analysis/face-key-points"},{"sidebarTitle":"API","title":"Facial Landmarks API","openapi":"POST /api/portrait/analysis/face-key-points","href":"/docs/ai-portrait/analysis/face-key-points/api"},{"sidebarTitle":"Face Spatial Pose Angle Reference","title":"Facial Landmarks - Face Spatial Pose Angle Reference","href":"/docs/ai-portrait/analysis/face-key-points/face-spatial-pose-angle-reference"},{"sidebarTitle":"72 feature points","title":"Facial Landmarks - 72 feature points","href":"/docs/ai-portrait/analysis/face-key-points/feature-points-72"},{"sidebarTitle":"150 feature points","title":"Facial Landmarks - 150 feature points","href":"/docs/ai-portrait/analysis/face-key-points/feature-points-150"},{"sidebarTitle":"201 feature points","title":"Facial Landmarks - 201 feature points","href":"/docs/ai-portrait/analysis/face-key-points/feature-points-201"}]},{"group":"Skin Analyze","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Skin Analyze","href":"/docs/ai-portrait/analysis/skin-analysis"},{"sidebarTitle":"API","title":"Skin Analyze API","openapi":"POST /api/portrait/analysis/skin-analysis","href":"/docs/ai-portrait/analysis/skin-analysis/api"}]},{"group":"Skin Analyze Advanced","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Skin Analyze Advanced","href":"/docs/ai-portrait/analysis/skin-analysis-advanced"},{"sidebarTitle":"API","title":"Skin Analyze Advanced API","openapi":"POST /api/portrait/analysis/skin-analysis-advanced","href":"/docs/ai-portrait/analysis/skin-analysis-advanced/api"}]},{"group":"Skin Analyze Pro","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Skin Analyze Pro","href":"/docs/ai-portrait/analysis/skin-analysis-pro"},{"sidebarTitle":"Analysis API","title":"Skin Analyze Pro API","openapi":"POST /api/portrait/analysis/skin-analysis-pro","href":"/docs/ai-portrait/analysis/skin-analysis-pro/api"},{"sidebarTitle":"Report API","title":"Skin Analyze Pro Report API","openapi":"POST /api/portrait/analysis/skin-analysis-pro/report","href":"/docs/ai-portrait/analysis/skin-analysis-pro/report-api"},{"sidebarTitle":"Analysis Response Reference","title":"Skin Analyze Pro – Analysis Response Reference","href":"/docs/ai-portrait/analysis/skin-analysis-pro/response"},{"sidebarTitle":"Version History","title":"Skin Analyze Pro Version History","href":"/docs/ai-portrait/analysis/skin-analysis-pro/version-logs"}]},{"group":"Face Analyzer","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Analyzer","href":"/docs/ai-portrait/analysis/face-analyzer"},{"sidebarTitle":"API","title":"Face Analyzer API","openapi":"POST /api/portrait/analysis/face-analyzer","href":"/docs/ai-portrait/analysis/face-analyzer/api"}]},{"group":"Face Analyzer Advanced","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Face Analyzer Advanced","href":"/docs/ai-portrait/analysis/face-analyzer-advanced"},{"sidebarTitle":"API","title":"Face Analyzer Advanced API","openapi":"POST /api/portrait/analysis/face-analyzer-advanced","href":"/docs/ai-portrait/analysis/face-analyzer-advanced/api"}]},{"group":"AI Face Rating","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Face Rating","href":"/docs/ai-portrait/analysis/ai-face-rating"},{"sidebarTitle":"API","title":"AI Face Rating API","openapi":"POST /api/portrait/analysis/ai-face-rating","href":"/docs/ai-portrait/analysis/ai-face-rating/api"}]},{"group":"AI Attractiveness Analysis","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Attractiveness Analysis","href":"/docs/ai-portrait/analysis/ai-attractiveness-analysis"},{"sidebarTitle":"API","title":"AI Attractiveness Analysis API","openapi":"POST /api/portrait/analysis/ai-face-rating","href":"/docs/ai-portrait/analysis/ai-attractiveness-analysis/api"}]}]}]},{"group":"Image","icon":"photo","pages":[{"group":"Generation","icon":"wand","pages":[{"group":"AI Flower Wallpaper","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Flower Wallpaper","href":"/docs/ai-image/generation/ai-flower-wallpaper"},{"sidebarTitle":"API","title":"AI Flower Wallpaper API","openapi":"POST /api/image/generation/ai-flower-wallpaper","href":"/docs/ai-image/generation/ai-flower-wallpaper/api"}]}]},{"group":"Effects","icon":"palette","pages":[{"group":"AI Cartoon Generator","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Cartoon Generator","href":"/docs/ai-image/effects/ai-anime-generator"},{"sidebarTitle":"API","title":"AI Cartoon Generator API","openapi":"POST /api/image/effects/ai-anime-generator","href":"/docs/ai-image/effects/ai-anime-generator/api"}]},{"group":"AI Photo Colorize","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Photo Colorize","href":"/docs/ai-image/effects/image-colorization"},{"sidebarTitle":"API","title":"AI Photo Colorize API","openapi":"POST /api/image/effects/image-colorization","href":"/docs/ai-image/effects/image-colorization/api"}]},{"group":"Photo to Painting","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Photo to Painting","href":"/docs/ai-image/effects/image-style-conversion"},{"sidebarTitle":"API","title":"Photo to Painting API","openapi":"POST /api/image/effects/image-style-conversion","href":"/docs/ai-image/effects/image-style-conversion/api"}]},{"group":"Photo to Coloring Page","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Photo to Coloring Page","href":"/docs/ai-image/effects/photo-to-line-art"},{"sidebarTitle":"API","title":"Photo to Coloring Page API","openapi":"POST /api/image/effects/photo-to-line-art","href":"/docs/ai-image/effects/photo-to-line-art/api"}]},{"group":"AI Emoji Generator","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Emoji Generator","href":"/docs/ai-image/effects/photo-to-emoji-grid"},{"sidebarTitle":"API","title":"AI Emoji Generator API","openapi":"POST /api/image/effects/photo-to-emoji-grid","href":"/docs/ai-image/effects/photo-to-emoji-grid/api"}]},{"group":"AI Photography","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Photography","href":"/docs/ai-image/effects/ai-photography"},{"sidebarTitle":"API","title":"AI Photography API","openapi":"POST /api/image/effects/ai-photography","href":"/docs/ai-image/effects/ai-photography/api"}]}]},{"group":"Editing","icon":"scissors","pages":[{"group":"AI Image Cropping","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Image Cropping","href":"/docs/ai-image/editing/image-cropping"},{"sidebarTitle":"API","title":"AI Image Cropping API","openapi":"POST /api/image/editing/image-cropping","href":"/docs/ai-image/editing/image-cropping/api"}]},{"group":"Intelligent Composition","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Intelligent Composition","href":"/docs/ai-image/editing/intelligent-composition"},{"sidebarTitle":"API","title":"Intelligent Composition API","openapi":"POST /api/image/editing/intelligent-composition","href":"/docs/ai-image/editing/intelligent-composition/api"}]},{"group":"Photo Retouching","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Photo Retouch","href":"/docs/ai-image/editing/photo-retouching"},{"sidebarTitle":"API","title":"Photo Retouch API","openapi":"POST /api/image/editing/photo-retouching","href":"/docs/ai-image/editing/photo-retouching/api"}]},{"group":"Image Invisible Picture Watermark","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Invisible Picture Watermark","href":"/docs/ai-image/editing/image-invisible-image-watermark"},{"sidebarTitle":"API","title":"Image Invisible Picture Watermark API","openapi":"POST /api/image/editing/image-invisible-image-watermark","href":"/docs/ai-image/editing/image-invisible-image-watermark/api"}]},{"group":"Image Invisible Text Watermarking","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Invisible Text Watermark","href":"/docs/ai-image/editing/image-invisible-text-watermarking"},{"sidebarTitle":"API","title":"Image Invisible Text Watermark API","openapi":"POST /api/image/editing/image-invisible-text-watermarking","href":"/docs/ai-image/editing/image-invisible-text-watermarking/api"}]},{"group":"Remove Objects","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Remove Objects","href":"/docs/ai-image/editing/remove-objects"},{"sidebarTitle":"API","title":"Remove Objects API","openapi":"POST /api/image/editing/remove-objects","href":"/docs/ai-image/editing/remove-objects/api"}]},{"group":"Remove Objects Pro","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Remove Objects Pro","href":"/docs/ai-image/editing/remove-objects-pro"},{"sidebarTitle":"API","title":"Remove Objects Pro API","openapi":"POST /api/image/editing/remove-objects-pro","href":"/docs/ai-image/editing/remove-objects-pro/api"}]},{"group":"AI Object Replacer","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Object Replacer","href":"/docs/ai-image/editing/ai-object-replacer"},{"sidebarTitle":"API","title":"AI Object Replacer API","openapi":"POST /api/image/editing/ai-object-replacer","href":"/docs/ai-image/editing/ai-object-replacer/api"}]},{"group":"AI Image Extender","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Image Extender","href":"/docs/ai-image/editing/ai-image-extender"},{"sidebarTitle":"API","title":"AI Image Extender API","openapi":"POST /api/image/editing/ai-image-extender","href":"/docs/ai-image/editing/ai-image-extender/api"}]},{"group":"AI Nail Art","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Nail Art","href":"/docs/ai-image/editing/ai-nail-art"},{"sidebarTitle":"API","title":"AI Nail Art API","openapi":"POST /api/image/editing/ai-nail-art","href":"/docs/ai-image/editing/ai-nail-art/api"}]},{"group":"AI Nail Art Pro","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Nail Art Pro","href":"/docs/ai-image/editing/ai-nail-art-pro"},{"sidebarTitle":"API","title":"AI Nail Art Pro API","openapi":"POST /api/image/editing/ai-nail-art-pro","href":"/docs/ai-image/editing/ai-nail-art-pro/api"}]}]},{"group":"Enhancement","icon":"arrow-up","pages":[{"group":"Image Dehaze","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Dehaze","href":"/docs/ai-image/enhance/image-defogging"},{"sidebarTitle":"API","title":"Image Dehaze API","openapi":"POST /api/image/enhance/image-defogging","href":"/docs/ai-image/enhance/image-defogging/api"}]},{"group":"Image Upscaler","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Upscaler","href":"/docs/ai-image/enhance/image-lossless-enlargement"},{"sidebarTitle":"API","title":"Image Upscaler API","openapi":"POST /api/image/enhance/image-lossless-enlargement","href":"/docs/ai-image/enhance/image-lossless-enlargement/api"}]},{"group":"Stretched Image Restoration","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Stretched Image Restoration","href":"/docs/ai-image/enhance/stretch-image-recovery"},{"sidebarTitle":"API","title":"Stretched Image Restoration API","openapi":"POST /api/image/enhance/stretch-image-recovery","href":"/docs/ai-image/enhance/stretch-image-recovery/api"}]},{"group":"Image Sharpness Enhancement","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Sharpness Enhancement","href":"/docs/ai-image/enhance/image-sharpness-enhancement"},{"sidebarTitle":"API","title":"Image Sharpness Enhancement API","openapi":"POST /api/image/enhance/image-sharpness-enhancement","href":"/docs/ai-image/enhance/image-sharpness-enhancement/api"}]},{"group":"Image Contrast Enhancement","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Contrast Enhancement","href":"/docs/ai-image/enhance/image-contrast-enhancement"},{"sidebarTitle":"API","title":"Image Contrast Enhancement API","openapi":"POST /api/image/enhance/image-contrast-enhancement","href":"/docs/ai-image/enhance/image-contrast-enhancement/api"}]},{"group":"Image Color Enhancement","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Color Enhancement","href":"/docs/ai-image/enhance/image-color-enhancement"},{"sidebarTitle":"API","title":"Image Color Enhancement API","openapi":"POST /api/image/enhance/image-color-enhancement","href":"/docs/ai-image/enhance/image-color-enhancement/api"}]},{"group":"AI Shadow Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"AI Shadow Removal","href":"/docs/ai-image/enhance/ai-shadow-removal"},{"sidebarTitle":"API","title":"AI Shadow Removal API","openapi":"POST /api/image/enhance/ai-shadow-removal","href":"/docs/ai-image/enhance/ai-shadow-removal/api"}]}]},{"group":"Rating","icon":"star","pages":[{"group":"Image Composition Aesthetics Scoring","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Composition Aesthetics Score","href":"/docs/ai-image/rating/image-composition-aesthetics-scoring"},{"sidebarTitle":"API","title":"Image Composition Aesthetics Score API","openapi":"POST /api/image/rating/image-composition-aesthetics-scoring","href":"/docs/ai-image/rating/image-composition-aesthetics-scoring/api"}]},{"group":"Image Exposure Score","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Image Exposure Score","href":"/docs/ai-image/rating/image-exposure-score"},{"sidebarTitle":"API","title":"Image Exposure Score API","openapi":"POST /api/image/rating/image-exposure-score","href":"/docs/ai-image/rating/image-exposure-score/api"}]}]}]},{"group":"Background Removal","icon":"eraser","pages":[{"group":"General","icon":"border-none","pages":[{"group":"Universal Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Universal Background Removal","href":"/docs/ai-cutout/general/universal-background-removal"},{"sidebarTitle":"API","title":"Universal Background Removal API","openapi":"POST /api/cutout/general/universal-background-removal","href":"/docs/ai-cutout/general/universal-background-removal/api"}]},{"group":"HD Universal Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"HD Universal Background Removal","href":"/docs/ai-cutout/general/hd-universal-background-removal"},{"sidebarTitle":"API","title":"HD Universal Background Removal API","openapi":"POST /api/cutout/general/hd-universal-background-removal","href":"/docs/ai-cutout/general/hd-universal-background-removal/api"}]},{"group":"Food Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Food Background Removal","href":"/docs/ai-cutout/general/food-background-removal"},{"sidebarTitle":"API","title":"Food Background Removal API","openapi":"POST /api/cutout/general/food-background-removal","href":"/docs/ai-cutout/general/food-background-removal/api"}]},{"group":"Product Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Product Background Removal","href":"/docs/ai-cutout/general/commodity-background-removal"},{"sidebarTitle":"API","title":"Product Background Removal API","openapi":"POST /api/cutout/general/commodity-background-removal","href":"/docs/ai-cutout/general/commodity-background-removal/api"}]},{"group":"Costume Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Costume Background Removal","href":"/docs/ai-cutout/general/apparel-background-removal"},{"sidebarTitle":"API","title":"Costume Background Removal API","openapi":"POST /api/cutout/general/apparel-background-removal","href":"/docs/ai-cutout/general/apparel-background-removal/api"}]}]},{"group":"Portrait","icon":"user-minus","pages":[{"group":"Human Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Portrait Background Removal","href":"/docs/ai-cutout/portrait/portrait-background-removal"},{"sidebarTitle":"API","title":"Human Background Removal API","openapi":"POST /api/cutout/portrait/portrait-background-removal","href":"/docs/ai-cutout/portrait/portrait-background-removal/api"}]},{"group":"HD Human Background Removal","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"HD Human Background Removal","href":"/docs/ai-cutout/portrait/hd-portrait-background-removal"},{"sidebarTitle":"API","title":"HD Human Background Removal API","openapi":"POST /api/cutout/portrait/hd-portrait-background-removal","href":"/docs/ai-cutout/portrait/hd-portrait-background-removal/api"}]},{"group":"Head Extraction","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Avatar Extraction","href":"/docs/ai-cutout/portrait/avatar-extraction"},{"sidebarTitle":"API","title":"Head Extraction API","openapi":"POST /api/cutout/portrait/avatar-extraction","href":"/docs/ai-cutout/portrait/avatar-extraction/api"}]},{"group":"Hairstyle Extraction","icon":"category","pages":[{"sidebarTitle":"Introduction","title":"Hairstyle Extraction","href":"/docs/ai-cutout/portrait/hairstyle-extraction"},{"sidebarTitle":"API","title":"Hairstyle Extraction API","openapi":"POST /api/cutout/portrait/hairstyle-extraction","href":"/docs/ai-cutout/portrait/hairstyle-extraction/api"}]}]}]}]},{"group":"AI Models","icon":"cpu","pages":[{"group":"Video","icon":"video","pages":[{"group":"PixVerse","icon":"category","pages":[{"title":"PixVerse V6 Max Text to Video API","sidebarTitle":"V6 Max Text to Video","openapi":"docs/ai-model/video/pixverse/v6-max/text-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/pixverse/v6-max/text-to-video"},{"title":"PixVerse V6 Max Image to Video API","sidebarTitle":"V6 Max Image to Video","openapi":"docs/ai-model/video/pixverse/v6-max/image-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/pixverse/v6-max/image-to-video"},{"title":"PixVerse V6 Text to Video API","sidebarTitle":"V6 Text to Video","openapi":"docs/ai-model/video/pixverse/v6/text-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/pixverse/v6/text-to-video"},{"title":"PixVerse V6 Image to Video API","sidebarTitle":"V6 Image to Video","openapi":"docs/ai-model/video/pixverse/v6/image-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/pixverse/v6/image-to-video"},{"title":"PixVerse V6 First \u0026 Last Frame Transition API","sidebarTitle":"V6 First \u0026 Last Frame Transition","openapi":"docs/ai-model/video/pixverse/v6/transition-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/pixverse/v6/transition"},{"title":"PixVerse V6 Video Extend API","sidebarTitle":"V6 Video Extend","openapi":"docs/ai-model/video/pixverse/v6/extend-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/pixverse/v6/extend"}]},{"group":"Vidu","icon":"category","pages":[{"title":"Vidu Q4 Image to Video API","sidebarTitle":"Q4 Image to Video","description":"Generate a Vidu Q4 video from an uploaded image, with an optional text prompt, configurable output resolution, duration, and audio generation.","openapi":"docs/ai-model/video/vidu/q4/image-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/vidu/q4/image-to-video"},{"title":"Vidu Q4 Reference to Video API","sidebarTitle":"Q4 Reference to Video","openapi":"docs/ai-model/video/vidu/q4/reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/vidu/q4/reference-to-video"}]},{"group":"Wan","icon":"category","pages":[{"title":"Wan 3.0 Prime Text to Video API","sidebarTitle":"3.0 Prime Text to Video","description":"Generate a video from a text prompt with the speed-optimized Wan 3.0 Prime model, with configurable resolution, duration, aspect ratio, and audio.","openapi":"docs/ai-model/video/wan/30-prime/text-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30-prime/text-to-video"},{"title":"Wan 3.0 Prime First \u0026 Last Frame Transition API","sidebarTitle":"3.0 Prime First \u0026 Last Frame Transition","openapi":"docs/ai-model/video/wan/30-prime/transition-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30-prime/transition"},{"title":"Wan 3.0 Prime Reference to Video API","sidebarTitle":"3.0 Prime Reference to Video","openapi":"docs/ai-model/video/wan/30-prime/reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30-prime/reference-to-video"},{"title":"Wan 3.0 Prime File \u0026 Reference to Video API","sidebarTitle":"3.0 Prime File \u0026 Reference to Video","openapi":"docs/ai-model/video/wan/30-prime/file-reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30-prime/file-reference-to-video"},{"title":"Wan 3.0 Prime Link \u0026 Reference to Video API","sidebarTitle":"3.0 Prime Link \u0026 Reference to Video","openapi":"docs/ai-model/video/wan/30-prime/link-reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30-prime/link-reference-to-video"},{"title":"Wan 3.0 Text to Video API","sidebarTitle":"3.0 Text to Video","openapi":"docs/ai-model/video/wan/30/text-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30/text-to-video"},{"title":"Wan 3.0 First \u0026 Last Frame Transition API","sidebarTitle":"3.0 First \u0026 Last Frame Transition","openapi":"docs/ai-model/video/wan/30/transition-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30/transition"},{"title":"Wan 3.0 Reference to Video API","sidebarTitle":"3.0 Reference to Video","openapi":"docs/ai-model/video/wan/30/reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30/reference-to-video"},{"title":"Wan 3.0 File \u0026 Reference to Video API","sidebarTitle":"3.0 File \u0026 Reference to Video","openapi":"docs/ai-model/video/wan/30/file-reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30/file-reference-to-video"},{"title":"Wan 3.0 Link \u0026 Reference to Video API","sidebarTitle":"3.0 Link \u0026 Reference to Video","openapi":"docs/ai-model/video/wan/30/link-reference-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/30/link-reference-to-video"},{"title":"Wan 2.7 Text to Video API","sidebarTitle":"2.7 Text to Video","openapi":"docs/ai-model/video/wan/27/text-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/27/text-to-video"},{"title":"Wan 2.7 Image to Video API","sidebarTitle":"2.7 Image to Video","openapi":"docs/ai-model/video/wan/27/image-to-video-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/27/image-to-video"},{"title":"Wan 2.7 Video Edit API","sidebarTitle":"2.7 Video Edit","openapi":"docs/ai-model/video/wan/27/video-edit-openapi.json POST /api/model/task/create","href":"/docs/ai-model/video/wan/27/video-edit"}]}]}]},{"group":"Hidden","hidden":true,"pages":[{"title":null,"href":"/docs/ai-portrait/analysis/skin-analysis-pro/case1/result"},{"title":null,"href":"/docs/ai-portrait/analysis/skin-analysis-pro/case2/result"},{"title":null,"href":"/docs/ai-portrait/analysis/skin-analysis-pro/case3/result"},{"title":null,"href":"/docs/ai-portrait/analysis/skin-analysis-pro/case4/result"}]}]},"basePath":"","title":"Vidu Q4 Reference to Video API - AILabTools API Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}