Skip to main content

Welcome to Compile Labs

Get up and running with Compile Labs in just a few steps.

Step 1: Create an account

  1. Go to console.compilelabs.com
  2. Sign up for a free account
  3. Verify your email address
Your account starts with credits to get you started.

Step 2: Create an API key

  1. Log into your dashboard at console.compilelabs.com
  2. On the left sidebar, navigate to API keys
  3. Click Create API Key
  4. Give it a name (e.g., “My First App”)
  5. Copy your key immediately
Keep your API key secure and never share it publicly.

Invite your team (optional)

Invite teammates to your organization so they can create API keys and manage resources:
  1. Go to SettingsOrganizationsUsers
  2. Click Invite User and enter their email
  3. Choose a role (Owner, Admin, Member)
  4. Send invite — they’ll receive an email to join your org
You can set per‑member or service key quotas in the Usage section, as well as edit API key quotas in the API keys section.

Step 3: Make your first request

Chat completion

curl https://api.compilelabs.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2-0905",
    "messages": [
      {"role": "user", "content": "Hello! What can you do?"}
    ]
  }'

Image generation

curl https://api.compilelabs.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "black-forest-labs/flux-1-schnell",
    "prompt": "A beautiful sunset over the ocean"
  }'

Step 4: Explore available models

List all available models:
curl "https://api.compilelabs.com/v1/models?type=text_to_text" \
  -H "Authorization: Bearer YOUR_API_KEY"
Compile Labs provides access to models from leading AI providers including OpenAI, Anthropic, Google, Meta, and more.

Next steps

Need help?

View API Reference

Browse complete API documentation with examples
Questions? Reach out to support@compilelabs.ai or join our community.