EccoAPI Documentation
Welcome to EccoAPI - your gateway to cutting-edge AI image generation services.
Getting Started
EccoAPI provides high-performance AI image generation capabilities through simple RESTful endpoints. Whether you need fast image prototyping or production-grade 4K images, our API has you covered.
Core API Services
NanoBanana Pro
High-quality 4K image generation with Gemini 3 Pro. Optimized for detail.
NanoBanana 3.1
Advanced image generation with Gemini 3.1 Flash. Thinking modes, system instructions, up to 4K.
Authentication
All requests require a Bearer token in the Authorization header:
Authorization: Bearer nk_live_your_api_key
Pricing
| Model | Price | Rate Limit |
|---|---|---|
| Nano Banana Pro (1K/2K) | $0.05/image | 1000 req/day, 100 req/min |
| Nano Banana Pro (4K) | $0.10/image | 1000 req/day, 100 req/min |
| Nano Banana 3.1 (1K) | $0.03/image | 1000 req/day, 60 req/min |
| Nano Banana 3.1 (2K) | $0.05/image | 1000 req/day, 60 req/min |
| Nano Banana 3.1 (4K) | $0.07/image | 1000 req/day, 60 req/min |
Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request - Missing or invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 402 | Payment Required - Insufficient credits |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
