Civitai API
Generate Civitai outputs via the Pollo API. Same auth, same key — switch models with one parameter.
Quick start
Drop this into a terminal with a valid POLLO_API_KEY to test the model.
curl https://api.pollo.ai/v1/image/generate \
-H "Authorization: Bearer $POLLO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "civitai",
"prompt": "A cinematic golden hour product photo",
"aspect_ratio": "1:1",
"num_images": 1
}'Parameters
prompt
stringRequiredText prompt describing the image to generate.
image
string (URL or base64)Optional reference image for image-to-image or guided generation.
aspect_ratio
stringOne of '1:1', '16:9', '9:16', '4:5'. Defaults to '1:1'.
num_images
numberNumber of images to generate when the model supports multiple outputs.
seed
numberDeterministic seed for reproducible generations.
Response
{
"id": "gen_a93f8c7e1b",
"status": "queued",
"model": "civitai",
"estimated_seconds": 14
}Poll GET /v1/generations/{id} or subscribe to the generation.completed webhook to receive the asset URL when the render finishes.