Skip to main content

Welcome

Welcome to our AI Image Generation API. This documentation covers all available endpoints for generating images using various AI models.

Base URL

All API requests should be made to:
https://api.kie.ai/api/v1

Authentication

All API endpoints require Bearer token authentication. Include your API key in the Authorization header:
{
  "Authorization": "Bearer YOUR_API_KEY"
}

Available Models

Response Format

All responses follow a consistent JSON format:
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "task_xxxxx"
  }
}

Rate Limits

API requests are subject to rate limiting. If you exceed the limit, you’ll receive a 429 status code.