Skip to content

Commit a0a7ede

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#106)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 4e84bb7 commit a0a7ede

1 file changed

Lines changed: 62 additions & 2 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5416,6 +5416,24 @@ components:
54165416
required:
54175417
- type
54185418
type: object
5419+
FrameImage:
5420+
allOf:
5421+
- $ref: '#/components/schemas/ContentPartImage'
5422+
- properties:
5423+
frame_type:
5424+
description: Whether this image represents the first or last frame of the video
5425+
enum:
5426+
- first_frame
5427+
- last_frame
5428+
example: first_frame
5429+
type: string
5430+
required:
5431+
- frame_type
5432+
type: object
5433+
example:
5434+
image_url:
5435+
url: https://example.com/image.png
5436+
type: image_url
54195437
FunctionCallArgsDeltaEvent:
54205438
allOf:
54215439
- $ref: '#/components/schemas/BaseFunctionCallArgsDeltaEvent'
@@ -12149,10 +12167,17 @@ components:
1214912167
exclusiveMinimum: true
1215012168
minimum: 0
1215112169
type: integer
12170+
frame_images:
12171+
description: >-
12172+
Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of
12173+
first_frame or last_frame.
12174+
items:
12175+
$ref: '#/components/schemas/FrameImage'
12176+
type: array
1215212177
generate_audio:
1215312178
description: >-
12154-
Whether to generate audio alongside the video. Defaults to true for models that support audio output, false
12155-
otherwise.
12179+
Whether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag,
12180+
false if not set.
1215612181
example: true
1215712182
type: boolean
1215812183
input_references:
@@ -12676,15 +12701,20 @@ components:
1267612701
canonical_slug: google/veo-3.1
1267712702
created: 1700000000
1267812703
description: Google video generation model
12704+
generate_audio: true
1267912705
id: google/veo-3.1
1268012706
name: Veo 3.1
1268112707
pricing_skus:
1268212708
generate: '0.50'
12709+
seed: null
1268312710
supported_aspect_ratios:
1268412711
- '16:9'
1268512712
supported_durations:
1268612713
- 5
1268712714
- 8
12715+
supported_frame_images:
12716+
- first_frame
12717+
- last_frame
1268812718
supported_resolutions:
1268912719
- 720p
1269012720
supported_sizes: null
@@ -12706,6 +12736,10 @@ components:
1270612736
description: Description of the model
1270712737
example: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
1270812738
type: string
12739+
generate_audio:
12740+
description: Whether the model supports generating audio alongside video
12741+
nullable: true
12742+
type: boolean
1270912743
hugging_face_id:
1271012744
description: Hugging Face model identifier, if applicable
1271112745
example: microsoft/DialoGPT-medium
@@ -12725,6 +12759,10 @@ components:
1272512759
description: Pricing SKUs with provider prefix stripped, values as strings
1272612760
nullable: true
1272712761
type: object
12762+
seed:
12763+
description: Whether the model supports deterministic generation via seed parameter
12764+
nullable: true
12765+
type: boolean
1272812766
supported_aspect_ratios:
1272912767
description: Supported output aspect ratios
1273012768
items:
@@ -12745,6 +12783,15 @@ components:
1274512783
type: integer
1274612784
nullable: true
1274712785
type: array
12786+
supported_frame_images:
12787+
description: Supported frame image types (e.g. first_frame, last_frame)
12788+
items:
12789+
enum:
12790+
- first_frame
12791+
- last_frame
12792+
type: string
12793+
nullable: true
12794+
type: array
1274812795
supported_resolutions:
1274912796
description: Supported output resolutions
1275012797
items:
@@ -12802,6 +12849,9 @@ components:
1280212849
- supported_aspect_ratios
1280312850
- supported_sizes
1280412851
- supported_durations
12852+
- supported_frame_images
12853+
- generate_audio
12854+
- seed
1280512855
- allowed_passthrough_parameters
1280612856
type: object
1280712857
VideoModelsListResponse:
@@ -12811,15 +12861,20 @@ components:
1281112861
canonical_slug: google/veo-3.1
1281212862
created: 1700000000
1281312863
description: Google video generation model
12864+
generate_audio: true
1281412865
id: google/veo-3.1
1281512866
name: Veo 3.1
1281612867
pricing_skus:
1281712868
generate: '0.50'
12869+
seed: null
1281812870
supported_aspect_ratios:
1281912871
- '16:9'
1282012872
supported_durations:
1282112873
- 5
1282212874
- 8
12875+
supported_frame_images:
12876+
- first_frame
12877+
- last_frame
1282312878
supported_resolutions:
1282412879
- 720p
1282512880
supported_sizes: null
@@ -19125,15 +19180,20 @@ paths:
1912519180
canonical_slug: google/veo-3.1
1912619181
created: 1700000000
1912719182
description: Google video generation model
19183+
generate_audio: true
1912819184
id: google/veo-3.1
1912919185
name: Veo 3.1
1913019186
pricing_skus:
1913119187
generate: '0.50'
19188+
seed: null
1913219189
supported_aspect_ratios:
1913319190
- '16:9'
1913419191
supported_durations:
1913519192
- 5
1913619193
- 8
19194+
supported_frame_images:
19195+
- first_frame
19196+
- last_frame
1913719197
supported_resolutions:
1913819198
- 720p
1913919199
supported_sizes: null

0 commit comments

Comments
 (0)