Bria's 3.2 licensed-data text-to-image model.
curl https://www.ninjachat.ai/api/v1/images/generations \
-H "Authorization: Bearer $NINJACHAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "bria-3.2", "prompt": "a red fox in a snowy forest, golden hour", "aspect_ratio": "16:9" }'Each request below is generated from what Bria 3.2 serves on NinjaChat today — the same capabilities and parameters that reports — so it runs as written with your key.
GET /modelsOne synchronous call returns a hosted image URL you can use straight away.
# export NINJACHAT_API_KEY="nj_sk_..." (Developers → Keys)
curl https://www.ninjachat.ai/api/v1/images/generations \
-H "Authorization: Bearer $NINJACHAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bria-3.2",
"prompt": "product shot of a matte black espresso machine on walnut, soft window light",
"size": "2560x1440",
"n": 1
}'size is one of 1920x1920, 2560x1440, or 1440x2560; pass aspect_ratio (for example "4:5") or explicit width/height between 256 and 2048 when you need another frame.n goes up to 4 and every image is billed at this model's per-image price; data[i].url is a permanent CDN link, so there is nothing to poll.Bria 3.2 is a text-to-image generation model available through DeepInfra at $0.04 per image. It is suited to text-to-image generation and creative asset generation.
Bria 3.2 costs $0.04 per image on NinjaChat, billed per generation with no subscription.
Bria 3.2 is served through DeepInfra. Requests use one NinjaChat key and one balance.
Send a POST to /api/v1/images/generations with model "bria-3.2" in the body. The response returns the generated image URL.