Home / API

Developer API

Integrate Draw Odyssey's AI capabilities directly into your applications. Access 70+ models with a simple REST API.

example.py
import requests

# Generate an image with Draw Odyssey API
response = requests.post(
  "https://api.pixeldojo.ai/v1/generate",
  headers={
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  json={
    "model": "flux-pro-1.1-ultra",
    "prompt": "A stunning cyberpunk warrior woman",
    "width": 1024,
    "height": 1024,
    "steps": 30,
    "guidance_scale": 7.5
  }
)

result = response.json()
image_url = result["images"][0]["url"]
print(f"Generated: {image_url}")

Built for Developers

Fast & Reliable

99.9% uptime SLA with sub-second response times

Secure

Enterprise-grade security with API key authentication

Global CDN

Images delivered via global CDN for fast access worldwide

Easy Integration

Simple REST API with SDKs for Python, Node.js, and more

API Endpoints

POST/v1/generate
POST/v1/img2img
POST/v1/video/generate
POST/v1/enhance
GET/v1/models
GET/v1/generations/{id}

Simple API Pricing

Pay only for what you use. No monthly minimums.

Starter

$0.002
per image
500 credits free
Flux Schnell
Basic models
1K images/month

Pro

$0.001
per image
Best value
All 70+ models
Priority queue
Unlimited images
Commercial rights

Enterprise

Custom
pricing
Contact us
Dedicated infrastructure
SLA guarantees
Custom models
24/7 support