GirlLab Chat quick start
Build conversations with custom personas through the Chat API. Replies are returned synchronously.
1. Create an API Key
Sign in to the console and open API Keys. Keep the key on your server; never include it in public client code. See Authentication.
2. Send a message
bash
curl -X POST https://api.girllab.io/v1/chat/messages \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"message":"Hello!","persona":"You are a helpful assistant."}'The response contains conversation_id, config, and an assistant message. Pass conversation_id in subsequent requests to continue the conversation.
3. Explore Chat
- Chat: messages, conversation settings, voice input, and reading replies aloud.
- Billing: credits are charged per model reply.
- Errors: authentication, balance, and upstream errors.
You can also try Playground → Chat in the console. The interactive API reference is available at API docs.