API Reference
Comprehensive documentation for Eleni Omega's AI API. Get started with simple-to-use endpoints and powerful AI capabilities.
Getting Started
Authentication
All requests require an API key in the Authorization header. You can generate an API key in your Developer Dashboard.
curl -X POST https://api.eleniomega.com/v1/completion \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"query": "What is quantum computing?"}'
SDK Installation
Use our official SDKs to integrate AI features into your applications
npm install @eleniomega/ai-sdk
from eleniomega import AI
go get github.com/eleniomega/ai
Available Endpoints
/ai/completion
Generate text completions using our latest AI model. Supports multiple languages and advanced prompt engineering.
{ "query": "Explain machine learning in simple terms", "model": "omega-12", "temperature": 0.75, "max_tokens": 150 }
/ai/generate
Generate images and visuals based on text descriptions using our multimodal AI capabilities.
{ "prompt": "A futuristic cityscape at sunset, glowing with neon lights", "size": "1024x768" }
{ "image_url": "https://cdn.eleniomega.com/images/abc123def.png", "error": null, "usage": { "input_tokens": 38, "output_tokens": 156 } }
Error Codes
Unauthorized
No valid API key provided in the authorization header.
{ "error": "Missing or invalid API key", "code": 401, "help": "Include your API key in the Authorization header" }
Internal Server Error
A problem occurred processing your request.
{ "error": "Internal server error", "code": 500, "help": "Please retry your request in 5 minutes" }
Need Help?
Our API documentation is actively maintained and updated. If you find any issues or missing information, please let us know.
Contact Support