Text to Speech
Models
Waffle models turn text into speech in any Waffle voice. Choose the model per request; the voice stays the same.
Available models
| Model ID | Name | Channels | Output formats | Tags |
|---|---|---|---|---|
waffle:0.1-1111-beta | Waffle Mono 0.1 Beta | 1 | pcm_24000, pcm_44100, pcm_48000, aac_44100_128 | Emotion, delivery, human sounds |
waffle:0.1-stereo-beta | Waffle Stereo 0.1 Beta | 2 | pcm_24000, pcm_44100, pcm_48000 | Position, emotion, delivery, human sounds |
Waffle Mono is the default model for every voice. Use it for single-channel speech: assistants, characters, narration and voice agents.
Waffle Stereo generates native two-channel speech and places it in the stereo field with position tags. See Stereo and positioning.
Select a model
Every Waffle voice works with every Waffle model, and no voice needs to be cloned again for a different model.
- Omit
modelto use the voice's default model, Waffle Mono. - Set
modelto an ID from the table to use another model with the samevoice_id.
{
"text": "<left:near>Over here.</left:near>",
"voice_id": "YOUR_VOICE_ID",
"model": "waffle:0.1-stereo-beta",
"output_format": "pcm_48000"
}The model decides the number of output channels, the output formats you can request, and the tags you can use.
Realtime
Set "realtime": true to use the lower-latency realtime tier of Waffle Mono for conversational playback.
- Realtime is served from the Japan endpoint,
https://jp.aniwaffle.com(wss://jp.aniwaffle.com/v1/tts/streamfor streaming). Check thatrealtimeistruefor the model inGET /v1/modelson the host you call. - Realtime requests cost the same as standard requests.
- Waffle Stereo does not support realtime. A stereo request with
realtime: trueis rejected before synthesis and is not charged.
Discover models at runtime
GET /v1/models returns the models served by the host you call, with their channels, output formats and realtime support. Read it at startup instead of hard-coding format lists.
curl https://aniwaffle.com/v1/models \
--header "Authorization: Bearer $ANIWAFFLE_API_KEY"See List models for the response fields.