Image Generation API
Flux, Nano Banana, GPT Image 2, Ideogram, Recraft, Qwen — generate and edit images via one API
Supported models
Pick any model slug from the table and pass it as model in the request body. All image models share the same endpoint shape.
Flux
View all variants →
Nano Banana
View all variants →
Gpt Image
View all variants →
Ideogram
View all variants →
Recraft
View all variants →
Qwen
View all variants →
Endpoint
POST https://aimarcusimage.eu/api/v1/jobs/createTask
Request
curl https://aimarcusimage.eu/api/v1/jobs/createTask \
-H "Authorization: Bearer sk-aig-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-kontext-pro",
"input": {
"prompt": "A red fox sitting in snow, golden hour, photographic",
"aspect_ratio": "16:9"
}
}'
Response
{
"code": 200,
"data": {
"taskId": "task_01j..."
}
}
Image generation is async. Poll GET /api/v1/jobs/recordInfo?taskId=... every 3-5 seconds, or set up a webhook.
Poll task status
curl https://aimarcusimage.eu/api/v1/jobs/recordInfo?taskId=task_01j... \ -H "Authorization: Bearer sk-aig-YOUR_KEY"