EccoAPIeccoapi

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

Authentication

All requests require a Bearer token in the Authorization header:

Authorization: Bearer nk_live_your_api_key

Pricing

ModelPriceRate Limit
NanoBanana Pro (1K)$0.09/image100 req/min
NanoBanana Pro (2K)$0.09/image100 req/min
NanoBanana Pro (4K)$0.175/image100 req/min
NanoBanana 2 (1K)$0.05/image60 req/min
NanoBanana 2 (2K)$0.075/image60 req/min
NanoBanana 2 (4K)$0.10/image60 req/min
GPT Image 2 (1K (1024x1024, 1536x1024, 1024x1536))$0.015/image30 req/min
GPT Image 2 (2K (2048x2048, 2048x1152))$0.025/image30 req/min
GPT Image 2 (4K (3840x2160, 2160x3840))$0.05/image30 req/min
GPT Image 2 (1K (1024x1024, 1536x1024, 1024x1536))$0.045/image30 req/min
GPT Image 2 (2K (2048x2048, 2048x1152))$0.05/image30 req/min
GPT Image 2 (4K (3840x2160, 2160x3840))$0.09/image30 req/min
GPT Image 2 (1K (1024x1024, 1536x1024, 1024x1536))$0.18/image30 req/min
GPT Image 2 (2K (2048x2048, 2048x1152))$0.20/image30 req/min
GPT Image 2 (4K (3840x2160, 2160x3840))$0.35/image30 req/min
Kling 2.6 (Per-second billing)rate × duration/image5 req/min
Kling 2.6 (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Kling 2.6 (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Kling 3.0 (Per-second billing)rate × duration/image5 req/min
Kling 3.0 (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Kling 3.0 (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Seedance 2.0 (Per-second billing)rate × duration/image5 req/min
Seedance 2.0 (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Seedance 2.0 (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Wan Animate (Per-second billing)rate × duration/image5 req/min
Wan Animate (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Wan Animate (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Wan 2.7 (Per-second billing)rate × duration/image5 req/min
Wan 2.7 (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Wan 2.7 (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Happy Horse (Per-second billing)rate × duration/image5 req/min
Happy Horse (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Happy Horse (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Kling MC 2.6 (Per-second billing)rate × duration/image5 req/min
Kling MC 2.6 (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Kling MC 2.6 (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min
Kling MC 3.0 (Per-second billing)rate × duration/image5 req/min
Kling MC 3.0 (Resolution)720p (lower rate) / 1080p (higher rate)/image5 req/min
Kling MC 3.0 (Audio (Kling 2.6 / 3.0))higher per-second rate when enabled/image5 req/min

Error Codes

CodeDescription
400Bad Request - Missing or invalid parameters
401Unauthorized - Invalid or missing API key
402Payment Required - Insufficient credits
429Too Many Requests - Rate limit exceeded
500Internal Server Error