🟢 Live
🤖 Model Selection
🎨 Generation Mode
💬 Prompt
Quick Prompts
🌸 Cherry blossom garden 🌆 Cyberpunk cityscape at night 🐉 Majestic dragon in clouds 🌊 Ocean waves at golden hour 🚀 Space station orbiting Earth 🏯 Ancient Japanese castle in snow
Auto-Enhance Prompt
AI optimizes your prompt for better results
⚙️ Parameters
1:1 Square 16:9 Wide 9:16 Tall 4:3 Standard 3:4 Portrait Custom
Submitting task...
🖼️ Generated Image
Generated image
⬇️ Download
Recent Generations
🎨

No generations yet.
Create your first image!

📡 REST API Reference

Base URL: http://localhost:3000

GET /api/models
Returns all supported AI models, their versions, and parameters.
Loading...
POST /api/generate
Submit an image generation task. Returns a taskId.
{
  "modelName": "GG",
  "modelVersion": "3.1",
  "prompt": "Make it an oil painting in the style of Van Gogh",
  "negativePrompt": "blurry, noise",
  "enhancePrompt": true,
  "aspectRatio": "16:9",
  "storageMode": "Temporary",
  "referenceImageUrl": "https://example.com/source.jpg",
  "seed": 42
}
Or provide base64 image data:
{
  "modelName": "GG",
  "modelVersion": "3.1",
  "prompt": "Turn this into anime art style",
  "referenceImageBase64": "data:image/jpeg;base64,..."
}
Response:
{
  "taskId": "1436636252-AigcImage-xxxxx",
  "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
GET /api/task/:taskId
Poll the status and result of a generation task.
{
  "Status": "FINISH",
  "AigcImageTask": {
    "Output": {
      "FileInfos": [
        { "FileUrl": "https://...cdn.../image.png" }
      ]
    }
  }
}
GET /api/tasks
List recent image generation tasks (up to 20).
🛠️ Example: cURL (Image + Prompt)
curl -X POST http://localhost:3000/api/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "modelName": "GG",
    "modelVersion": "3.1",
    "prompt": "Transform this into a cyberpunk night scene with glowing neon lights",
    "referenceImageUrl": "https://images.unsplash.com/photo-1506744038136-46273834b3fb",
    "aspectRatio": "16:9",
    "enhancePrompt": true
  }'
📦 Supported Models