mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-02 12:50:48 +08:00
chore: update OpenAPI spec from monorepo (#395)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
60589be74b
commit
34403bd422
@@ -23896,7 +23896,9 @@ paths:
|
|||||||
x-speakeasy-name-override: createSpeech
|
x-speakeasy-name-override: createSpeech
|
||||||
/audio/transcriptions:
|
/audio/transcriptions:
|
||||||
post:
|
post:
|
||||||
description: Transcribes audio into text. Accepts base64-encoded audio input and returns the transcribed text.
|
description: >-
|
||||||
|
Transcribes audio into text. Accepts base64-encoded audio input as JSON or an OpenAI-style multipart/form-data
|
||||||
|
file upload, and returns the transcribed text.
|
||||||
operationId: createAudioTranscriptions
|
operationId: createAudioTranscriptions
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
@@ -23909,6 +23911,37 @@ paths:
|
|||||||
model: openai/whisper-large-v3
|
model: openai/whisper-large-v3
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/STTRequest'
|
$ref: '#/components/schemas/STTRequest'
|
||||||
|
multipart/form-data:
|
||||||
|
example:
|
||||||
|
file: audio.wav
|
||||||
|
language: en
|
||||||
|
model: openai/whisper-large-v3
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
file:
|
||||||
|
description: >-
|
||||||
|
The audio file to transcribe. The format is derived from the filename extension or the file part
|
||||||
|
content type. Max 25 MB; send larger files as base64 JSON via input_audio.
|
||||||
|
format: binary
|
||||||
|
type: string
|
||||||
|
language:
|
||||||
|
description: The language of the input audio (ISO-639-1).
|
||||||
|
type: string
|
||||||
|
model:
|
||||||
|
description: The model to use for transcription.
|
||||||
|
type: string
|
||||||
|
response_format:
|
||||||
|
description: The response format. Only "json" is supported.
|
||||||
|
enum:
|
||||||
|
- json
|
||||||
|
type: string
|
||||||
|
temperature:
|
||||||
|
description: The sampling temperature.
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- file
|
||||||
|
- model
|
||||||
|
type: object
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|||||||
Reference in New Issue
Block a user