Prerequisites
- A Marinara Engine install
- A deAPI API key from the deAPI Dashboard. See API Keys.
Image generation
- Open Connections and click Add account.
- Choose OpenAI-compatible address.
- Enter the address and key, then click Connect:
- On the models step, switch to Image and star
Flux_2_Klein_4B_BF16. - In Connections → Jobs, set Images to that model.
/images/generations to the address itself.
Which model
Marinara asks for a different size for each kind of picture:1280x720 for backgrounds and game scenes, 896x1280 for illustrations, 896x1152 for selfies and 1024x1024 for portraits.
To use a model with a fixed list of sizes, open that image model’s settings and put this in Custom Parameters:
size_not_supported.
Text-to-speech
- Open Connections, click Add account and choose Text to speech.
- Turn on Use text to speech.
- Fill in the fields:
To give characters different voices, choose Selected per character instead and assign a voice to each one.
deAPI does not list voices at
/audio/voices, so Marinara shows OpenAI’s voice names. All nine of them (alloy, ash, coral, echo, fable, nova, onyx, sage, shimmer) work on Kokoro. To use another voice, type its name, e.g. af_bella or bm_george. In testing, a short line took 5 to 10 seconds.
Keep Audio format on MP3: Kokoro returns MP3 only. Marinara’s speed slider goes from 0.25 to 4, but Kokoro accepts 0.5 to 2.0 and answers speed_out_of_range outside it.
Troubleshooting
Next steps
OpenAI Compatibility
Every endpoint, model and field the OpenAI-compatible API supports