Create Veo 3.1 Fast — Extend Video
curl --request POST \
--url https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": false,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"safety_tolerance": "4"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video"
payload = { "input": {
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": False,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": False,
"safety_tolerance": "4"
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
prompt: 'Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion',
auto_fix: false,
duration: '4s',
resolution: '720p',
aspect_ratio: '16:9',
generate_audio: false,
safety_tolerance: '4'
}
})
};
fetch('https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Google
Veo 3.1 Fast — Extend Video
Google Veo 3.1 cinematic text/image-to-video with native audio; standard/Fast/Lite tiers. Optimized for video to video via apisale.
POST
/
v1
/
run
/
google
/
veo-3.1
/
fast
/
extend-video
Create Veo 3.1 Fast — Extend Video
curl --request POST \
--url https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": false,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"safety_tolerance": "4"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video"
payload = { "input": {
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": False,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": False,
"safety_tolerance": "4"
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
prompt: 'Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion',
auto_fix: false,
duration: '4s',
resolution: '720p',
aspect_ratio: '16:9',
generate_audio: false,
safety_tolerance: '4'
}
})
};
fetch('https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Overview
Google Veo 3.1 cinematic text/image-to-video with native audio; standard/Fast/Lite tiers. Optimized for video to video via apisale.Docs = API contract + Try it (snapshot). Explore = browser playground. Model page = product examples.
Endpoint
POST https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video
| Model slug | google/veo-3.1/fast/extend-video |
| Category | Video to Video (video-to-video) |
| Lab | |
| Tier | Fast |
| Mode | async |
Pricing
From $0.056/sec apisale price is 30% below the vendor’s official list price.| Tier | Unit | Official price | apisale price |
|---|---|---|---|
| fac6ad5b-32fd-47d7-8d2a-8efc46056b44 | second | $0.100 | $0.070 |
| def99e8a-6381-44e4-8a40-9337cc606e4c | second | $0.120 | $0.084 |
| ff8b092e-a99c-49fe-b417-767d12a71918 | second | $0.300 | $0.210 |
| 01c96e66-e2a7-4c19-ad37-07ed6067af20 | second | $0.080 | $0.056 |
| 653a9128-fdc5-4d40-8e59-f38dda786408 | second | $0.100 | $0.070 |
| c76f2e95-b96d-4919-a9e9-3c75ed21517e | second | $0.250 | $0.175 |
Official price = vendor list price. apisale price = what you pay through apisale.
Request
{
"input": {
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": false,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"safety_tolerance": "4"
}
}
Parameters
Fields marked * are required. UseAuthorization: Key YOUR_API_KEY for REST.
number
Optional random seed for reproducibility.
string
required
How the video should continue. Maximum 4000 characters.
boolean
Default:
falsestring
Length of the generated extension segment. Default:
7s Values: 4s, 5s, 6s, 7s, 8sstring
required
Veo-created video to extend (720p/1080p, 16:9 or 9:16).
string
Default:
720p Values: 720p, 1080p, 4kstring
Default:
auto Values: auto, 16:9, 9:16boolean
Default:
truestring
—
string
Default:
4 Values: 1, 2, 3, 4, 5, 6string
Optional HTTPS webhook when the run reaches a terminal state.
boolean
Block until completion (same Run response shape).
Input schema
Input schema
{
"params": {
"seed": {
"type": "int",
"description": "Optional random seed for reproducibility."
},
"prompt": {
"type": "string",
"required": true,
"max_length": 4000,
"description": "How the video should continue. Maximum 4000 characters."
},
"auto_fix": {
"type": "bool",
"default": false
},
"duration": {
"type": "enum",
"values": [
"4s",
"5s",
"6s",
"7s",
"8s"
],
"default": "7s",
"description": "Length of the generated extension segment."
},
"video_url": {
"type": "media",
"required": true,
"description": "Veo-created video to extend (720p/1080p, 16:9 or 9:16)."
},
"resolution": {
"type": "enum",
"values": [
"720p",
"1080p",
"4k"
],
"default": "720p"
},
"aspect_ratio": {
"type": "enum",
"values": [
"auto",
"16:9",
"9:16"
],
"default": "auto"
},
"generate_audio": {
"type": "bool",
"default": true
},
"negative_prompt": {
"type": "string",
"max_length": 2000
},
"safety_tolerance": {
"type": "enum",
"values": [
"1",
"2",
"3",
"4",
"5",
"6"
],
"default": "4"
}
}
}
Submit response
Returns a Run withrun_id. Poll with GET /v1/runs/{run_id} or use Try it above.
string
required
Unique run ID — save for polling and webhooks.
string
required
queued (async) or terminal state for sync runs.object
Result when
status is succeeded — see Output schema below.Example (async submit)
{
"run_id": "run_550e8400-e29b-41d4-a716-446655440000",
"endpoint": "google/veo-3.1/fast/extend-video",
"model": "extend-video",
"capability": "video",
"mode": "video-to-video",
"status": "queued",
"output": null,
"error": null,
"billing": null,
"created_at": "2026-06-27T12:00:00.000Z",
"started_at": null,
"completed_at": null,
"elapsed_ms": null
}
Output
Whenstatus is succeeded, output follows this schema:
Output schema
Output schema
{
"type": "object",
"example": {
"videos": [
{
"url": "https://cdn.example.com/tasks/0.mp4"
}
]
},
"required": [
"videos"
],
"properties": {
"videos": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
}
}
}
}
},
"description": "Succeeded task output: single video URL."
}
Example
curl -X POST "https://api.apisale.ai/v1/run/google/veo-3.1/fast/extend-video" \
-H "Authorization: Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": false,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"safety_tolerance": "4"
}
}'
Related
Authorizations
Key sk-... (native REST) or Bearer sk-... (vendor SDKs)
Body
application/json
Show child attributes
Show child attributes
Example:
{
"prompt": "Night drive through Tokyo side streets in the rain, neon reflections on wet asphalt, smooth camera tracking, cinematic motion",
"auto_fix": false,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false,
"safety_tolerance": "4"
}
Response
201 - application/json
Run accepted
Unique run identifier
Model slug
Available options:
queued, processing, succeeded, failed, timeout, cancelled Show child attributes
Show child attributes
Show child attributes
Show child attributes
