DocsAPI Reference
API Reference

REST API Documentation

Integrate AI generation capabilities into your applications with our simple REST API. Generate images, videos, and chat completions programmatically.

Base URL:https://your-domain.com/api
API Keys
Secure authentication with API keys
Rate Limiting
Fair usage with intelligent rate limits
HTTPS Only
All requests encrypted in transit
Low Latency
Global edge network for fast responses

Available Endpoints

Image Generation

Generate images from text prompts using DALL-E 3, Stable Diffusion, and more.

/api/generate/image
POST

Video Generation

Create videos from images or text using Kling AI video generation.

/api/kling/*
POSTGET

Chat Completions

Generate AI chat responses with GPT-4o, Claude, and Gemini models.

/api/chat
POST

Webhooks

Receive real-time notifications for generation events.

/api/webhooks/*
POST

Authentication

All API requests require authentication using an API key. Include your API key in the request headers:

curl -X POST https://your-domain.com/api/generate/image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A beautiful sunset"}'

You can generate API keys from your account settings.