AniwaffleDocsHomeStudio

API reference

List models

Returns the models served by the host you call, with their channels, output formats and realtime support.

Request

GEThttps://aniwaffle.com/v1/models

HeaderRequiredValue
AuthorizationYesBearer awp_...

The list depends on the host: call https://jp.aniwaffle.com/v1/models to see what the Japan region serves.

curl https://aniwaffle.com/v1/models \
  --header "Authorization: Bearer $ANIWAFFLE_API_KEY"

Response

200 OK
{
  "models": [
    {
      "id": "waffle:0.1-1111-beta",
      "name": "Waffle Mono 0.1 Beta",
      "description": "Waffle voice · emotion, delivery and sound controls",
      "channels": 1,
      "output_formats": ["pcm_24000", "pcm_44100", "pcm_48000", "aac_44100_128"],
      "realtime": false,
      "capabilities": ["tts", "voice_tags"]
    },
    {
      "id": "waffle:0.1-stereo-beta",
      "name": "Waffle Stereo 0.1 Beta",
      "description": "Native stereo · position, emotion, delivery and sound controls",
      "channels": 2,
      "output_formats": ["pcm_24000", "pcm_44100", "pcm_48000"],
      "realtime": false,
      "capabilities": ["tts", "stereo", "voice_tags"]
    }
  ]
}
FieldTypeDescription
models[].idstringThe model ID. Pass it as model in speech requests.
models[].namestringDisplay name.
models[].descriptionstringShort description of the model's controls.
models[].channels1 or 2Output channels. Stereo PCM interleaves left and right samples.
models[].output_formatsstring[]Formats the model can produce.
models[].realtimebooleanWhether this host accepts realtime: true with the model.
models[].capabilitiesstring[]Features such as voice_tags and stereo.

Errors

StatusCodeCause
401unauthorizedMissing, invalid or revoked API key.
403capability_disabledText to Speech is not enabled for the workspace.

Contact our team

Tell us about your character and what you’d like to build.