Skip to main content
RisuAI is a chat app for roleplay and character chats, on the web at risuai.xyz and as a desktop app. Its image generation and text-to-speech settings accept any OpenAI-compatible API, so you can point them at deAPI without a plugin. Both features were checked by sending deAPI the exact requests that RisuAI builds (main branch, November 2026).

Prerequisites


Image generation

  1. Open Settings → Other Bots → Image Generation.
  2. Set Image Generation Provider to OpenAI Compatible.
  3. Fill in the fields:
To try it, open Playground → Image Generation, type a prompt and click Generate. In testing, a 512x512 image from ZImageTurbo_INT8 took about 11 seconds and a 1024x1024 one 30 to 55 seconds. To show pictures in a chat, open the character’s settings, go to Character Display → Additional Character Screen and choose Image Generation. RisuAI then writes a prompt from the chat with your auxiliary model and sends it to deAPI. Image Size offers five sizes. Not every model takes all of them: Quality maps to a step preset for each model. Auto uses the model’s default. The OpenAI Compatible provider does not send RisuAI’s negative prompt.

Text-to-speech

Voice is set per character.
  1. Open the character’s settings and go to the TTS tab (the speaker icon).
  2. Set Provider to OpenAI.
  3. Turn on Advanced (OpenAI-compatible endpoint).
  4. Fill in the fields:
Leave Response Format on mp3. Kokoro returns MP3 only, and any other format answers format_not_supported. In testing, a short line took about 7 seconds.
Kokoro voices are tied to one language, set by the voice prefix: af_ and am_ are American English, bf_ and bm_ British English. The OpenAI names alloy, echo, fable, onyx, nova and shimmer also work and map to English voices. The full list is in Text-to-speech.

Web version and your key

On risuai.xyz, RisuAI sends API requests through its own proxy server, so your deAPI key passes through that server. The desktop app calls deAPI directly. If you would rather keep the key off the proxy, use the desktop app.

Troubleshooting


Next steps

OpenAI Compatibility

Every endpoint, model and field the OpenAI-compatible API supports