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}")99.9% uptime SLA with sub-second response times
Enterprise-grade security with API key authentication
Images delivered via global CDN for fast access worldwide
Simple REST API with SDKs for Python, Node.js, and more
/v1/generate/v1/img2img/v1/video/generate/v1/enhance/v1/models/v1/generations/{id}Pay only for what you use. No monthly minimums.