curl --request POST \ --url https://api.kie.ai/api/v1/veo/extend \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "taskId": "veo_task_abcdef123456", "prompt": "The dog continues running through the park, jumping over obstacles and playing with other dogs", "seeds": 12345, "watermark": "MyBrand", "callBackUrl": "https://your-callback-url.com/veo-extend-callback", "model": "fast"}'
import requests
url = "https://api.kie.ai/api/v1/veo/extend"
payload = {
"taskId": "veo_task_abcdef123456",
"prompt": "The dog continues running through the park, jumping over obstacles and playing with other dogs",
"seeds": 12345,
"watermark": "MyBrand",
"callBackUrl": "https://your-callback-url.com/veo-extend-callback",
"model": "fast"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
taskId: 'veo_task_abcdef123456',
prompt: 'The dog continues running through the park, jumping over obstacles and playing with other dogs',
seeds: 12345,
watermark: 'MyBrand',
callBackUrl: 'https://your-callback-url.com/veo-extend-callback',
model: 'fast'
})
};
fetch('https://api.kie.ai/api/v1/veo/extend', 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://api.kie.ai/api/v1/veo/extend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'taskId' => 'veo_task_abcdef123456',
'prompt' => 'The dog continues running through the park, jumping over obstacles and playing with other dogs',
'seeds' => 12345,
'watermark' => 'MyBrand',
'callBackUrl' => 'https://your-callback-url.com/veo-extend-callback',
'model' => 'fast'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.kie.ai/api/v1/veo/extend"
payload := strings.NewReader("{\n \"taskId\": \"veo_task_abcdef123456\",\n \"prompt\": \"The dog continues running through the park, jumping over obstacles and playing with other dogs\",\n \"seeds\": 12345,\n \"watermark\": \"MyBrand\",\n \"callBackUrl\": \"https://your-callback-url.com/veo-extend-callback\",\n \"model\": \"fast\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.kie.ai/api/v1/veo/extend")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"taskId\": \"veo_task_abcdef123456\",\n \"prompt\": \"The dog continues running through the park, jumping over obstacles and playing with other dogs\",\n \"seeds\": 12345,\n \"watermark\": \"MyBrand\",\n \"callBackUrl\": \"https://your-callback-url.com/veo-extend-callback\",\n \"model\": \"fast\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.kie.ai/api/v1/veo/extend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"taskId\": \"veo_task_abcdef123456\",\n \"prompt\": \"The dog continues running through the park, jumping over obstacles and playing with other dogs\",\n \"seeds\": 12345,\n \"watermark\": \"MyBrand\",\n \"callBackUrl\": \"https://your-callback-url.com/veo-extend-callback\",\n \"model\": \"fast\"\n}"
response = http.request(request)
puts response.read_body
Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.
POST
/
api
/
v1
/
veo
/
extend
Extend Veo3.1 Video
curl --request POST \ --url https://api.kie.ai/api/v1/veo/extend \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "taskId": "veo_task_abcdef123456", "prompt": "The dog continues running through the park, jumping over obstacles and playing with other dogs", "seeds": 12345, "watermark": "MyBrand", "callBackUrl": "https://your-callback-url.com/veo-extend-callback", "model": "fast"}'
import requests
url = "https://api.kie.ai/api/v1/veo/extend"
payload = {
"taskId": "veo_task_abcdef123456",
"prompt": "The dog continues running through the park, jumping over obstacles and playing with other dogs",
"seeds": 12345,
"watermark": "MyBrand",
"callBackUrl": "https://your-callback-url.com/veo-extend-callback",
"model": "fast"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
taskId: 'veo_task_abcdef123456',
prompt: 'The dog continues running through the park, jumping over obstacles and playing with other dogs',
seeds: 12345,
watermark: 'MyBrand',
callBackUrl: 'https://your-callback-url.com/veo-extend-callback',
model: 'fast'
})
};
fetch('https://api.kie.ai/api/v1/veo/extend', 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://api.kie.ai/api/v1/veo/extend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'taskId' => 'veo_task_abcdef123456',
'prompt' => 'The dog continues running through the park, jumping over obstacles and playing with other dogs',
'seeds' => 12345,
'watermark' => 'MyBrand',
'callBackUrl' => 'https://your-callback-url.com/veo-extend-callback',
'model' => 'fast'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.kie.ai/api/v1/veo/extend"
payload := strings.NewReader("{\n \"taskId\": \"veo_task_abcdef123456\",\n \"prompt\": \"The dog continues running through the park, jumping over obstacles and playing with other dogs\",\n \"seeds\": 12345,\n \"watermark\": \"MyBrand\",\n \"callBackUrl\": \"https://your-callback-url.com/veo-extend-callback\",\n \"model\": \"fast\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.kie.ai/api/v1/veo/extend")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"taskId\": \"veo_task_abcdef123456\",\n \"prompt\": \"The dog continues running through the park, jumping over obstacles and playing with other dogs\",\n \"seeds\": 12345,\n \"watermark\": \"MyBrand\",\n \"callBackUrl\": \"https://your-callback-url.com/veo-extend-callback\",\n \"model\": \"fast\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.kie.ai/api/v1/veo/extend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"taskId\": \"veo_task_abcdef123456\",\n \"prompt\": \"The dog continues running through the park, jumping over obstacles and playing with other dogs\",\n \"seeds\": 12345,\n \"watermark\": \"MyBrand\",\n \"callBackUrl\": \"https://your-callback-url.com/veo-extend-callback\",\n \"model\": \"fast\"\n}"
response = http.request(request)
puts response.read_body
Extend an existing Veo 3.1 video by generating new content based on the original video and a text prompt. This feature allows you to extend video duration or add new content based on your existing video clips.
Our Veo 3.1 Video Extension API is more than simple video splicing. It layers intelligent extension algorithms on top of the official models, giving you greater flexibility and markedly higher success rates — 25% of the official Google pricing (see pricing details for full details).
Capability
Details
Smart Extension
Generate new video segments based on existing videos and text prompts
Seamless Connection
Extended videos naturally connect with the original video
Flexible Control
Precisely control the style and actions of extended content through prompts
High-Quality Output
Maintain the same quality and style as the original video
Audio Track
Extended videos default to background audio, consistent with the original video
Why our Veo 3.1 Video Extension is different
Smart Content Understanding – Deeply understands the content and style of the original video to ensure coherence of extended content.
Natural Transition – Extended video segments seamlessly connect with the original video without visible splicing marks.
Flexible Control – Precisely control the actions, scenes, and styles of extended content through detailed prompts.
Significant Cost Savings – Our rates are 25% of Google’s direct API pricing.
Video Extension Workflow
The video extension feature is based on your existing Veo3.1 generated videos and works through the following steps:
Provide Original Video: Use the taskId from the original video generation task
Describe Extension Content: Use prompt to detail how you want the video to be extended
Smart Analysis: The system analyzes the content, style, and actions of the original video
Generate Extension: Generate new video segments based on analysis results and your prompts
Seamless Connection: Naturally connect the extended video with the original video
Request Parameters
string
required
Task ID of the original video generation. Must be a valid taskId returned from the video generation interface. Note: Videos generated after 1080P generation cannot be extended.
string
required
Text prompt describing the extended video content. Should detail how you want the video to be extended, including actions, scene changes, style, etc.
integer
Random seed parameter for controlling the randomness of generated content. Range: 10000-99999. Same seeds will generate similar video content, different seeds will generate different video content. If not specified, the system will automatically assign random seeds.
string
Watermark text (optional). If provided, a watermark will be added to the generated video.
string
Callback URL when the task is completed (optional). Strongly recommended for production environments.
Extension Features
Through the video extension feature, you can:
Extend video duration and add more content
Change video direction and add new actions or scenes
Add new elements while maintaining the original style
Create richer video stories
Extension Features:
Smart Analysis: Deeply understand the content and style of the original video
Natural Connection: Extended content seamlessly connects with the original video
Flexible Control: Precisely control extended content through prompts
Quality Assurance: Maintain the same quality and style as the original video
Important Notes
Can only extend videos generated through the Veo3.1 API
Extended content must also comply with platform content policies
Recommend using English prompts for best results
Video extension consumes credits, see pricing Details for specific pricing
Best Practices
Prompt Writing Suggestions
Detailed Action Description: Clearly describe how you want the video to be extended, e.g., “the dog continues running through the park, jumping over obstacles”
Maintain Style Consistency: Ensure the style of extended content matches the original video
Natural Transition: Described actions should naturally connect with the end of the original video
Use English: Recommend using English prompts for best results
Avoid Conflicts: Ensure extended content doesn’t create logical conflicts with the original video
Technical Recommendations
Use Callbacks: Strongly recommend using callback mechanisms to get results in production environments
Download Promptly: Download video files promptly after generation, URLs have time limits
Error Handling: Implement appropriate error handling and retry mechanisms
Credit Management: Monitor credit usage to ensure sufficient balance
Seed Control: Use the seeds parameter to control the randomness of generated content
Important Notes
Important Limitations
Original Video Requirements: Can only extend videos generated through the Veo3.1 API
Content Policy: Extended content must also comply with platform content policies
Credit Consumption: Video extension consumes credits, see pricing Details for specific pricing
Processing Time: Video extension may take several minutes to over ten minutes to process
URL Validity: Generated video URLs have time limits, please download and save promptly
Extended Video Features
Seamless Connection: Extended videos will naturally connect with the original video
Quality Maintenance: Extended videos maintain the same quality as the original video
Style Consistency: Extended content will maintain the visual style of the original video
Flexible Control: Prompts can precisely control the content and direction of extension
Troubleshooting
Common Error Handling
404 Error: Check if task_id and media_id are correct
400 Error: Check if the prompt complies with content policies
402 Error: Confirm the account has sufficient credits
500 Error: Temporary server issue, please try again later
Extension Quality Issues
Unnatural Connection: Try more detailed prompt descriptions
Style Inconsistency: Ensure the prompt includes style descriptions
Disconnected Actions: Check if action descriptions in the prompt are reasonable
Content Deviation: Adjust prompts to more accurately describe desired extension content
Technical Issues
Callback Receipt Failure: Check if the callback URL is accessible
Video Download Failure: Confirm URL validity and network connection
Abnormal Task Status: Use the details query interface to check task status
Insufficient Credits: Recharge credits promptly to continue using the service
Usage:
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
taskId
string
required
Task ID of the original video generation. Must be a valid taskId returned from the video generation interface. Note: Videos generated after 1080P generation cannot be extended.
Example:
"veo_task_abcdef123456"
prompt
string
required
Text prompt describing the extended video content. Should detail how you want the video to be extended, including actions, scene changes, style, etc.
Example:
"The dog continues running through the park, jumping over obstacles and playing with other dogs"
seeds
integer
Random seed parameter for controlling the randomness of generated content. Range: 10000-99999. Same seeds will generate similar video content, different seeds will generate different video content. If not specified, the system will automatically assign random seeds.
Required range: 10000 <= x <= 99999
Example:
12345
watermark
string
Watermark text (optional). If provided, a watermark will be added to the generated video.
Example:
"MyBrand"
callBackUrl
string
Callback URL when the task is completed (optional). Strongly recommended for production environments.
The system will send a POST request to this URL when video extension is completed, containing task status and results
The callback contains generated video URLs, task information, etc.
Your callback endpoint should accept POST requests with JSON payloads containing video results
429: Rate limit - Exceeded the request limit for this resource
455: Service unavailable - System is under maintenance
500: Server error - Unexpected error occurred while processing the request
501: Extension failed - Video extension task failed
505: Feature disabled - The requested feature is currently disabled
Available options:
200,
400,
401,
402,
404,
422,
429,
455,
500,
501,
505
msg
string
Response message
Example:
"success"
data
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"KIE API","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://kie.ai/logo.png","dark":"https://kie.ai/logo.png"},"favicon":"/favicon.ico","navbar":{"links":[{"href":"mailto:support@kie.ai","label":"Support"}],"primary":{"type":"button","label":"Market","href":"https://kie.ai/market"}},"footer":{},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://kie.ai/"},{"anchor":"Old Docs","icon":"book-open-cover","href":"https://old-docs.kie.ai/"}]},"languages":[{"language":"en","href":""},{"language":"cn","href":"cn"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kieai","hasAudioNarration":false,"actualSubdomain":"kieai","customDomains":["old-docs.kie.ai"],"gitSource":{"type":"github","owner":"kieai","repo":"docs.kie.ai","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92b442031ef8352173370:success","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"en","tag":"Market","count":161},{"language":"cn","tag":"market","count":161},{"language":"en","tag":"Video Models","count":55},{"language":"cn","tag":"视频系列","count":55},{"language":"en","tag":"Image Models","count":43},{"language":"cn","tag":"图像系列","count":43},{"language":"en","tag":"Suno API","count":38},{"language":"cn","tag":"Suno API","count":38},{"language":"en","tag":"Kling","count":12},{"language":"cn","tag":"Kling","count":12},{"language":"en","tag":"Wan","count":10},{"language":"cn","tag":"Wan","count":10},{"language":"en","tag":"Runway API","count":9},{"language":"cn","tag":"Runway API","count":9},{"language":"en","tag":"Chat Models","count":8},{"language":"en","tag":"Sora2","count":8},{"language":"en","tag":"Veo3.1 API","count":8},{"language":"cn","tag":"聊天系列","count":8},{"language":"cn","tag":"Sora2","count":8},{"language":"cn","tag":"Veo3.1 API","count":8}]},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"veo3-api/extend-video","slug":"/veo3-api/extend-video","pageMetadata":{"openapi":"veo3-api/veo3-api.json post /api/v1/veo/extend","title":"Extend Veo 3.1 AI Video","description":"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.","href":"/veo3-api/extend-video","hidden":false},"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: \"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.\"\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];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Heading,Info,Note,ParamField,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsx(_components.p,{children:`Extend an existing Veo 3.1 video by generating new content based on the original video and a text prompt. This feature allows you to extend video duration or add new content based on your existing video clips.`})}),`\n`,_jsxs(_components.p,{children:[`Our `,_jsx(_components.strong,{children:`Veo 3.1 Video Extension API`}),` is more than simple video splicing. It layers intelligent extension algorithms on top of the official models, giving you greater flexibility and markedly higher success rates — `,_jsx(_components.strong,{children:`25% of the official Google pricing`}),` (see `,_jsx(_components.a,{href:`https://kie.ai/pricing`,children:`pricing details`}),` for full details).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Capability`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Details`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Smart Extension`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Generate new video segments based on existing videos and text prompts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Seamless Connection`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Extended videos naturally connect with the original video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Flexible Control`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Precisely control the style and actions of extended content through prompts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`High-Quality Output`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Maintain the same quality and style as the original video`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Audio Track`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Extended videos default to background audio, consistent with the original video`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`why-our-veo-3-1-video-extension-is-different`,children:`Why our Veo 3.1 Video Extension is different`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Smart Content Understanding`}),` – Deeply understands the content and style of the original video to ensure coherence of extended content.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Natural Transition`}),` – Extended video segments seamlessly connect with the original video without visible splicing marks.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Flexible Control`}),` – Precisely control the actions, scenes, and styles of extended content through detailed prompts.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Significant Cost Savings`}),` – Our rates are 25% of Google’s direct API pricing.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`video-extension-workflow`,children:`Video Extension Workflow`}),`\n`,_jsx(_components.p,{children:`The video extension feature is based on your existing Veo3.1 generated videos and works through the following steps:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Provide Original Video`}),`: Use the `,_jsx(_components.code,{children:`taskId`}),` from the original video generation task`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Describe Extension Content`}),`: Use `,_jsx(_components.code,{children:`prompt`}),` to detail how you want the video to be extended`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Smart Analysis`}),`: The system analyzes the content, style, and actions of the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Generate Extension`}),`: Generate new video segments based on analysis results and your prompts`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seamless Connection`}),`: Naturally connect the extended video with the original video`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(ParamField,{body:`taskId`,type:`string`,required:true,id:`param-task-id`,children:_jsx(_components.p,{children:`Task ID of the original video generation. Must be a valid taskId returned from the video generation interface. Note: Videos generated after 1080P generation cannot be extended.`})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`Text prompt describing the extended video content. Should detail how you want the video to be extended, including actions, scene changes, style, etc.`})}),`\n`,_jsx(ParamField,{body:`seeds`,type:`integer`,id:`param-seeds`,children:_jsx(_components.p,{children:`Random seed parameter for controlling the randomness of generated content. Range: 10000-99999. Same seeds will generate similar video content, different seeds will generate different video content. If not specified, the system will automatically assign random seeds.`})}),`\n`,_jsx(ParamField,{body:`watermark`,type:`string`,id:`param-watermark`,children:_jsx(_components.p,{children:`Watermark text (optional). If provided, a watermark will be added to the generated video.`})}),`\n`,_jsx(ParamField,{body:`callBackUrl`,type:`string`,id:`param-call-back-url`,children:_jsx(_components.p,{children:`Callback URL when the task is completed (optional). Strongly recommended for production environments.`})}),`\n`,_jsx(Heading,{level:`3`,id:`extension-features`,children:`Extension Features`}),`\n`,_jsxs(Info,{children:[_jsx(_components.p,{children:`Through the video extension feature, you can:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Extend video duration and add more content`}),`\n`,_jsx(_components.li,{children:`Change video direction and add new actions or scenes`}),`\n`,_jsx(_components.li,{children:`Add new elements while maintaining the original style`}),`\n`,_jsx(_components.li,{children:`Create richer video stories`}),`\n`]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Extension Features:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Smart Analysis`}),`: Deeply understand the content and style of the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Natural Connection`}),`: Extended content seamlessly connects with the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Flexible Control`}),`: Precisely control extended content through prompts`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Quality Assurance`}),`: Maintain the same quality and style as the original video`]}),`\n`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Important Notes`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Can only extend videos generated through the Veo3.1 API`}),`\n`,_jsx(_components.li,{children:`Extended content must also comply with platform content policies`}),`\n`,_jsx(_components.li,{children:`Recommend using English prompts for best results`}),`\n`,_jsxs(_components.li,{children:[`Video extension consumes credits, see `,_jsx(_components.a,{href:`https://kie.ai/pricing`,children:`pricing Details`}),` for specific pricing`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(Tip,{children:[_jsx(Heading,{level:`3`,id:`prompt-writing-suggestions`,children:`Prompt Writing Suggestions`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Detailed Action Description`}),`: Clearly describe how you want the video to be extended, e.g., “the dog continues running through the park, jumping over obstacles”`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Maintain Style Consistency`}),`: Ensure the style of extended content matches the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Natural Transition`}),`: Described actions should naturally connect with the end of the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use English`}),`: Recommend using English prompts for best results`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Avoid Conflicts`}),`: Ensure extended content doesn’t create logical conflicts with the original video`]}),`\n`]}),_jsx(Heading,{level:`3`,id:`technical-recommendations`,children:`Technical Recommendations`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use Callbacks`}),`: Strongly recommend using callback mechanisms to get results in production environments`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Download Promptly`}),`: Download video files promptly after generation, URLs have time limits`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Error Handling`}),`: Implement appropriate error handling and retry mechanisms`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Credit Management`}),`: Monitor credit usage to ensure sufficient balance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seed Control`}),`: Use the seeds parameter to control the randomness of generated content`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important Notes`}),`\n`,_jsxs(Warning,{children:[_jsx(Heading,{level:`3`,id:`important-limitations`,children:`Important Limitations`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Original Video Requirements`}),`: Can only extend videos generated through the Veo3.1 API`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Content Policy`}),`: Extended content must also comply with platform content policies`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Credit Consumption`}),`: Video extension consumes credits, see `,_jsx(_components.a,{href:`https://kie.ai/pricing`,children:`pricing Details`}),` for specific pricing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Processing Time`}),`: Video extension may take several minutes to over ten minutes to process`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`URL Validity`}),`: Generated video URLs have time limits, please download and save promptly`]}),`\n`]})]}),`\n`,_jsxs(Note,{children:[_jsx(Heading,{level:`3`,id:`extended-video-features`,children:`Extended Video Features`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seamless Connection`}),`: Extended videos will naturally connect with the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Quality Maintenance`}),`: Extended videos maintain the same quality as the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Style Consistency`}),`: Extended content will maintain the visual style of the original video`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Flexible Control`}),`: Prompts can precisely control the content and direction of extension`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Common Error Handling`,id:`common-error-handling`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`404 Error`}),`: Check if task_id and media_id are correct`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`400 Error`}),`: Check if the prompt complies with content policies`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`402 Error`}),`: Confirm the account has sufficient credits`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`500 Error`}),`: Temporary server issue, please try again later`]}),`\n`]})}),_jsx(Accordion,{title:`Extension Quality Issues`,id:`extension-quality-issues`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unnatural Connection`}),`: Try more detailed prompt descriptions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Style Inconsistency`}),`: Ensure the prompt includes style descriptions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Disconnected Actions`}),`: Check if action descriptions in the prompt are reasonable`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Content Deviation`}),`: Adjust prompts to more accurately describe desired extension content`]}),`\n`]})}),_jsx(Accordion,{title:`Technical Issues`,id:`technical-issues`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Callback Receipt Failure`}),`: Check if the callback URL is accessible`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Video Download Failure`}),`: Confirm URL validity and network connection`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Abnormal Task Status`}),`: Use the details query interface to check task status`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Insufficient Credits`}),`: Recharge credits promptly to continue using the service`]}),`\n`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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":{"openapi":"veo3-api/veo3-api.json post /api/v1/veo/extend","title":"Extend Veo 3.1 AI Video","description":"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.","href":"/veo3-api/extend-video","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Why our Veo 3.1 Video Extension is different","slug":"why-our-veo-3-1-video-extension-is-different","depth":3,"children":[]},{"title":"Video Extension Workflow","slug":"video-extension-workflow","depth":3,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[{"title":"Extension Features","slug":"extension-features","depth":3,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":3,"children":[]},{"title":"Prompt Writing Suggestions","slug":"prompt-writing-suggestions","depth":3,"children":[]},{"title":"Technical Recommendations","slug":"technical-recommendations","depth":3,"children":[]}]},{"title":"Important Notes","slug":"important-notes","depth":2,"children":[{"title":"Important Limitations","slug":"important-limitations","depth":3,"children":[]},{"title":"Extended Video Features","slug":"extended-video-features","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Extend Veo3.1 Video","description":"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.","operationId":"extend-veo3-1-video","requestBody":"e5ac0868-8449-4f91-b8b1-80946d8d4bd2","responses":{"200":"1d0e5bbe-6b69-45dd-9fdf-1ea83c480768","500":"5e70cac1-ca5f-4782-ba12-399e10a1a3d6"},"callbacks":{"onVideoExtended":{"{$request.body#/callBackUrl}":{"post":{"summary":"Video Extension Callback","description":"When the video extension task is completed, the system will send the result to your provided callback URL via POST request","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Status code\n\n- **200**: Success - Video extension task successful\n- **400**: Your prompt was flagged by the website as violating content policies.\nEnglish prompts only.\nUnable to retrieve image. Please verify any access restrictions set by you or your service provider.\nPublic error: Unsafe image upload.\n- **500**: Internal error, please try again later.\nInternal error - Timeout\n- **501**: Failed - Video extension task failed","enum":[200,400,500,501]},"msg":{"type":"string","description":"Status message","example":"Veo3.1 video extension successful."},"data":{"type":"object","properties":{"taskId":{"type":"string","description":"Task ID","example":"veo_extend_task_xyz789"},"info":{"type":"object","properties":{"resultUrls":{"type":"string","description":"Extended video URLs","example":"[http://example.com/extended_video1.mp4]"},"originUrls":{"type":"string","description":"Original video URLs. Only available when aspect_ratio is not 16:9","example":"[http://example.com/original_video1.mp4]"},"resolution":{"type":"string","description":"Video resolution information","example":"1080p"}}},"fallbackFlag":{"type":"boolean","description":"Whether generated through fallback model. true means using backup model generation, false means using main model generation","example":false,"deprecated":true}}}}}}}},"responses":{"200":{"description":"Callback received successfully"}}}}}},"method":"post","type":"path","servers":["c3fa5913-4767-4437-9695-0076aca0f81f"],"security":["c3af777a-7251-44aa-b96f-d6f9a746027a"],"path":"/api/v1/veo/extend","baseUrlOptions":["https://api.kie.ai"],"title":"Extend Veo3.1 Video","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"taskId":{"type":"string","description":"Task ID of the original video generation. Must be a valid taskId returned from the video generation interface. Note: Videos generated after 1080P generation cannot be extended.","example":"veo_task_abcdef123456","isRequired":true,"uniqueKey":"taskId","typeLabel":"string"},"prompt":{"type":"string","description":"Text prompt describing the extended video content. Should detail how you want the video to be extended, including actions, scene changes, style, etc.","example":"The dog continues running through the park, jumping over obstacles and playing with other dogs","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"seeds":{"type":"integer","description":"Random seed parameter for controlling the randomness of generated content. Range: 10000-99999. Same seeds will generate similar video content, different seeds will generate different video content. If not specified, the system will automatically assign random seeds.","minimum":10000,"maximum":99999,"example":12345,"uniqueKey":"seeds","typeLabel":"integer"},"watermark":{"type":"string","description":"Watermark text (optional). If provided, a watermark will be added to the generated video.","example":"MyBrand","uniqueKey":"watermark","typeLabel":"string"},"callBackUrl":{"type":"string","description":"Callback URL when the task is completed (optional). Strongly recommended for production environments.\n\n- The system will send a POST request to this URL when video extension is completed, containing task status and results\n- The callback contains generated video URLs, task information, etc.\n- Your callback endpoint should accept POST requests with JSON payloads containing video results\n- For detailed callback format and implementation guide, see [Video Generation Callbacks](https://docs.kie.ai/veo3-api/generate-veo-3-video-callbacks)\n- To ensure callback security, see [Webhook Verification Guide](/common-api/webhook-verification) for signature verification implementation\n- Alternatively, you can use [the get video details interface](https://docs.kie.ai/veo3-api/get-veo-3-video-details) to poll task status","example":"https://your-callback-url.com/veo-extend-callback","uniqueKey":"callBackUrl","typeLabel":"string"},"model":{"type":"string","description":"Model type for video extension (optional). Defaults to `fast` if not specified.\n\n- **fast**: Fast generation mode\n- **quality**: High quality generation mode","enum":["fast","quality"],"default":"fast","example":"fast","uniqueKey":"model","typeLabel":"enum\u003cstring>"}},"required":["taskId","prompt"],"example":{"taskId":"veo_task_abcdef123456","prompt":"The dog continues running through the park, jumping over obstacles and playing with other dogs","seeds":12345,"watermark":"MyBrand","callBackUrl":"https://your-callback-url.com/veo-extend-callback","model":"fast"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"taskId":"veo_task_abcdef123456","prompt":"The dog continues running through the park, jumping over obstacles and playing with other dogs","seeds":12345,"watermark":"MyBrand","callBackUrl":"https://your-callback-url.com/veo-extend-callback","model":"fast"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1d0e5bbe-6b69-45dd-9fdf-1ea83c480768":{"description":"Request successful","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","enum":[200,400,401,402,404,422,429,455,500,501,505],"description":"Response status code\n\n- **200**: Success - Extension task created\n- **400**: Client error - Prompt violates content policy or other input errors\n- **401**: Unauthorized - Authentication credentials missing or invalid\n- **402**: Insufficient credits - Account does not have enough credits to perform the operation\n- **404**: Not found - Original video or task does not exist\n- **422**: Validation error - Request parameter validation failed\n- **429**: Rate limit - Exceeded the request limit for this resource\n- **455**: Service unavailable - System is under maintenance\n- **500**: Server error - Unexpected error occurred while processing the request\n- **501**: Extension failed - Video extension task failed\n- **505**: Feature disabled - The requested feature is currently disabled","uniqueKey":"code","typeLabel":"enum\u003cinteger>"},"msg":{"type":"string","description":"Response message","example":"success","uniqueKey":"msg","typeLabel":"string"},"data":{"type":"object","properties":{"taskId":{"type":"string","description":"Task ID that can be used to query task status via the get video details interface","example":"veo_extend_task_xyz789","uniqueKey":"data.taskId","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"example":{"code":200,"msg":"success","data":{"taskId":"veo_extend_task_xyz789"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":200,"msg":"success","data":{"taskId":"veo_extend_task_xyz789"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5e70cac1-ca5f-4782-ba12-399e10a1a3d6":{"description":"Server Error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"c3af777a-7251-44aa-b96f-d6f9a746027a":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"All APIs require authentication via Bearer Token.\n\nGet API Key: \n1. Visit [API Key Management Page](https://kie.ai/api-key) to get your API Key\n\nUsage:\nAdd to request header:\nAuthorization: Bearer YOUR_API_KEY","scopes":[]}}},"servers":{"c3fa5913-4767-4437-9695-0076aca0f81f":{"url":"https://api.kie.ai","description":"API Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"All APIs require authentication via Bearer Token.\n\nGet API Key: \n1. Visit [API Key Management Page](https://kie.ai/api-key) to get your API Key\n\nUsage:\nAdd to request header:\nAuthorization: Bearer YOUR_API_KEY","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"All APIs require authentication via Bearer Token.\n\nGet API Key: \n1. Visit [API Key Management Page](https://kie.ai/api-key) to get your API Key\n\nUsage:\nAdd to request header:\nAuthorization: Bearer YOUR_API_KEY","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"veo3-api/veo3-api.json"},"subdomain":"kieai","siteName":"KIE API","title":"Extend Veo 3.1 AI Video - KIE API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/veo3-api/extend-video","matchLevel":0},"cn":{"href":"/cn/veo3-api/extend-video","matchLevel":1}}},"lastModified":"2026-01-28T06:50:01.947Z","originalFileLocation":"veo3-api/extend-video.mdx","locale":"en"},"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=\"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.\">\u003cmeta data-mint-head name=\"application-name\" content=\"KIE API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_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/kieai/3ZXD9l7xVaY-COYG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Extend Veo 3.1 AI Video - KIE API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"KIE API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://old-docs.kie.ai/veo3-api/extend-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kieai.mintlify.site/_mintlify/api/og/v2?division=Veo3.1+API\u0026amp;title=Extend+Veo+3.1+AI+Video\u0026amp;description=Extend+an+existing+Veo3.1+video+by+generating+new+content+based+on+the+original+video+and+a+text+prompt.\u0026amp;theme=8cef956f3a5ffd26e0cab733\u0026amp;signature=4c1f44eb983737fe59c27f66567e639aeacc1f2e0fd299d30fb77700e71206a1\">\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=\"Extend Veo 3.1 AI Video - KIE API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kieai.mintlify.site/_mintlify/api/og/v2?division=Veo3.1+API\u0026amp;title=Extend+Veo+3.1+AI+Video\u0026amp;description=Extend+an+existing+Veo3.1+video+by+generating+new+content+based+on+the+original+video+and+a+text+prompt.\u0026amp;theme=8cef956f3a5ffd26e0cab733\u0026amp;signature=4c1f44eb983737fe59c27f66567e639aeacc1f2e0fd299d30fb77700e71206a1\">\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/kieai/3ZXD9l7xVaY-COYG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"KIE API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://old-docs.kie.ai/veo3-api/extend-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/veo3-api/extend-video.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://old-docs.kie.ai/veo3-api/extend-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://old-docs.kie.ai/cn/veo3-api/extend-video\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://old-docs.kie.ai/veo3-api/extend-video\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://old-docs.kie.ai/#organization\",\"name\":\"KIE API\",\"url\":\"https://old-docs.kie.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://kie.ai/logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://old-docs.kie.ai#website\",\"name\":\"KIE API\",\"url\":\"https://old-docs.kie.ai\",\"publisher\":{\"@id\":\"https://old-docs.kie.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://old-docs.kie.ai/veo3-api/extend-video#webpage\",\"url\":\"https://old-docs.kie.ai/veo3-api/extend-video\",\"name\":\"Extend Veo 3.1 AI Video\",\"description\":\"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.\",\"dateModified\":\"2026-01-28T06:50:01.947Z\",\"isPartOf\":{\"@id\":\"https://old-docs.kie.ai#website\"},\"breadcrumb\":{\"@id\":\"https://old-docs.kie.ai/veo3-api/extend-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://old-docs.kie.ai/veo3-api/extend-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Veo3.1 API\",\"item\":\"https://old-docs.kie.ai/veo3-api/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Extend Veo 3.1 AI Video\",\"item\":\"https://old-docs.kie.ai/veo3-api/extend-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://old-docs.kie.ai/veo3-api/extend-video#apireference\",\"headline\":\"Extend Veo 3.1 AI Video\",\"name\":\"Extend Veo 3.1 AI Video\",\"description\":\"Extend an existing Veo3.1 video by generating new content based on the original video and a text prompt.\",\"url\":\"https://old-docs.kie.ai/veo3-api/extend-video\",\"mainEntityOfPage\":{\"@id\":\"https://old-docs.kie.ai/veo3-api/extend-video#webpage\"},\"dateModified\":\"2026-01-28T06:50:01.947Z\",\"publisher\":{\"@id\":\"https://old-docs.kie.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://old-docs.kie.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"KIE API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"KIE API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/veo3-api/extend-video.md","siteName":"KIE API","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://kie.ai/"},{"anchor":"Old Docs","icon":"book-open-cover","href":"https://old-docs.kie.ai/"}]},"languages":[{"language":"en","tabs":[{"tab":"Market","pages":[{"title":"Getting Started with KIE API (Important)","sidebarTitle":"Getting Started","icon":"box","href":""},{"title":"Market","icon":"store","href":"/market/quickstart"},{"group":"Image Models","pages":[{"group":"Seedream","pages":[{"title":"Seedream3.0 - Text to Image","icon":"image","openapi":"market/seedream/seedream.json post /api/v1/jobs/createTask","href":"/market/seedream/seedream"},{"title":"Seedream4.0 - Text to Image","icon":"image","openapi":"market/seedream/seedream-v4-text-to-image.json post /api/v1/jobs/createTask","href":"/market/seedream/seedream-v4-text-to-image"},{"title":"Seedream4.0 - Edit","icon":"image","openapi":"market/seedream/seedream-v4-edit.json post /api/v1/jobs/createTask","href":"/market/seedream/seedream-v4-edit"},{"title":"Seedream4.5 - Text to Image","icon":"image","openapi":"market/seedream/4.5-text-to-image.json post /api/v1/jobs/createTask","href":"/market/seedream/4.5-text-to-image"},{"title":"Seedream4.5 - Edit","icon":"image","openapi":"market/seedream/4.5-edit.json post /api/v1/jobs/createTask","href":"/market/seedream/4.5-edit"},{"title":"Seedream5 Lite - Text to Image","icon":"image","openapi":"market/seedream/5-lite-text-to-image.json post /api/v1/jobs/createTask","href":"/market/seedream/5-lite-text-to-image"},{"title":"Seedream5 Lite - Image to Image","icon":"image","openapi":"market/seedream/5-lite-image-to-image.json post /api/v1/jobs/createTask","href":"/market/seedream/5-lite-image-to-image"}]},{"group":"Z-image","pages":[{"title":"z-image","icon":"image","openapi":"market/z-image/z-image.json post /api/v1/jobs/createTask","href":"/market/z-image/z-image"}]},{"group":"Google","pages":[{"title":"Google - imagen4-fast","icon":"image","openapi":"market/google/imagen4-fast.json post /api/v1/jobs/createTask","href":"/market/google/imagen4-fast"},{"title":"Google - imagen4-ultra","icon":"image","openapi":"market/google/imagen4-ultra.json post /api/v1/jobs/createTask","href":"/market/google/imagen4-ultra"},{"title":"Google - imagen4","icon":"image","openapi":"market/google/imagen4.json post /api/v1/jobs/createTask","href":"/market/google/imagen4"},{"title":"Google - Nano Banana Edit","icon":"image","openapi":"market/google/nano-banana-edit.json post /api/v1/jobs/createTask","href":"/market/google/nano-banana-edit"},{"title":"Google - Nano Banana","icon":"image","openapi":"market/google/nano-banana.json post /api/v1/jobs/createTask","href":"/market/google/nano-banana"},{"title":"Google - Nano Banana 2","icon":"image","openapi":"market/google/nano-banana-2.json post /api/v1/jobs/createTask","href":"/market/google/nano-banana-2"},{"title":"Google - Nano Banana Pro","icon":"image","openapi":"market/google/pro-image-to-image.json post /api/v1/jobs/createTask","href":"/market/google/pro-image-to-image"}]},{"group":"Flux-2","pages":[{"title":"Flux-2 - Pro Image to Image","icon":"image","openapi":"market/flux2/pro-image-to-image.json post /api/v1/jobs/createTask","href":"/market/flux2/pro-image-to-image"},{"title":"Flux-2 - Pro Text to Image","icon":"image","openapi":"market/flux2/pro-text-to-image.json post /api/v1/jobs/createTask","href":"/market/flux2/pro-text-to-image"},{"title":"Flux-2 - Image to Image","icon":"image","openapi":"market/flux2/flex-image-to-image.json post /api/v1/jobs/createTask","href":"/market/flux2/flex-image-to-image"},{"title":"Flux-2 - Text to Image","icon":"image","openapi":"market/flux2/flex-text-to-image.json post /api/v1/jobs/createTask","href":"/market/flux2/flex-text-to-image"}]},{"group":"Grok Imagine","pages":[{"title":"Grok Imagine - Text to Image","icon":"image","openapi":"market/grok-imagine/text-to-image.json post /api/v1/jobs/createTask","href":"/market/grok-imagine/text-to-image"},{"title":"grok-imagine/image-to-image","icon":"image","openapi":"market/grok-imagine/image-to-image.json post /api/v1/jobs/createTask","href":"/market/grok-imagine/image-to-image"},{"title":"Grok Imagine - Image Upscale","icon":"expand","openapi":"market/grok-imagine/upscale.json post /api/v1/jobs/createTask","href":"/market/grok-imagine/upscale"}]},{"group":"GPT Image","pages":[{"title":"GPT Image 1.5 Text To Image","icon":"image","openapi":"market/gpt-image/1.5-text-to-image.json post /api/v1/jobs/createTask","href":"/market/gpt-image/1.5-text-to-image"},{"title":"GPT Image 1.5 Image To Image","icon":"image","openapi":"market/gpt-image/1.5-image-to-image.json post /api/v1/jobs/createTask","href":"/market/gpt-image/1.5-image-to-image"}]},{"group":"Topaz","pages":[{"title":"Topaz - Image Upscale","icon":"expand","openapi":"market/topaz/image-upscale.json post /api/v1/jobs/createTask","href":"/market/topaz/image-upscale"}]},{"group":"Recraft","pages":[{"title":"recraft/remove-background","icon":"image","openapi":"market/recraft/remove-background.json post /api/v1/jobs/createTask","href":"/market/recraft/remove-background"},{"title":"Recraft - Image Upscale","icon":"expand","openapi":"market/recraft/crisp-upscale.json post /api/v1/jobs/createTask","href":"/market/recraft/crisp-upscale"}]},{"group":"Ideogram","pages":[{"title":"Ideogram - v3-reframe","icon":"image","openapi":"market/ideogram/v3-reframe.json post /api/v1/jobs/createTask","href":"/market/ideogram/v3-reframe"},{"title":"Ideogram - character-edit","icon":"image","openapi":"market/ideogram/character-edit.json post /api/v1/jobs/createTask","href":"/market/ideogram/character-edit"},{"title":"Ideogram - character-remix","icon":"image","openapi":"market/ideogram/character-remix.json post /api/v1/jobs/createTask","href":"/market/ideogram/character-remix"},{"title":"Ideogram - character","icon":"image","openapi":"market/ideogram/character.json post /api/v1/jobs/createTask","href":"/market/ideogram/character"}]},{"group":"Qwen","pages":[{"title":"Qwen - Text to Image","icon":"image","openapi":"market/qwen/text-to-image.json post /api/v1/jobs/createTask","href":"/market/qwen/text-to-image"},{"title":"Qwen - Image to Image","icon":"image","openapi":"market/qwen/image-to-image.json post /api/v1/jobs/createTask","href":"/market/qwen/image-to-image"},{"title":"Qwen - image-edit","icon":"image","openapi":"market/qwen/image-edit.json post /api/v1/jobs/createTask","href":"/market/qwen/image-edit"}]},{"group":"4o Image API","pages":[{"title":"4o Image API Quickstart","icon":"rocket","href":"/4o-image-api/quickstart"},{"title":"Generate 4o Image(GPT IMAG 1)","openapi":"4o-image-api/4o-image-api.json post /api/v1/gpt4o-image/generate","href":"/4o-image-api/generate-4-o-image"},{"title":"4o Image Generation Callbacks","href":"/4o-image-api/generate-4-o-image-callbacks"},{"title":"Get 4o Image Details","openapi":"4o-image-api/4o-image-api.json get /api/v1/gpt4o-image/record-info","href":"/4o-image-api/get-4-o-image-details"},{"title":"Get Direct Download URL","openapi":"4o-image-api/4o-image-api.json post /api/v1/gpt4o-image/download-url","href":"/4o-image-api/get-4-o-image-download-url"}]},{"group":"Flux Kontext API","pages":[{"title":"Flux Kontext API Quickstart","icon":"rocket","href":"/flux-kontext-api/quickstart"},{"title":"Generate or Edit Image","openapi":"flux-kontext-api/flux-kontext-api.json post /api/v1/flux/kontext/generate","href":"/flux-kontext-api/generate-or-edit-image"},{"title":"Image Generation or Editing Callbacks","href":"/flux-kontext-api/generate-or-edit-image-callbacks"},{"title":"Get Image Details","openapi":"flux-kontext-api/flux-kontext-api.json get /api/v1/flux/kontext/record-info","href":"/flux-kontext-api/get-image-details"}]}]},{"group":"Video Models","pages":[{"group":"Grok Imagine","pages":[{"title":"Grok Imagine - Text to Video","icon":"video","openapi":"market/grok-imagine/text-to-video.json post /api/v1/jobs/createTask","href":"/market/grok-imagine/text-to-video"},{"title":"Grok Imagine - Image to Video","icon":"video","openapi":"market/grok-imagine/image-to-video.json post /api/v1/jobs/createTask","href":"/market/grok-imagine/image-to-video"}]},{"group":"Kling","pages":[{"title":"Kling-2.6 - Text to Video","icon":"video","openapi":"market/kling/text-to-video.json post /api/v1/jobs/createTask","href":"/market/kling/text-to-video"},{"title":"Kling-2.6 - Image to Video","icon":"video","openapi":"market/kling/image-to-video.json post /api/v1/jobs/createTask","href":"/market/kling/image-to-video"},{"title":"Kling - V2.5 Turbo Image to Video Pro","icon":"video","openapi":"market/kling/v2-5-turbo-image-to-video-pro.json post /api/v1/jobs/createTask","href":"/market/kling/v2-5-turbo-image-to-video-pro"},{"title":"Kling - V2.5 Turbo Text to Video Pro","icon":"video","openapi":"market/kling/v2-5-turbo-text-to-video-pro.json post /api/v1/jobs/createTask","href":"/market/kling/v2-5-turbo-text-to-video-pro"},{"title":"Kling - AI Avatar Standard","icon":"image","openapi":"market/kling/ai-avatar-standard.json post /api/v1/jobs/createTask","href":"/market/kling/ai-avatar-standard"},{"title":"Kling - AI Avatar Pro","icon":"image","openapi":"market/kling/ai-avatar-pro.json post /api/v1/jobs/createTask","href":"/market/kling/ai-avatar-pro"},{"title":"Kling - V2.1 Master Image to Video","icon":"video","openapi":"market/kling/v2-1-master-image-to-video.json post /api/v1/jobs/createTask","href":"/market/kling/v2-1-master-image-to-video"},{"title":"Kling - V2.1 Master Text to Video","icon":"video","openapi":"market/kling/v2-1-master-text-to-video.json post /api/v1/jobs/createTask","href":"/market/kling/v2-1-master-text-to-video"},{"title":"Kling - V2.1 Pro","icon":"image","openapi":"market/kling/v2-1-pro.json post /api/v1/jobs/createTask","href":"/market/kling/v2-1-pro"},{"title":"Kling - V2.1 Standard","icon":"image","openapi":"market/kling/v2-1-standard.json post /api/v1/jobs/createTask","href":"/market/kling/v2-1-standard"},{"title":"kling-2.6/motion-control","icon":"image","openapi":"market/kling/motion-control.json post /api/v1/jobs/createTask","href":"/market/kling/motion-control"},{"title":"Kling 3.0","icon":"video","openapi":"market/kling/kling-3.0.json post /api/v1/jobs/createTask","href":"/market/kling/kling-3.0"}]},{"group":"Bytedance","pages":[{"title":"Bytedance - Seedance 1.5 Pro","icon":"video","openapi":"market/bytedance/seedance-1.5-pro.json post /api/v1/jobs/createTask","href":"/market/bytedance/seedance-1.5-pro"},{"title":"Bytedance - V1 Pro Fast Image to Video","icon":"video","openapi":"market/bytedance/v1-pro-fast-image-to-video.json post /api/v1/jobs/createTask","href":"/market/bytedance/v1-pro-fast-image-to-video"},{"title":"Bytedance - V1 Pro Image to Video","icon":"video","openapi":"market/bytedance/v1-pro-image-to-video.json post /api/v1/jobs/createTask","href":"/market/bytedance/v1-pro-image-to-video"},{"title":"Bytedance - V1 Pro Text to Video","icon":"video","openapi":"market/bytedance/v1-pro-text-to-video.json post /api/v1/jobs/createTask","href":"/market/bytedance/v1-pro-text-to-video"},{"title":"Bytedance - V1 Lite Image to Video","icon":"video","openapi":"market/bytedance/v1-lite-image-to-video.json post /api/v1/jobs/createTask","href":"/market/bytedance/v1-lite-image-to-video"},{"title":"Bytedance - V1 Lite Text to Video","icon":"video","openapi":"market/bytedance/v1-lite-text-to-video.json post /api/v1/jobs/createTask","href":"/market/bytedance/v1-lite-text-to-video"}]},{"group":"Hailuo","pages":[{"title":"Hailuo - Image to Video","icon":"video","openapi":"market/hailuo/2-3-image-to-video-pro.json post /api/v1/jobs/createTask","href":"/market/hailuo/2-3-image-to-video-pro"},{"title":"Hailuo - Image to Video","icon":"video","openapi":"market/hailuo/2-3-image-to-video-standard.json post /api/v1/jobs/createTask","href":"/market/hailuo/2-3-image-to-video-standard"},{"title":"Hailuo Pro - Text to Video","icon":"video","openapi":"market/hailuo/02-text-to-video-pro.json post /api/v1/jobs/createTask","href":"/market/hailuo/02-text-to-video-pro"},{"title":"Hailuo Standard - Text to Video","icon":"video","openapi":"market/hailuo/02-text-to-video-standard.json post /api/v1/jobs/createTask","href":"/market/hailuo/02-text-to-video-standard"},{"title":"Hailuo Pro - Image to Video","icon":"video","openapi":"market/hailuo/02-image-to-video-pro.json post /api/v1/jobs/createTask","href":"/market/hailuo/02-image-to-video-pro"},{"title":"Hailuo Standard - Image to Video","icon":"video","openapi":"market/hailuo/02-image-to-video-standard.json post /api/v1/jobs/createTask","href":"/market/hailuo/02-image-to-video-standard"}]},{"group":"Sora2","pages":[{"title":"Sora2 - Image to Video","icon":"video","openapi":"market/sora2/sora-2-image-to-video.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-2-image-to-video"},{"title":"Sora2 - Text to Video","icon":"video","openapi":"market/sora2/sora-2-text-to-video.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-2-text-to-video"},{"title":"Sora2 - Pro Image to Video","icon":"video","openapi":"market/sora2/sora-2-pro-image-to-video.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-2-pro-image-to-video"},{"title":"Sora2 - Pro Text to Video","icon":"video","openapi":"market/sora2/sora-2-pro-text-to-video.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-2-pro-text-to-video"},{"title":"Sora2 - Watermark Remover","icon":"image","openapi":"market/sora2/sora-watermark-remover.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-watermark-remover"},{"title":"sora-2-pro-storyboard","icon":"image","openapi":"market/sora-2-pro-storyboard/index.json post /api/v1/jobs/createTask","href":"/market/sora-2-pro-storyboard/index"},{"title":"Sora2 - Characters","icon":"user","openapi":"market/sora2/sora-2-characters.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-2-characters"},{"title":"Sora2 - Characters Pro","icon":"user","openapi":"market/sora2/sora-2-characters-pro.json post /api/v1/jobs/createTask","href":"/market/sora2/sora-2-characters-pro"}]},{"group":"Wan","pages":[{"title":"Wan 2.6 - Image to Video","icon":"video","openapi":"market/wan/2-6-image-to-video.json post /api/v1/jobs/createTask","href":"/market/wan/2-6-image-to-video"},{"title":"Wan 2.6 - Text to Video","icon":"video","openapi":"market/wan/2-6-text-to-video.json post /api/v1/jobs/createTask","href":"/market/wan/2-6-text-to-video"},{"title":"Wan 2.6 - Video to Video","icon":"video","openapi":"market/wan/2-6-video-to-video.json post /api/v1/jobs/createTask","href":"/market/wan/2-6-video-to-video"},{"title":"Wan - Image to Video","icon":"video","openapi":"market/wan/2-2-a14b-image-to-video-turbo.json post /api/v1/jobs/createTask","href":"/market/wan/2-2-a14b-image-to-video-turbo"},{"title":"Wan - Text to Video","icon":"video","openapi":"market/wan/2-2-a14b-text-to-video-turbo.json post /api/v1/jobs/createTask","href":"/market/wan/2-2-a14b-text-to-video-turbo"},{"title":"Wan - Animate Move","icon":"image","openapi":"market/wan/2-2-animate-move.json post /api/v1/jobs/createTask","href":"/market/wan/2-2-animate-move"},{"title":"Wan - Animate Replace","icon":"image","openapi":"market/wan/2-2-animate-replace.json post /api/v1/jobs/createTask","href":"/market/wan/2-2-animate-replace"},{"title":"Wan - 2.6-flash-image-to-video","icon":"video","openapi":"market/wan/2-6-flash-image-to-video.json post /api/v1/jobs/createTask","href":"/market/wan/2-6-flash-image-to-video"},{"title":"Wan - 2-6-flash-video-to-video","icon":"video","openapi":"market/wan/2-6-flash-video-to-video.json post /api/v1/jobs/createTask","href":"/market/wan/2-6-flash-video-to-video"},{"title":"Wan - 2.2 A14B Speech to Video Turbo","icon":"video","openapi":"market/wan/2-2-a14b-speech-to-video-turbo.json post /api/v1/jobs/createTask","href":"/market/wan/2-2-a14b-speech-to-video-turbo"}]},{"group":"Topaz","pages":[{"title":"Topaz - Video Upscale","icon":"video","openapi":"market/topaz/video-upscale.json post /api/v1/jobs/createTask","href":"/market/topaz/video-upscale"}]},{"group":"Infinitalk","pages":[{"title":"Infinitalk - From Audio","icon":"image","openapi":"market/infinitalk/from-audio.json post /api/v1/jobs/createTask","href":"/market/infinitalk/from-audio"}]},{"group":"Runway API","pages":[{"title":"Runway API Quickstart","icon":"rocket","href":"/runway-api/quickstart"},{"title":"Generate AI Video","openapi":"runway-api/runway-api.json post /api/v1/runway/generate","href":"/runway-api/generate-ai-video"},{"title":"AI Video Generation Callbacks","href":"/runway-api/generate-ai-video-callbacks"},{"title":"Get AI Video Details","openapi":"runway-api/runway-api.json get /api/v1/runway/record-detail","href":"/runway-api/get-ai-video-details"},{"title":"Extend AI Video","openapi":"runway-api/runway-api.json post /api/v1/runway/extend","href":"/runway-api/extend-ai-video"},{"title":"AI Video Extension Callbacks","href":"/runway-api/extend-ai-video-callbacks"},{"group":"Aleph","pages":[{"title":"Generate Aleph Video","openapi":"runway-api/runway-aleph-api.json post /api/v1/aleph/generate","href":"/runway-api/generate-aleph-video"},{"title":"Aleph Video Generation Callbacks","href":"/runway-api/generate-aleph-video-callbacks"},{"title":"Get Aleph Video Details","openapi":"runway-api/runway-aleph-api.json get /api/v1/aleph/record-info","href":"/runway-api/get-aleph-video-details"}]}]}]},{"group":"Music Models","pages":[{"group":"Elevenlabs","pages":[{"title":"elevenlabs/text-to-dialogue-v3","icon":"music","openapi":"market/elevenlabs/text-to-dialogue-v3.json post /api/v1/jobs/createTask","href":"/market/elevenlabs/text-to-dialogue-v3"},{"title":"elevenlabs/text-to-speech-turbo-2-5","icon":"music","openapi":"market/elevenlabs/text-to-speech-turbo-2-5.json post /api/v1/jobs/createTask","href":"/market/elevenlabs/text-to-speech-turbo-2-5"},{"title":"elevenlabs/text-to-speech-multilingual-v2","icon":"music","openapi":"market/elevenlabs/text-to-speech-multilingual-v2.json post /api/v1/jobs/createTask","href":"/market/elevenlabs/text-to-speech-multilingual-v2"},{"title":"elevenlabs/speech-to-text","icon":"music","openapi":"market/elevenlabs/speech-to-text.json post /api/v1/jobs/createTask","href":"/market/elevenlabs/speech-to-text"},{"title":"elevenlabs/sound-effect-v2","icon":"music","openapi":"market/elevenlabs/sound-effect-v2.json post /api/v1/jobs/createTask","href":"/market/elevenlabs/sound-effect-v2"},{"title":"elevenlabs/audio-isolation","icon":"music","openapi":"market/elevenlabs/audio-isolation.json post /api/v1/jobs/createTask","href":"/market/elevenlabs/audio-isolation"}]}]},{"group":"Chat Models","pages":[{"group":"GPT","pages":[{"title":"GPT-5-2","icon":"comment-dots","openapi":"market/chat/gpt-5-2.json post /gpt-5-2/v1/chat/completions","href":"/market/chat/gpt-5-2"}]},{"group":"Claude","pages":[{"title":"Claude Sonnet 4.5","icon":"comment-dots","openapi":"market/claude/claude-sonnet-4-5.json post /claude-sonnet-4-5/v1/chat/completions","href":"/market/claude/claude-sonnet-4-5"},{"title":"Claude Opus 4.5","icon":"comment-dots","openapi":"market/claude/claude-opus-4-5.json post /claude-opus-4-5/v1/chat/completions","href":"/market/claude/claude-opus-4-5"}]},{"group":"Gemini","pages":[{"title":"Gemini 3 Pro","icon":"comment-dots","openapi":"market/gemini/gemini-3-pro.json post /gemini-3-pro/v1/chat/completions","href":"/market/gemini/gemini-3-pro"},{"title":"Gemini 3.1 Pro","icon":"comment-dots","openapi":"market/gemini/gemini-3.1-pro.json post /gemini-3.1-pro/v1/chat/completions","href":"/market/gemini/gemini-3.1-pro"},{"title":"Gemini 2.5 Flash","icon":"comment-dots","openapi":"market/gemini/gemini-2.5-flash.json post /gemini-2.5-flash/v1/chat/completions","href":"/market/gemini/gemini-2.5-flash"},{"title":"Gemini 2.5 Pro","icon":"comment-dots","openapi":"market/gemini/gemini-2.5-pro.json post /gemini-2.5-pro/v1/chat/completions","href":"/market/gemini/gemini-2.5-pro"}]},{"group":"Codex","pages":[{"title":"GPT Codex","icon":"comment-dots","openapi":"market/codex/gpt-codex.json post /api/v1/responses","href":"/market/codex/gpt-codex"}]}]},{"group":"Veo3.1 API","pages":[{"title":"Veo3.1 API Quickstart","icon":"rocket","href":"/veo3-api/quickstart"},{"openapi":"veo3-api/veo3-api.json post /api/v1/veo/generate","title":"Generate Veo 3.1 AI Video(Fast\u0026Quality)","href":"/veo3-api/generate-veo-3-video"},{"title":"Veo3.1 Video Generation Callbacks","description":"The system will call this callback to notify results when video generation is completed","href":"/veo3-api/generate-veo-3-video-callbacks"},{"openapi":"veo3-api/veo3-api.json post /api/v1/veo/extend","title":"Extend Veo 3.1 AI Video","href":"/veo3-api/extend-video"},{"title":"Get 1080P Video","openapi":"veo3-api/veo3-api.json get /api/v1/veo/get-1080p-video","description":"Get the high-definition 1080P version of a Veo3.1 video generation task.","href":"/veo3-api/get-veo-3-1080-p-video"},{"title":"Get 4K Video","openapi":"veo3-api/veo3-api.json post /api/v1/veo/get-4k-video","href":"/veo3-api/get-veo-3-4k-video"},{"title":"Get 4K Video Callbacks","href":"/veo3-api/get-veo-3-4k-video-callbacks"},{"title":"Get Veo3.1 Video Details","openapi":"veo3-api/veo3-api.json get /api/v1/veo/record-info","href":"/veo3-api/get-veo-3-video-details"}]},{"group":"Suno API","pages":[{"title":"Suno API Quickstart","icon":"rocket","href":"/suno-api/quickstart"},{"title":"Generate Music","openapi":"suno-api/suno-api.json post /api/v1/generate","href":"/suno-api/generate-music"},{"title":"Music Generation Callbacks","href":"/suno-api/generate-music-callbacks"},{"title":"Extend Music","openapi":"suno-api/suno-api.json post /api/v1/generate/extend","href":"/suno-api/extend-music"},{"title":"Music Extension Callbacks","href":"/suno-api/extend-music-callbacks"},{"title":"Upload And Cover Audio","openapi":"suno-api/suno-api.json post /api/v1/generate/upload-cover","href":"/suno-api/upload-and-cover-audio"},{"title":"Audio Upload and Cover Callbacks","href":"/suno-api/upload-and-cover-audio-callbacks"},{"title":"Upload And Extend Audio","openapi":"suno-api/suno-api.json post /api/v1/generate/upload-extend","href":"/suno-api/upload-and-extend-audio"},{"title":"Audio Upload and Extension Callbacks","href":"/suno-api/upload-and-extend-audio-callbacks"},{"title":"Add Instrumental","openapi":"suno-api/suno-api.json post /api/v1/generate/add-instrumental","href":"/suno-api/add-instrumental"},{"title":"Add Instrumental Callbacks","href":"/suno-api/add-instrumental-callbacks"},{"title":"Add Vocals","openapi":"suno-api/suno-api.json post /api/v1/generate/add-vocals","href":"/suno-api/add-vocals"},{"title":"Add Vocals Callbacks","href":"/suno-api/add-vocals-callbacks"},{"title":"Get Music Task Details","openapi":"suno-api/suno-api.json get /api/v1/generate/record-info","href":"/suno-api/get-music-details"},{"title":"Get Timestamped Lyrics","openapi":"suno-api/suno-api.json post /api/v1/generate/get-timestamped-lyrics","href":"/suno-api/get-timestamped-lyrics"},{"title":"Boost Music Style","openapi":"suno-api/suno-api.json post /api/v1/style/generate","href":"/suno-api/boost-music-style"},{"title":"Generate Music Cover","openapi":"suno-api/suno-api.json post /api/v1/suno/cover/generate","href":"/suno-api/cover-suno"},{"title":"Music Cover Generation Callbacks","href":"/suno-api/cover-suno-callbacks"},{"title":"Replace Music Section","openapi":"suno-api/suno-api.json post /api/v1/generate/replace-section","href":"/suno-api/replace-section"},{"title":"Replace Music Section Callbacks","href":"/suno-api/replace-section-callbacks"},{"title":"Get Music Cover Details","openapi":"suno-api/suno-api.json get /api/v1/suno/cover/record-info","href":"/suno-api/get-cover-suno-details"},{"title":"Generate Persona","openapi":"suno-api/suno-api.json post /api/v1/generate/generate-persona","href":"/suno-api/generate-persona"},{"title":"Generate Mashup Music","openapi":"suno-api/suno-api.json post /api/v1/generate/mashup","href":"/suno-api/generate-mashup"},{"group":"Lyrics Generation","pages":[{"title":"Generate Lyrics","openapi":"suno-api/suno-api.json post /api/v1/lyrics","href":"/suno-api/generate-lyrics"},{"title":"Lyrics Generation Callbacks","href":"/suno-api/generate-lyrics-callbacks"},{"title":"Get Lyrics Task Details","openapi":"suno-api/suno-api.json get /api/v1/lyrics/record-info","href":"/suno-api/get-lyrics-details"}]},{"group":"WAV Conversion","pages":[{"title":"Convert to WAV Format","openapi":"suno-api/suno-api.json post /api/v1/wav/generate","href":"/suno-api/convert-to-wav"},{"title":"Convert to WAV Callbacks","href":"/suno-api/convert-to-wav-callbacks"},{"title":"Get WAV Conversion Details","openapi":"suno-api/suno-api.json get /api/v1/wav/record-info","href":"/suno-api/get-wav-details"}]},{"group":"Vocal Removal","pages":[{"title":"Vocal \u0026 Instrument Stem Separation","openapi":"suno-api/suno-api.json post /api/v1/vocal-removal/generate","href":"/suno-api/separate-vocals"},{"title":"Audio Separation Callbacks","href":"/suno-api/separate-vocals-callbacks"},{"title":"Get Vocal Separation Details","openapi":"suno-api/suno-api.json get /api/v1/vocal-removal/record-info","href":"/suno-api/get-vocal-separation-details"},{"title":"Generate MIDI from Audio","openapi":"suno-api/suno-api.json post /api/v1/midi/generate","href":"/suno-api/generate-midi"},{"title":"MIDI Generation Callbacks","href":"/suno-api/generate-midi-callbacks"},{"title":"Get MIDI Generation Details","openapi":"suno-api/suno-api.json get /api/v1/midi/record-info","href":"/suno-api/get-midi-details"}]},{"group":"Music Video Generation","pages":[{"title":"Create Music Video","openapi":"suno-api/suno-api.json post /api/v1/mp4/generate","href":"/suno-api/create-music-video"},{"title":"Music Video Generation Callbacks","href":"/suno-api/create-music-video-callbacks"},{"title":"Get Music Video Details","openapi":"suno-api/suno-api.json get /api/v1/mp4/record-info","href":"/suno-api/get-music-video-details"}]}]},{"title":"Get Task Details","icon":"magnifying-glass","openapi":"market/common/get-task-detail.json get /api/v1/jobs/recordInfo","href":"/market/common/get-task-detail"}]},{"tab":"File Upload API","pages":[{"title":"File Upload API","href":"/file-upload-api/quickstart"}]},{"tab":"Common API","pages":[{"title":"Common API","href":"/common-api/quickstart"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/veo3-api/extend-video"}]}]},"basePath":"","title":"Extend Veo 3.1 AI Video - KIE API","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}