Skip to main content

API Keys

All API requests require authentication using an API key. Include your key in the x-api-key header with every request.

Key Format

API keys follow this format:
  • Prefix: sk_ (secret key)
  • Length: 32 characters total
  • Example: sk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
Keep your API key secret! Never expose it in client-side code or public repositories.

Request Headers

Error Responses

Missing API Key

Status Code: 401 Unauthorized

Invalid API Key

Status Code: 401 Unauthorized

Code Examples

Rate Limits

Currently, there are no strict rate limits. However, we recommend:
  • Maximum 500 concurrent jobs per API key
  • Polling interval of 2-5 seconds for job status
Contact us if you need higher limits for your use case.

Security Best Practices

Store your API key in environment variables, not in code:
Always make API calls from your backend server, never from client-side JavaScript.
If you suspect your key is compromised, contact us immediately for a new key.