Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 97 additions & 1 deletion .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6230,6 +6230,101 @@ components:
- 'data'
- 'model'
type: 'object'
- additionalProperties: false
properties:
audio:
anyOf:
- additionalProperties: false
properties:
bits_per_sample:
enum:
- 16
type: 'number'
channels:
exclusiveMinimum: true
minimum: 0
type: 'integer'
data:
description: 'Base64-encoded PCM16 audio in the format the sibling fields give.'
minLength: 1
type: 'string'
format:
enum:
- 'pcm'
type: 'string'
sample_rate:
exclusiveMinimum: true
minimum: 0
type: 'integer'
required:
- 'format'
- 'sample_rate'
- 'channels'
- 'bits_per_sample'
- 'data'
type: 'object'
- additionalProperties: false
properties:
bits_per_sample:
enum:
- 16
type: 'number'
byte_length:
exclusiveMinimum: true
minimum: 0
type: 'integer'
channels:
exclusiveMinimum: true
minimum: 0
type: 'integer'
format:
enum:
- 'pcm'
type: 'string'
sample_rate:
exclusiveMinimum: true
minimum: 0
type: 'integer'
sha256:
pattern: '^[0-9a-f]{64}$'
type: 'string'
required:
- 'format'
- 'sample_rate'
- 'channels'
- 'bits_per_sample'
- 'byte_length'
- 'sha256'
type: 'object'
model:
type: 'string'
object:
enum:
- 'audio.speech'
type: 'string'
usage:
additionalProperties: false
properties:
completion_tokens:
minimum: 0
type: 'integer'
prompt_tokens:
minimum: 0
type: 'integer'
total_tokens:
minimum: 0
type: 'integer'
required:
- 'prompt_tokens'
- 'completion_tokens'
- 'total_tokens'
type: 'object'
required:
- 'object'
- 'model'
- 'audio'
- 'usage'
type: 'object'
request_id:
type:
- 'string'
Expand Down Expand Up @@ -6642,6 +6737,7 @@ components:
- '/v1/responses'
- '/v1/messages'
- '/v1/embeddings'
- '/v1/audio/speech'
type: 'string'
model:
minLength: 1
Expand Down Expand Up @@ -40728,7 +40824,7 @@ paths:
results: '$.data'
type: 'cursor'
post:
description: 'Creates a batch of requests that run asynchronously against a single endpoint (`/v1/chat/completions`, `/v1/responses`, `/v1/messages`, `/v1/embeddings`). Returns `202` with `status: "validating"`. Poll `GET /batches/{id}` for progress and results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
description: 'Creates a batch of requests that run asynchronously against a single endpoint (`/v1/chat/completions`, `/v1/responses`, `/v1/messages`, `/v1/embeddings`, `/v1/audio/speech`). Returns `202` with `status: "validating"`. Poll `GET /batches/{id}` for progress and results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
operationId: 'createBatches'
requestBody:
content:
Expand Down
Loading