Skip to content

VEO3 Video Remix

Extend generated videos by continuing from 8 seconds to 15 seconds

All documentation
POST/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 to veo3.1-fast) and veo3.1-quality-ext (equivalent to veo3.1-quality). Each alias is interchangeable with its model and produces identical results.

json
{
  "error": {
    "code": 502,
    "message": "Bad gateway. The server is temporarily unavailable",
    "type": "bad_gateway"
  }
}

Request examples

# model can be "veo3.1-fast", or the compatible alias "veo3.1-fast-ext"
curl --request POST \
  --url https://openrouterapi.ru/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_idstringrequired

Original video task ID

This is the task_id returned from the video generation API. The original video task status must be success

Authorization

Authorizationstringrequired

All 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:

text
Authorization: Bearer YOUR_API_KEY

Request Parameters

modelstringrequired

Video model name, must match the model used for the original video

Supported models:

  • veo3.1-fast - Fast version (compatible alias veo3.1-fast-ext)
  • veo3.1-quality - High quality version (compatible alias veo3.1-quality-ext)

Example: "veo3.1-fast"

Note

For backward compatibility, the aliases veo3.1-fast-ext (for veo3.1-fast) and veo3.1-quality-ext (for veo3.1-quality) remain usable.

nsfw_checkbooleandefault: false

Whether to run content moderation before submitting the video task.

  • true: use omni-moderation-latest to review prompts and input images
  • false or omitted: do not send a moderation request, adding no moderation cost or latency (default)
promptstringrequired

Continuation prompt describing the content for the extended portion

rawboolean

Whether to return only the extended portion of the video

  • true - Only returns the extended video

Default: false

aspect_ratiostring

Aspect ratio for the extended video

Supported values:

  • 16:9
  • 9:16
resolutionstring

Video resolution

Supported values:

  • 720p (default)
  • 1080p
  • 4k

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-fast must also use veo3.1-fast for extension.

Note

Only completed videos supported: The original video task status must be success.

Note

task_id in URL: This is the task_id returned from the first step of video generation.

Response

codeinteger

Response status code

dataobject[]

Response data array

Properties

task_idstring

New task ID for querying the extended video status

statusstring

Task status

Possible values:

  • submitted - Submitted

Responses

{
  "code": 200,
  "data": [
    {
      "status": "submitted",
      "task_id": "task_01JQXYZ9999NEWEXTENDID"
    }
  ]
}

Found a problem in these docs? Email support@openrouterapi.ru.