Quickstart

The LinguaChats API is fully OpenAI-compatible. If you've used the OpenAI SDK before, you already know how to use LinguaChats — just change the base URL and pick one of our specialized models.

1. Create an account

Sign up with your email. New accounts are activated within 24 hours, and you receive free starter credits automatically as soon as yours is active.

2. Create an API key

Go to Dashboard → API Keys and create a key. The full secret is shown only once — store it safely.

3. Make your first request

Export your key as an environment variable so it never ends up in your source code:

bash
export LINGUACHATS_API_KEY="lc_your_key_here"

Then call any model with curl, or with the official OpenAI SDKs (pip install openai / npm install openai) pointed at https://www.linguachats.ai/v1:

curl https://www.linguachats.ai/v1/chat/completions \
  -H "Authorization: Bearer $LINGUACHATS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "lyra",
    "messages": [
      {
        "role": "user",
        "content": "Write a two-line story about the sea."
      }
    ]
  }'

Next steps