Veo 3.1 Generate 001
veo-3.1-generate-001Use the Veo 3.1 Generate 001 API for AI video generation. Generate clips from text or use an image or reference on supported routes. Turn a creative brief or still image into motion tests and draft shots. Compare the available provider routes, request examples, and usage prices on OpenAny.
Auto route pricing
Route source: yir
This route has conditional pricing. Review its tiers and requirements before calling.
- Published rate
- Conditional pricing
- Billing unit
- / second
- Context / Max output
- — / —
- Live routes
- 1
On this page
Overview
Use the Veo 3.1 Generate 001 API for AI video generation. Generate clips from text or use an image or reference on supported routes. Turn a creative brief or still image into motion tests and draft shots. Compare the available provider routes, request examples, and usage prices on OpenAny.
Playground
Parameters are derived from this model's official contract. No live request has been made.
Result preview
yir · 298ms
This example shows the response structure. Generated video appears here after the run completes.
{
"id": "string",
"urls": {
"get": "string",
"cancel": "string"
},
"error": {
"code": "YIR_INVALID_REQUEST",
"action": "fix_request",
"details": [
{
"field": "string",
"reason": "invalid_body",
"allowed": [
"string"
],
"expected": "string"
}
],
"message": "string",
"retryable": true,
"provider_error": {
"message": "string",
"provider": "string"
}
},
"model": "string",
"usage": {
"outputs": 0
},
"object": "job",
"result": {
"files": [
{
"url": "http://example.com",
"width": 0,
"height": 0,
"fidelity": {
"grade": "original",
"reason": "string"
},
"expires_at": 1,
"media_type": "string",
"duration_ms": 1
}
],
"warnings": [
"additional_results_unavailable"
],
"availability": "available",
"content_safety": {
"status": "passed",
"checked_by": "provider"
}
},
"status": "queued",
"billing": {
"status": "pending",
"currency": "USD",
"max_cost": "string",
"gateway_fee": {
"amount": "string",
"status": "settled"
},
"billing_mode": "actual",
"compute_charges": [
{
"usage": [
{
"unit": "string",
"metric": "string",
"quantity": "string"
}
],
"amount": "string",
"status": "settled",
"billed_by": "yir",
"supply_type": "managed",
"amount_basis": "yir_price_rule"
}
],
"official_comparison": {
"source_url": "http://example.com",
"savings_amount": "string",
"baseline_amount": "string"
},
"total_charged_by_yir": "string"
},
"created_at": 1,
"parameters": {
"n": 1,
"fps": 1,
"size": "string",
"voice": "string",
"quality": "string",
"duration": 1,
"resolution": "string",
"aspect_ratio": "string",
"instrumental": true,
"generate_audio": true,
"lyrics_optimizer": true
},
"cancellation": {
"effect": "stop_future_attempts",
"status": "cancelled",
"requested_at": 1
},
"completed_at": 1,
"final_provider": "string",
"parameter_notices": [
{
"name": "string",
"reason": "channel_parameter_unsupported",
"message": "string",
"disposition": "ignored"
}
]
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.125 / second | 298ms | — | Verified |
| Video specification | Price per second |
|---|---|
| Image to video · 720p · 4 seconds · 16:9 · Without audio | $0.160 |
| Image to video · 1080p · 8 seconds · 16:9 · With audio | $0.125 |
| Image to video · 1080p · 8 seconds · 16:9 · Without audio | $0.160 |
| Image to video · 4K · 8 seconds · 16:9 · With audio | $0.188 |
| Image to video · 4K · 8 seconds · 16:9 · Without audio | $0.320 |
| Text to video · 720p · 4 seconds · 16:9 · Without audio | $0.160 |
| Text to video · 1080p · 8 seconds · 16:9 · With audio | $0.125 |
| Text to video · 1080p · 8 seconds · 16:9 · Without audio | $0.160 |
| Text to video · 4K · 8 seconds · 16:9 · With audio | $0.188 |
| Text to video · 4K · 8 seconds · 16:9 · Without audio | $0.320 |
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/videos- GET
/v1/videos/{task_id}- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
prompt | string | A paper boat drifting down a rainy city street, slow tracking shot | Yes | Prompt |
duration | integer · 4 | 6 | 8 4 ~ 8 | 8 | No | Output video duration in seconds. |
resolution | string · 720p | 1080p | 4K | 720p | No | Output resolution. |
aspect_ratio | string · 16:9 | 9:16 | 16:9 | No | Output aspect ratio. |
fps | integer · 24 24 ~ 24 | — | No | Optional native output frame rate. Only explicitly certified supplies are eligible; no frame interpolation or transcoding. |
generate_audio | boolean · false | true | true | No | Generate native audio with the video. |
n | integer · 1 1 ~ 1 | 1 | No | Number of outputs from one API request (one Job), not the application batch size. For multiple Jobs, submit separate requests; n=1 does not prevent application-managed batching. |
Request example
curl 'https://api.openany.si/v1/videos' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A paper boat drifting down a rainy city street, slow tracking shot",
"type": "text"
},
"model": "veo-3.1-generate-001",
"parameters": {
"aspect_ratio": "16:9",
"duration": 8,
"generate_audio": true,
"n": 1,
"resolution": "720p"
},
"route_mode": "balanced"
}'Response example
Official schema example with placeholders, not a live response
{
"id": "string",
"urls": {
"get": "string",
"cancel": "string"
},
"error": {
"code": "YIR_INVALID_REQUEST",
"action": "fix_request",
"details": [
{
"field": "string",
"reason": "invalid_body",
"allowed": [
"string"
],
"expected": "string"
}
],
"message": "string",
"retryable": true,
"provider_error": {
"message": "string",
"provider": "string"
}
},
"model": "string",
"usage": {
"outputs": 0
},
"object": "job",
"result": {
"files": [
{
"url": "http://example.com",
"width": 0,
"height": 0,
"fidelity": {
"grade": "original",
"reason": "string"
},
"expires_at": 1,
"media_type": "string",
"duration_ms": 1
}
],
"warnings": [
"additional_results_unavailable"
],
"availability": "available",
"content_safety": {
"status": "passed",
"checked_by": "provider"
}
},
"status": "queued",
"billing": {
"status": "pending",
"currency": "USD",
"max_cost": "string",
"gateway_fee": {
"amount": "string",
"status": "settled"
},
"billing_mode": "actual",
"compute_charges": [
{
"usage": [
{
"unit": "string",
"metric": "string",
"quantity": "string"
}
],
"amount": "string",
"status": "settled",
"billed_by": "yir",
"supply_type": "managed",
"amount_basis": "yir_price_rule"
}
],
"official_comparison": {
"source_url": "http://example.com",
"savings_amount": "string",
"baseline_amount": "string"
},
"total_charged_by_yir": "string"
},
"created_at": 1,
"parameters": {
"n": 1,
"fps": 1,
"size": "string",
"voice": "string",
"quality": "string",
"duration": 1,
"resolution": "string",
"aspect_ratio": "string",
"instrumental": true,
"generate_audio": true,
"lyrics_optimizer": true
},
"cancellation": {
"effect": "stop_future_attempts",
"status": "cancelled",
"requested_at": 1
},
"completed_at": 1,
"final_provider": "string",
"parameter_notices": [
{
"name": "string",
"reason": "channel_parameter_unsupported",
"message": "string",
"disposition": "ignored"
}
]
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.Examples
Request example
POST /v1/videoscurl 'https://api.openany.si/v1/videos' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A paper boat drifting down a rainy city street, slow tracking shot",
"type": "text"
},
"model": "veo-3.1-generate-001",
"parameters": {
"aspect_ratio": "16:9",
"duration": 8,
"generate_audio": true,
"n": 1,
"resolution": "720p"
},
"route_mode": "balanced"
}'