Anannas supports sending audio files to compatible models via the API. This guide will show you how to work with audio using Anannas.Documentation Index
Fetch the complete documentation index at: https://docs.anannas.ai/llms.txt
Use this file to discover all available pages before exploring further.
Audio files must be base64-encoded - direct URLs are not supported for audio content.
Audio Inputs
Requests with audio files to compatible models are available via the/v1/chat/completions API with the input_audio content type. Audio files must be base64-encoded and include the format specification. Note that only models with audio processing capabilities will handle these requests.
You can search for models that support audio by filtering to audio input modality on our Models page.
Sending Audio Files
Here’s how to send an audio file for processing:Format Detection
The audio format is typically determined from the file extension. Extract the format by removing the leading dot from the file extension (e.g.,.mp3 → mp3, .wav → wav).
Supported Formats
Supported audio formats vary by provider. Common formats include:wav- WAV audiomp3- MP3 audioaiff- AIFF audioaac- AAC audioogg- OGG Vorbis audioflac- FLAC audiom4a- M4A audiopcm16- PCM16 audiopcm24- PCM24 audio
Check Format Support
Note: Check your model’s documentation to confirm which audio formats it supports. Not all models support all formats. Visit anannas.ai/models to see capabilities by model.
Was this page helpful?