Prerequisites
- RisuAI on the web or the desktop app
- A deAPI API key from the deAPI Dashboard. See API Keys.
Image generation
- Open Settings → Other Bots → Image Generation.
- Set Image Generation Provider to OpenAI Compatible.
- 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.- Open the character’s settings and go to the TTS tab (the speaker icon).
- Set Provider to OpenAI.
- Turn on Advanced (OpenAI-compatible endpoint).
- 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.
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