VEO3 Video Remix
Extend generated videos by continuing from 8 seconds to 15 seconds
全部文档/v1/videos/{task_id}/remix- Asynchronous processing mode, returns task ID for subsequent queries
- Generated video links are valid for 24 hours, please save them promptly
Note
Model name compatibility note: This endpoint also accepts the aliases
veo3.1-fast-ext(equivalent toveo3.1-fast) andveo3.1-quality-ext(equivalent toveo3.1-quality). Each alias is interchangeable with its model and produces identical results.
{
"error": {
"code": 502,
"message": "Bad gateway. The server is temporarily unavailable",
"type": "bad_gateway"
}
}请求示例
# model can be "veo3.1-fast", or the compatible alias "veo3.1-fast-ext"
curl --request POST \
--url https://api.apisea.ai/v1/videos/{task_id}/remix \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "veo3.1-fast",
"prompt": "The cat continues running on the grass, butterflies fly into the distance",
"raw": false,
"aspect_ratio": "16:9",
"resolution": "720p"
}'Path Parameters
task_idstringrequiredOriginal video task ID
This is the task_id returned from the video generation API. The original video task status must be success
Authorization
AuthorizationstringrequiredAll API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add to the request header:
Authorization: Bearer YOUR_API_KEYRequest Parameters
modelstringrequiredVideo model name, must match the model used for the original video
Supported models:
veo3.1-fast- Fast version (compatible aliasveo3.1-fast-ext)veo3.1-quality- High quality version (compatible aliasveo3.1-quality-ext)
Example: "veo3.1-fast"
Note
For backward compatibility, the aliases
veo3.1-fast-ext(forveo3.1-fast) andveo3.1-quality-ext(forveo3.1-quality) remain usable.
nsfw_checkbooleandefault: falseWhether to run content moderation before submitting the video task.
true: useomni-moderation-latestto review prompts and input imagesfalseor omitted: do not send a moderation request, adding no moderation cost or latency (default)
promptstringrequiredContinuation prompt describing the content for the extended portion
rawbooleanWhether to return only the extended portion of the video
true- Only returns the extended video
Default: false
aspect_ratiostringAspect ratio for the extended video
Supported values:
16:99:16
resolutionstringVideo resolution
Supported values:
720p(default)1080p4k
Important Notes
Note
Model must match: The model used for extension must be the same as the one used to generate the original video. Videos generated with
veo3.1-fastmust also useveo3.1-fastfor extension.
Note
Only completed videos supported: The original video task status must be
success.
Note
task_id in URL: This is the
task_idreturned from the first step of video generation (not the upstream ID).
Response
codeintegerResponse status code
dataobject[]Response data array
Properties
task_idstringNew task ID for querying the extended video status
statusstringTask status
Possible values:
submitted- Submitted
响应
{
"code": 200,
"data": [
{
"status": "submitted",
"task_id": "task_01JQXYZ9999NEWEXTENDID"
}
]
}使用此 endpoint 的模型
发现文档中的问题?请发送邮件至 support@apisea.ai。