Create Veo 3.1 Lite — First Last Frame To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": true,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"safety_tolerance": "4"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-video"
payload = { "input": {
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": True,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": True,
"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: 'Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting',
auto_fix: true,
duration: '4s',
resolution: '720p',
aspect_ratio: 'auto',
generate_audio: true,
safety_tolerance: '4'
}
})
};
fetch('https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-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 Lite — First Last Frame To Video
Veo 3.1 Lite first/last-frame interpolation, cost-efficient. Optimized for first last frame to video via apisale.
POST
/
v1
/
run
/
google
/
veo-3.1
/
lite
/
first-last-frame-to-video
Create Veo 3.1 Lite — First Last Frame To Video
curl --request POST \
--url https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": true,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"safety_tolerance": "4"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-video"
payload = { "input": {
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": True,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": True,
"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: 'Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting',
auto_fix: true,
duration: '4s',
resolution: '720p',
aspect_ratio: 'auto',
generate_audio: true,
safety_tolerance: '4'
}
})
};
fetch('https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-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
Veo 3.1 Lite first/last-frame interpolation, cost-efficient. Optimized for first last frame 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/lite/first-last-frame-to-video
| Model slug | google/veo-3.1/lite/first-last-frame-to-video |
| Category | First Last Frame To Video (first-last-frame-to-video) |
| Lab | |
| Tier | Lite |
| Mode | async |
Pricing
From $0.021/sec apisale price is 30% below the vendor’s official list price.| Tier | Unit | Official price | apisale price |
|---|---|---|---|
| 720p Lite | second | $0.030 | $0.021 |
| 720p Lite+audio | second | $0.050 | $0.035 |
| 1080p Lite | second | $0.050 | $0.035 |
| 1080p Lite+audio | second | $0.080 | $0.056 |
Official price = vendor list price. apisale price = what you pay through apisale.
Request
{
"input": {
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": true,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"safety_tolerance": "4"
}
}
Parameters
Fields marked * are required. UseAuthorization: Key YOUR_API_KEY for REST.
number
—
string
required
—
boolean
Default:
truestring
Default:
8s Values: 4s, 6s, 8sstring
Default:
720p Values: 720p, 1080pstring
Default:
auto Values: auto, 16:9, 9:16boolean
Default:
truestring
required
—
string
required
—
string
—
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"
},
"prompt": {
"type": "string",
"required": true,
"max_length": 4000
},
"auto_fix": {
"type": "bool",
"default": true
},
"duration": {
"type": "enum",
"values": [
"4s",
"6s",
"8s"
],
"default": "8s"
},
"resolution": {
"type": "enum",
"values": [
"720p",
"1080p"
],
"default": "720p"
},
"aspect_ratio": {
"type": "enum",
"values": [
"auto",
"16:9",
"9:16"
],
"default": "auto"
},
"generate_audio": {
"type": "bool",
"default": true
},
"last_frame_url": {
"type": "media",
"required": true
},
"first_frame_url": {
"type": "media",
"required": 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/lite/first-last-frame-to-video",
"model": "first-last-frame-to-video",
"capability": "video",
"mode": "first-last-frame-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://example.com/out.mp4",
"content_type": "video/mp4"
}
]
},
"required": [
"videos"
],
"properties": {
"videos": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
},
"file_name": {
"type": "string"
},
"content_type": {
"type": "string"
}
}
}
}
},
"description": "Succeeded task output: single video URL."
}
Example
curl -X POST "https://api.apisale.ai/v1/run/google/veo-3.1/lite/first-last-frame-to-video" \
-H "Authorization: Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": true,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"safety_tolerance": "4"
}
}'
Related
- Veo 3.1 Fast — First Last Frame To Video
- Veo 3.1 Standard — First Last Frame To Video
- Runs lifecycle
- Video API overview
- Account API
Authorizations
Key sk-... (native REST) or Bearer sk-... (vendor SDKs)
Body
application/json
Show child attributes
Show child attributes
Example:
{
"prompt": "Seamless cinematic transition from the first frame to the last frame, natural motion interpolation, consistent lighting",
"auto_fix": true,
"duration": "4s",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"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
