Extend Video
Video Generation
Extend Video
Extend video duration with new frames
POST
Extend Video
Each extension adds 4 seconds to the video duration, with a maximum of 4 extensions (creating up to 21-second videos).Documentation Index
Fetch the complete documentation index at: https://docs.legnext.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | string | Yes | Your API key |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
jobId | string | Yes | ID of the original video generation task |
videoNo | integer | Yes | Video number to extend (0/1/2/3) |
prompt | string | No | Text prompt to guide the extension (1-8192 characters) |
callback | string | No | Callback URL for task completion notifications |
Example Request
Response
Returns a task object containing the task information.This is the initial success response. Use the
job_id to check the task status via the Get Task endpoint to retrieve the completed result with video URLs.Authorizations
API key for authentication
Body
application/json
Response
Video extend task created successfully