SweetRouterAPI

Get started

SweetRouter API

SweetRouter is an OpenAI-compatible chat API built for characters: companions, role-play, stories and personas. If you have used the OpenAI SDK, you already know how to use it.

Base URL

base url
https://api.sweetrouter.com/v1

Use this base URL with any OpenAI SDK, together with your API key and the model sweet-character-1.

How a call works

  1. Create an API key in the console.
  2. Send your messages to POST /v1/chat/completions.
  3. Read the reply from choices[0].message.content, or stream it word by word.

Start here

Need a hand?

Check FAQ and troubleshooting, email us or message us on Telegram.