Every API request needs an API key in theDocumentation Index
Fetch the complete documentation index at: https://docs.getimg.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
Get your API key
Create and manage API keys in the developer settings.Use your key
Security best practices
- Store API keys in environment variables, not source code.
- Add
.envfiles to.gitignore. - Revoke compromised API keys in developer settings and create replacements.
- Use separate API keys for development and production.
Authentication errors
Missing, malformed, or invalid keys return401 with error code invalid_api_key.