Skip to content

Commit 330cff1

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#219)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 8ac9ded commit 330cff1

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8712,6 +8712,7 @@ components:
87128712
- temperature
87138713
- top_p
87148714
- max_tokens
8715+
supported_voices: null
87158716
top_provider:
87168717
context_length: 8192
87178718
is_moderated: true
@@ -8772,6 +8773,13 @@ components:
87728773
items:
87738774
$ref: '#/components/schemas/Parameter'
87748775
type: array
8776+
supported_voices:
8777+
description: List of supported voice identifiers for TTS models. Null for non-TTS models.
8778+
example: null
8779+
items:
8780+
type: string
8781+
nullable: true
8782+
type: array
87758783
top_provider:
87768784
$ref: '#/components/schemas/TopProviderInfo'
87778785
required:
@@ -8786,6 +8794,7 @@ components:
87868794
- per_request_limits
87878795
- supported_parameters
87888796
- default_parameters
8797+
- supported_voices
87898798
- links
87908799
type: object
87918800
ModelArchitecture:
@@ -8947,6 +8956,7 @@ components:
89478956
- max_tokens
89488957
- frequency_penalty
89498958
- presence_penalty
8959+
supported_voices: null
89508960
top_provider:
89518961
context_length: 8192
89528962
is_moderated: true
@@ -8989,6 +8999,7 @@ components:
89898999
- temperature
89909000
- top_p
89919001
- max_tokens
9002+
supported_voices: null
89929003
top_provider:
89939004
context_length: 8192
89949005
is_moderated: true
@@ -14814,7 +14825,9 @@ paths:
1481414825
- Analytics
1481514826
/audio/speech:
1481614827
post:
14817-
description: Synthesizes audio from the input text
14828+
description: >-
14829+
Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm,
14830+
wav).
1481814831
operationId: createAudioSpeech
1481914832
requestBody:
1482014833
content:
@@ -14943,10 +14956,11 @@ paths:
1494314956
summary: Create speech
1494414957
tags:
1494514958
- TTS
14959+
x-speakeasy-max-method-params: 1
1494614960
x-speakeasy-name-override: createSpeech
1494714961
/audio/transcriptions:
1494814962
post:
14949-
description: Transcribes audio into text
14963+
description: Transcribes audio into text. Accepts base64-encoded audio input and returns the transcribed text.
1495014964
operationId: createAudioTranscriptions
1495114965
requestBody:
1495214966
content:
@@ -15078,6 +15092,7 @@ paths:
1507815092
summary: Create transcription
1507915093
tags:
1508015094
- STT
15095+
x-speakeasy-max-method-params: 1
1508115096
x-speakeasy-name-override: createTranscription
1508215097
/auth/keys:
1508315098
post:
@@ -16019,6 +16034,7 @@ paths:
1601916034
prompt: '0.00000002'
1602016035
request: '0'
1602116036
supported_parameters: []
16037+
supported_voices: null
1602216038
top_provider:
1602316039
context_length: 8192
1602416040
is_moderated: false
@@ -19252,6 +19268,7 @@ paths:
1925219268
- temperature
1925319269
- top_p
1925419270
- max_tokens
19271+
supported_voices: null
1925519272
top_provider:
1925619273
context_length: 8192
1925719274
is_moderated: true
@@ -19502,6 +19519,7 @@ paths:
1950219519
- temperature
1950319520
- top_p
1950419521
- max_tokens
19522+
supported_voices: null
1950519523
top_provider:
1950619524
context_length: 8192
1950719525
is_moderated: true

0 commit comments

Comments
 (0)