Documentation Index
Fetch the complete documentation index at: https://docs.eggapi.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
Use an API key from the dashboard:Public Model Scope
The current published public catalog exposes only nano-banana. Usenanobanana as the model value in API requests.
Request Format
- Use HTTPS.
- Send JSON bodies with
Content-Type: application/json. - Include
Authorization: Bearer YOUR_API_KEY.
Response Envelope
Success:Status Codes
| Status | Meaning |
|---|---|
200 | Request succeeded. |
202 | Async generation task was created. |
400 | Bad request or validation error. |
401 | Missing or invalid credentials. |
403 | Forbidden or insufficient balance. |
404 | Resource not found. |
429 | Rate limited. |
500 | Internal backend error. |
502 | Upstream provider error. |
503 | Service unavailable. |
Pagination
List endpoints use:| Parameter | Default | Max |
|---|---|---|
page | 1 | - |
per_page | 20 | 100 |
data.items and data.pagination.
Endpoints
POST /v1/generate
Create a nano-banana image generation or image editing task.
GET /v1/tasks/{id}
Get one task by ID.
GET /v1/tasks
List your generation tasks.
GET /v1/usage
List usage records.