API Documentation

Integrate ImagineAI into your applications with our powerful REST API.

Fast Generation

Images ready in seconds

Secure

Enterprise-grade security

99.9% Uptime

Reliable infrastructure

Quick Start

curl -X POST https://api.imagineai.com/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A magical forest at twilight"}'

Endpoints

POST/api/generateGenerate a new image from text prompt
GET/api/status/:idCheck image generation status
GET/api/imagesList all generated images
DELETE/api/images/:idDelete an image