Image model by Z-Image

Z-Image Spicy API

model: z-image-spicy

Call Z-Image Spicy with your KeelRouter API key, the same key you use for every other model. From $0.0067 per image, paid per call from a prepaid balance. Failed calls are free.

Pricing

OptionPrice
per image$0.0067 per image

Call it

Async: POST /v1/images/generations returns a taskId; poll the same path with ?task_id= or pass a callback_url.

curl https://api.keelrouter.com/v1/images/generations \
  -H "Authorization: Bearer $KEELROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-image-spicy",
  "prompt": "A lighthouse at dawn, watercolor"
}'

Parameters

NameTypeNotes
modelstringRequired. z-image-spicy
promptstringRequired.
widthnumberRange 256–1536.
heightnumberRange 256–1536.
sizestring
aspect_ratiostringOne of 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9, 9:21.
seednumberRange 0–2147483647.
prompt_extendbooleanDefault true.
callback_urlstringOptional https URL; we POST the result when the task ends

FAQ

How much does the Z-Image Spicy API cost on KeelRouter?
From $0.0067 per image. You pay per call from a prepaid USD balance; failed calls are not charged.
How do I call Z-Image Spicy?
POST to /v1/images/generations with model "z-image-spicy". You get a taskId back; poll the same endpoint with ?task_id= or pass a callback_url.
Is this the official Z-Image Spicy API?
No. KeelRouter is an independent API gateway. Requests run on Z-Image Spicy through our upstream providers, and the image model keeps its own safety filters.
How long are results kept?
Result files are kept for 30 days, then deleted. Download what you want to keep.

More from Z-Image

KeelRouter is an independent service and is not affiliated with Z-Image. Z-Image Spicy is a trademark of its owner, used here only to name the model a request runs on.