Compare commits

...
Author SHA1 Message Date
OpenRouter SDK Bot 1c1fa61807 chore: update OpenAPI spec [sdk-bot] 2026-04-12 00:16:07 +00:00
+43 -2
View File
@@ -5416,6 +5416,24 @@ components:
required: required:
- type - type
type: object type: object
FrameImage:
allOf:
- $ref: '#/components/schemas/ContentPartImage'
- properties:
frame_type:
description: Whether this image represents the first or last frame of the video
enum:
- first_frame
- last_frame
example: first_frame
type: string
required:
- frame_type
type: object
example:
image_url:
url: https://example.com/image.png
type: image_url
FunctionCallArgsDeltaEvent: FunctionCallArgsDeltaEvent:
allOf: allOf:
- $ref: '#/components/schemas/BaseFunctionCallArgsDeltaEvent' - $ref: '#/components/schemas/BaseFunctionCallArgsDeltaEvent'
@@ -12149,10 +12167,17 @@ components:
exclusiveMinimum: true exclusiveMinimum: true
minimum: 0 minimum: 0
type: integer type: integer
frame_images:
description: >-
Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of
first_frame or last_frame.
items:
$ref: '#/components/schemas/FrameImage'
type: array
generate_audio: generate_audio:
description: >- description: >-
Whether to generate audio alongside the video. Defaults to true for models that support audio output, false Whether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag,
otherwise. false if not set.
example: true example: true
type: boolean type: boolean
input_references: input_references:
@@ -12676,10 +12701,12 @@ components:
canonical_slug: google/veo-3.1 canonical_slug: google/veo-3.1
created: 1700000000 created: 1700000000
description: Google video generation model description: Google video generation model
generate_audio: true
id: google/veo-3.1 id: google/veo-3.1
name: Veo 3.1 name: Veo 3.1
pricing_skus: pricing_skus:
generate: '0.50' generate: '0.50'
seed: null
supported_aspect_ratios: supported_aspect_ratios:
- '16:9' - '16:9'
supported_durations: supported_durations:
@@ -12706,6 +12733,10 @@ components:
description: Description of the model description: Description of the model
example: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy. example: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
type: string type: string
generate_audio:
description: Whether the model supports generating audio alongside video
nullable: true
type: boolean
hugging_face_id: hugging_face_id:
description: Hugging Face model identifier, if applicable description: Hugging Face model identifier, if applicable
example: microsoft/DialoGPT-medium example: microsoft/DialoGPT-medium
@@ -12725,6 +12756,10 @@ components:
description: Pricing SKUs with provider prefix stripped, values as strings description: Pricing SKUs with provider prefix stripped, values as strings
nullable: true nullable: true
type: object type: object
seed:
description: Whether the model supports deterministic generation via seed parameter
nullable: true
type: boolean
supported_aspect_ratios: supported_aspect_ratios:
description: Supported output aspect ratios description: Supported output aspect ratios
items: items:
@@ -12802,6 +12837,8 @@ components:
- supported_aspect_ratios - supported_aspect_ratios
- supported_sizes - supported_sizes
- supported_durations - supported_durations
- generate_audio
- seed
- allowed_passthrough_parameters - allowed_passthrough_parameters
type: object type: object
VideoModelsListResponse: VideoModelsListResponse:
@@ -12811,10 +12848,12 @@ components:
canonical_slug: google/veo-3.1 canonical_slug: google/veo-3.1
created: 1700000000 created: 1700000000
description: Google video generation model description: Google video generation model
generate_audio: true
id: google/veo-3.1 id: google/veo-3.1
name: Veo 3.1 name: Veo 3.1
pricing_skus: pricing_skus:
generate: '0.50' generate: '0.50'
seed: null
supported_aspect_ratios: supported_aspect_ratios:
- '16:9' - '16:9'
supported_durations: supported_durations:
@@ -19125,10 +19164,12 @@ paths:
canonical_slug: google/veo-3.1 canonical_slug: google/veo-3.1
created: 1700000000 created: 1700000000
description: Google video generation model description: Google video generation model
generate_audio: true
id: google/veo-3.1 id: google/veo-3.1
name: Veo 3.1 name: Veo 3.1
pricing_skus: pricing_skus:
generate: '0.50' generate: '0.50'
seed: null
supported_aspect_ratios: supported_aspect_ratios:
- '16:9' - '16:9'
supported_durations: supported_durations: