OpenAI Audio API

Learn how to turn audio into text or text into audio.

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /audio/speech Turn text into spoken audio · Generates audio from the input text. #
Ask an LLM
“How do I convert a paragraph of text into an MP3 voiceover?”
“Can I control the speaking speed and tone of generated speech?”
Tell an agent
Read {input} aloud using voice {voice} with model {model}.
Generate a {response_format} speech file of {input} in voice {voice} using {model}.
POST /audio/transcriptions Transcribe an audio recording · Transcribes audio into the input language. #
Ask an LLM
“What's the way to turn a meeting recording into text in its original language?”
“Can I get word-level timestamps or speaker labels in a transcript?”
Tell an agent
Transcribe audio file {file} with model {model}.
Transcribe {file} using {model}, telling it the speech is in {language}.
POST /audio/translations Translate spoken audio into English text · Translates audio into English #
Ask an LLM
“Can I take a Spanish audio clip and get an English transcript back?”
“Is there a way to translate foreign-language speech straight into English text?”
Tell an agent
Translate the speech in {file} into English using {model}.
Give me an English translation of recording {file} with model {model} as {response_format}.
POST /audio/voice_consents Upload a voice consent recording · Upload a voice consent recording #
Ask an LLM
“What do I need to upload before I'm allowed to create a custom voice?”
“How do I submit a speaker's consent recording for voice cloning?”
Tell an agent
Upload consent recording {recording} named {name} in {language}.
Register a voice consent called {name} from recording {recording}, spoken in {language}.
GET /audio/voice_consents List voice consent recordings · Returns a list of voice consent recordings #
Ask an LLM
“Which voice consent recordings has my organization uploaded for custom voices?”
“Can I page through all our custom-voice consent recordings?”
Tell an agent
List our voice consent recordings.
Show the first {limit} voice consent recordings.
GET /audio/voice_consents/{consent_id} Retrieve a voice consent recording · Retrieves a voice consent recording #
Ask an LLM
“What metadata is stored for one of our voice consent recordings?”
“Can I look up a single consent recording by its ID?”
Tell an agent
Get voice consent {consent_id}.
Show the metadata of consent recording {consent_id}.
POST /audio/voice_consents/{consent_id} Rename a voice consent recording · Updates a voice consent recording (metadata only) #
Ask an LLM
“Can I rename a consent recording without re-uploading the audio?”
“Does updating a voice consent replace its audio?”
Tell an agent
Rename voice consent {consent_id} to {name}.
Change the name on consent recording {consent_id} to {name}.
DELETE /audio/voice_consents/{consent_id} Delete a voice consent recording · Deletes a voice consent recording #
Ask an LLM
“How do I remove a speaker's consent recording if they withdraw permission?”
“Can I delete a voice consent recording we uploaded?”
Tell an agent destructive · confirm first
Delete voice consent {consent_id}.
Remove the consent recording {consent_id} permanently.
POST /audio/voices Create a custom voice · Creates a custom voice #
Ask an LLM
“How do I create a custom voice to use in text-to-speech?”
“What does a custom voice need besides an audio sample?”
Tell an agent
Create a custom voice named {name} from sample {audio_sample} using consent {consent}.
Build voice {name} from audio sample {audio_sample} backed by consent recording {consent}.

Documentation

📖
Documentation
https://platform.openai.com/docs/assistants/overview
📖
Documentation
https://platform.openai.com/docs/api-reference/assistants
📖
Documentation
https://platform.openai.com/docs/guides/text-to-speech
📖
Documentation
https://platform.openai.com/docs/api-reference/audio
📖
Documentation
https://platform.openai.com/docs/guides/speech-to-text
📖
Documentation
https://developers.openai.com/api/docs/guides/audio/
📖
Documentation
https://developers.openai.com/api/docs/guides/voice-agents/
📖
Documentation
https://platform.openai.com/docs/api-reference/chat
📖
Documentation
https://platform.openai.com/docs/guides/embeddings
📖
Documentation
https://platform.openai.com/docs/api-reference/embeddings
📖
Documentation
https://platform.openai.com/docs/api-reference/files
📖
Documentation
https://platform.openai.com/docs/guides/fine-tuning
📖
Documentation
https://platform.openai.com/docs/api-reference/fine-tuning
📖
Documentation
https://platform.openai.com/docs/guides/images
📖
Documentation
https://platform.openai.com/docs/api-reference/images
📖
Documentation
https://platform.openai.com/docs/guides/image-generation
📖
Documentation
https://platform.openai.com/docs/guides/images-vision
📖
Documentation
https://platform.openai.com/docs/models
📖
Documentation
https://platform.openai.com/docs/api-reference/models
📖
Documentation
https://platform.openai.com/docs/assistants/how-it-works/managing-threads-and-messages
📖
Documentation
https://platform.openai.com/docs/api-reference/threads
📖
Documentation
https://platform.openai.com/docs/api-reference/completions

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openai-audio-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openai-audio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAI Audio API
  description: The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
  version: 2.3.0
  termsOfService: https://openai.com/policies/terms-of-use
  contact:
    name: OpenAI Support
    url: https://help.openai.com/
  license:
    name: MIT
    url: https://github.com/openai/openai-openapi/blob/master/LICENSE
servers:
- url: https://api.openai.com/v1
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (109 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/openai/refs/heads/main/openapi/openai-audio-api-openapi.yml