AI Image Generation API
🚀 Try it now on Lumina: lumina.aiappviet.com – register an account, purchase credit packages, and get your API key in minutes. Get API Key →
Integrate AI image generation into your website, app, or content workflow via REST API: text-to-image and image-to-image (with one or more reference images) using SDXL, Flux, Qwen models... custom-trained and optimized by Copax. No need to run your own GPUs, install models, or manage queues.
Who is it for?
- Websites and apps wanting to offer "prompt-to-image" features to users.
- Online shops and agencies needing high-volume product or advertising images (maintaining product consistency from reference images).
- Developers needing a stable image generation backend for AI applications.
Technical Information
- Base URL:
https://lumina.aiappviet.com - Authentication:
Authorization: Bearer <API Key>(keys start withlm_...) - Generate Image:
POST /api/v1/images– parameters:prompt,size(e.g.,"1:1"),imageorimages(optional reference image URLs) - Get Result:
GET /api/v1/generations/{id}–statusisrunning,done, orfailed;urlprovided upon completion - Error Codes:
401invalid key ·402insufficient credits ·429rate limit/concurrency reached ·400invalid content
curl -X POST https://lumina.aiappviet.com/api/v1/images \
-H "Authorization: Bearer lm_..." \
-H "Content-Type: application/json" \
-d '{"prompt": "portrait, window lighting", "size": "1:1"}'
Detailed guide with Node.js code: Integrate AI Image Generation API into your website in 10 minutes.
Pricing
Contact us for the best pricing.
Getting Started
- Register at lumina.aiappviet.com.
- Purchase credit packages.
- Get your key in the API Keys section and integrate it.
- Need custom models/styles or high volume? Contact us – we can combine this with our Model & LoRA Training service.
Notes
- Keep API keys on the backend; do not include them in client-side source code.
- Generated content must comply with the terms of service.