KIE.AI
English
  • English
  • Chinese
English
  • English
  • Chinese
Support
English
  • English
  • Chinese
MarketVeo3.1 API
Suno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
MarketVeo3.1 API
Suno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
  1. Veo3.1 API
  • Veo3.1 API Quickstart
  • Veo3.1 Video Generation Callbacks
  • Get 4K Video Callbacks
  • Generate Veo3.1 Video
    POST
  • Get Veo3.1 Video Details
    GET
  • Get 1080P Video
    GET
  • Get 4K Video
    POST
  • Extend Veo3.1 Video
    POST
English
  • English
  • Chinese
Support
English
  • English
  • Chinese
MarketVeo3.1 API
Suno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
MarketVeo3.1 API
Suno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
  1. Veo3.1 API

Extend Veo3.1 Video

POST
/api/v1/veo/extend
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).
CapabilityDetails
Smart ExtensionGenerate new video segments based on existing videos and text prompts
Seamless ConnectionExtended videos naturally connect with the original video
Flexible ControlPrecisely control the style and actions of extended content through prompts
High-Quality OutputMaintain the same quality and style as the original video
Audio TrackExtended videos default to background audio, consistent with the original video

Why our Veo 3.1 Video Extension is different#

1.
Smart Content Understanding – Deeply understands the content and style of the original video to ensure coherence of extended content.
2.
Natural Transition – Extended video segments seamlessly connect with the original video without visible splicing marks.
3.
Flexible Control – Precisely control the actions, scenes, and styles of extended content through detailed prompts.
4.
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:
1.
Provide Original Video: Use the taskId from the original video generation task
2.
Describe Extension Content: Use prompt to detail how you want the video to be extended
3.
Smart Analysis: The system analyzes the content, style, and actions of the original video
4.
Generate Extension: Generate new video segments based on analysis results and your prompts
5.
Seamless Connection: Naturally connect the extended video with the original video

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
1.
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"
2.
Maintain Style Consistency: Ensure the style of extended content matches the original video
3.
Natural Transition: Described actions should naturally connect with the end of the original video
4.
Use English: Recommend using English prompts for best results
5.
Avoid Conflicts: Ensure extended content doesn't create logical conflicts with the original video
Technical Recommendations
1.
Use Callbacks: Strongly recommend using callback mechanisms to get results in production environments
2.
Download Promptly: Download video files promptly after generation, URLs have time limits
3.
Error Handling: Implement appropriate error handling and retry mechanisms
4.
Credit Management: Monitor credit usage to ensure sufficient balance
5.
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
Extension Quality Issues
Technical Issues

Callbacks

onVideoExtended

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Request successful
Body

🔴500Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.kie.ai/api/v1/veo/extend' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "taskId": "veo_task_abcdef123456",
    "prompt": "The dog continues running through the park, jumping over obstacles and playing with other dogs",
    "seeds": 12345,
    "model": "fast",
    "watermark": "MyBrand",
    "callBackUrl": "https://your-callback-url.com/veo-extend-callback"
}'
Response Response Example
200 - Example 1
{
    "code": 200,
    "msg": "success",
    "data": {
        "taskId": "veo_extend_task_xyz789"
    }
}
Previous
Get 4K Video
Built with