Skip to main content
Audio output in Chat Completions · gpt-audio-mini Use this exact MixRoute model ID to select the route. POST /v1/chat/completions Check availability in the Model Marketplace for your API key’s group. A catalog listing does not guarantee that a route is enabled.
This request format requires pricing to be enabled for this model in your MixRoute group. If the API returns model_price_error, contact MixRoute support; changing the prompt does not make the route available.

Quick Example

Set MIXROUTE_API_KEY before running the example.
Read Base64 audio from choices[0].message.audio.data and decode it as WAV.

Parameters

API Reference