What a speech answer's bytes are. `mime` is the provider's real content type. For pcm the bytes are raw samples with no header, and the other three say their layout: OpenAI and OpenRouter send 24000, 1, s16le; another provider says it in its content type or its provider record, else null (never a guess). For mp3 the other three are null.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-speech-audio-schema.json",
"title": "SpeechAudio",
"description": "What a speech answer's bytes are. `mime` is the provider's real content type. For pcm the bytes are raw samples with no header, and the other three say their layout: OpenAI and OpenRouter send 24000, 1, s16le; another provider says it in its content type or its provider record, else null (never a guess). For mp3 the other three are null.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aimeat-io-ai-api-openapi.yml#/components/schemas/SpeechAudio",
"type": "object",
"required": [
"mime",
"sample_rate",
"channels",
"sample_format"
],
"properties": {
"mime": {
"type": "string"
},
"sample_rate": {
"type": [
"integer",
"null"
]
},
"channels": {
"type": [
"integer",
"null"
]
},
"sample_format": {
"type": [
"string",
"null"
],
"enum": [
"s16le",
"s16be",
"f32le",
null
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.