← API guides

API key and Base URL: connect to kiree.net

How to get an sk-… key, which Base URL https://kiree.net/v1 to set in SDKs and clients, the authorization header and the first request through the OpenAI-compatible gateway.

Where to get the key

Sign in to the kiree.net console and create an sk-… key. The key works for every model on the gateway: text, images, video, voice and avatars.

Gateway Base URL

Set https://kiree.net/v1 as the base URL (base_url / OPENAI_API_BASE) in an OpenAI-compatible SDK or client. Endpoints: /chat/completions, /images/generations, /videos/generations, /audio/speech.

Authorization header

Pass the key in the Authorization: Bearer sk-… header. The request and response format follows the standard OpenAI schema, so existing code only needs to point at the new Base URL.

First request

After connecting, pass a model ID from the catalog in the model field. If you get a reply, the gateway and key are working; the model list and prices are in the catalog.

Frequently asked questions

Which Base URL should I use?+

https://kiree.net/v1 — without a trailing slash in the endpoint paths. In an SDK this is the base_url parameter; in environment variables it is OPENAI_API_BASE.

One key for all models?+

Yes, the console key works for text, media and voice models; you do not need a separate key per model.

What if I get a 401 / 403 / 429?+

401 — missing or invalid key, 403 — access forbidden, 429 — request limit reached. The error codes are explained in the blog and support section.