Home
Civitai
Civitai Image Generation Example
Civitai Image Generation Example
Artificial Intelligence Image-Generation Video Generation Stable Diffusion SDXL Flux LoRA Model Hosting Community Generative AI
Civitai Image Generation Example is an example object payload from Civitai, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
$comment request response
Example Payload
{
"$comment": "Submit an SDXL image generation workflow to https://orchestration.civitai.com/v2/consumer/workflows",
"request": {
"method": "POST",
"url": "https://orchestration.civitai.com/v2/consumer/workflows",
"headers": {
"Authorization": "Bearer <CIVITAI_API_KEY>",
"Content-Type": "application/json"
},
"body": {
"tags": ["api-evangelist", "sdxl-demo"],
"callbackUrl": "https://example.com/civitai/webhooks",
"callbackEvents": ["workflow:succeeded", "workflow:failed"],
"detailed": true,
"steps": [
{
"$type": "imageGen",
"name": "sdxl-hero",
"input": {
"engine": "sdxl",
"model": "urn:air:sdxl:checkpoint:civitai:101055@128078",
"prompt": "a glowing API specification floating above a cyberpunk skyline, ultra detailed, cinematic",
"negativePrompt": "blurry, watermark, low quality, text",
"width": 1024,
"height": 1024,
"steps": 30,
"cfgScale": 7,
"sampler": "DPM++ 2M Karras",
"seed": 42,
"quantity": 2,
"additionalNetworks": [
{ "air": "urn:air:sdxl:lora:civitai:200000@250000", "strength": 0.8 }
]
}
}
]
}
},
"response": {
"status": 202,
"headers": { "Content-Type": "application/json" },
"body": {
"id": "wf_01HX6Y0Z8A7F8B6C5D4E3F2G1H",
"status": "preparing",
"tags": ["api-evangelist", "sdxl-demo"],
"createdAt": "2026-05-25T15:42:11.000Z",
"cost": { "base": 24, "total": 24, "currency": "BUZZ" },
"steps": [
{
"name": "sdxl-hero",
"$type": "imageGen",
"status": "preparing",
"jobs": []
}
]
}
}
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/civitai-image-generation-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.