Generate a personal key to authenticate your API requests. Login required.
Generate unlimited images with one API call. No watermark for registered users.
POST request with your API key. Returns a direct image URL.
curl -X POST https://omegai.me/api/public_image_api.php \
-H "Authorization: Bearer YOUR_OMEGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "futuristic city at sunset",
"model": "omega-free-image",
"width": 1024,
"height": 1024
}'
Response:
{
"success": true,
"model": "omega-free-image",
"url": "https://d3re0c8wemxg38.cloudfront.net/output_mme/..."
}
Higher quality with adjustable steps & guidance. Unlimited for Pro users.
curl -X POST https://omegai.me/api/public_image_api.php \
-H "Authorization: Bearer YOUR_OMEGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "realistic sparrow on cherry blossom",
"model": "omega-sdxl-turbo",
"width": 768,
"height": 768,
"steps": 50,
"guidance": 7.5
}'
Complete PHP example — copy & paste into your project.
<?php
$apiKey = 'YOUR_OMEGA_API_KEY';
$prompt = 'futuristic city at sunset';
$ch = curl_init('https://omegai.me/api/public_image_api.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 120,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'prompt' => $prompt,
'model' => 'omega-free-image',
'width' => 1024,
'height' => 1024,
]),
]);
$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);
if ($data['success']) {
echo '<img src="' . $data['url'] . '" alt="Generated Image">';
} else {
echo 'Error: ' . $data['error'];
}
?>
Pro users get access to higher quality SDXL generation.
<?php
$apiKey = 'YOUR_OMEGA_API_KEY'; // Must be a Pro account key
$ch = curl_init('https://omegai.me/api/public_image_api.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 120,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'prompt' => 'realistic sparrow on cherry blossom',
'model' => 'omega-sdxl-turbo',
'width' => 768,
'height' => 768,
'steps' => 50,
'guidance' => 7.5,
]),
]);
$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);
if ($data['success']) {
echo '<img src="' . $data['url'] . '" alt="SDXL Image">';
} else {
echo 'Error: ' . $data['error'];
}
?>
Uncensored AI coding assistant for your terminal. Creates files, edits code, runs commands, and generates complete projects — all from your terminal.
wget https://omegai.me/omegacode-cli.zip
unzip omegacode-cli.zip && cd omegacode-cli
npm install && npm link
omegacode config
← Use your API key from above ☝️
omegacode chat ./my-project -c
wget https://omegai.me/omegacode-cli.zip && unzip omegacode-cli.zip
cd omegacode-cli && npm install
node dist/index.js chat ./my-project
git clone https://github.com/dante4rt/omegacode-cli.git
cd omegacode-cli
npm install
npm link
omegacode chat [path]
Interactive chat mode
omegacode ask "question"
Single question
omegacode do "task"
Execute task (creates files)
omegacode dashboard
Open web dashboard
Features: 🤖 AI Agent • 🔓 Uncensored • 📁 Project Mode • 🔄 Auto-Continue • 💬 Interactive Chat
Watch how CLI creates files, runs commands, and builds complete projects from your terminal
No Python? No problem. Use our Batch script for Windows or a simple PHP script to generate images directly from your terminal.
How to use (Windows): Download and double-click omega_api.bat. It
will prompt for your API key, model, and prompt.
How to use (PHP): Run php omega_api.php in your terminal.
Easy integration for your Python projects. Download our helper script to get started in seconds.
from omega_ai_api import OmegaAI
client = OmegaAI("YOUR_OMEGA_API_KEY")
result = client.generate("A futuristic city at sunset")
if result["success"]:
print(f"Image URL: {result['url']}")
else:
print(f"Error: {result['error']}")
Advanced AI models for code and conversation. UNRESTRICTED and EXHAUSTIVE.
POST request to the chat endpoint. Returns a structured JSON response.
curl -X POST https://omegai.me/api/public_chat_api.php \
-H "Authorization: Bearer YOUR_OMEGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Write a high-performance Python scraper using asyncio.",
"model": "omegacode-uncross"
}'
Response:
{
"success": true,
"model": "omegacode-uncross",
"message": "Sure! Here is a perfect implementation...\n\n```python\nimport asyncio..."
}
Integrate omegacode-uncross into your PHP applications.
<?php
$apiKey = 'YOUR_OMEGA_API_KEY';
$prompt = 'Explain AES-256 encryption with a sample PHP implementation.';
$ch = curl_init('https://omegai.me/api/public_chat_api.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 240,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'prompt' => $prompt,
'model' => 'omegacode-uncross',
]),
]);
$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);
if ($data['success']) {
echo "<div>" . nl2br(htmlspecialchars($data['message'])) . "</div>";
} else {
echo 'Error: ' . ($data['error'] ?? 'Unknown');
}
?>
| Parameter | Required | Type | Description |
|---|---|---|---|
| prompt | ✅ Yes | string | The message/question for the AI |
| model | No | string | Model ID. Default: omegacode-uncross |
| Parameter | Required | Type | Description |
|---|---|---|---|
| prompt | ✅ Yes | string | Text description of the image to generate |
| model | No | string | Model ID. Default: omega-free-image |
| width | No | int | Image width (256-1536). Default: 1024 |
| height | No | int | Image height (256-1536). Default: 1024 |
| steps | No | int | Inference steps (SDXL only, 1-50) |
| guidance | No | float | Guidance scale (SDXL only, 0-15) |
Track your API usage. Logs are automatically cleared every 24 hours to ensure performance. Admins see all logs.
| Code | Meaning |
|---|---|
| 200 | Success — image URL returned |
| 400 | Bad request — missing prompt or invalid model |
| 401 | Unauthorized — missing or invalid API key |
| 403 | Forbidden — Pro model without Pro plan |
| 502 | Upstream error — provider failed (automatic failover) |