Image generation API
Bria Fibo 2.0 API
Bria FIBO 2.0: text-to-image trained only on licensed data, with precise control over lighting, camera, composition and color. 21 aspect ratios at 1K, nine at 2K, plus image editing with up to 4 references.
Pay as you go, no subscription.
- Image to image
- Editing

Quickstart
Three steps from zero to a finished file.
- 1
- 2
Send one request
POST your input to the endpoint. You get a job ID back right away.
- 3
Collect the result
Poll the status URL or pass a webhook. The finished file arrives as a link.
Or let your AI coding tool do it
Copy this prompt into Claude Code, Cursor or Codex. It reads our docs and writes the code.
Add the Pixel Dojo Bria Fibo 2.0 API to this project. Read https://pixeldojo.ai/llm/bria-fibo-2.txt for the endpoint, inputs and prices, and https://pixeldojo.ai/llm.txt for auth, job status and webhooks. Read the key from the PIXELDOJO_API_KEY environment variable. Write one function that submits a job, waits for it to finish and returns the file URL, with errors handled.
https://pixeldojo.ai/api/v1/models/bria-fibo-2/runcurl -X POST "https://pixeldojo.ai/api/v1/models/bria-fibo-2/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A matte black wireless speaker on a slab of travertine, warm late-afternoon side light from the left, long soft shadow, shallow depth of field, 85mm lens, muted sand and charcoal palette",
"aspect_ratio": "16:9",
"resolution": "2k",
"num_outputs": 1
}'Want the file in one call? Add ?wait=60 to the URL. The request waits for the job and returns the result.
Pricing
You pay per result. Every setting is in the table.
| Setting | Per image |
|---|---|
| Every run | $0.063 |
Pay as you go
Top up from $5. No subscription and no minimum.
Failed runs cost nothing
If a run fails, you get the money back on its own.
Know the price first
Add
?dry_run=trueto any request to get its price. Nothing is charged.
Try it
Run a real request and see the exact input and output your code will handle. It is charged like any API call.
Made with this API
Real outputs. Open one to see the request that made it.
Editorial fashion portrait of a striking woman with sleek black hair, ivory silk blouse and gold hoop earrings, soft window light, warm beige backdrop, magazine quality
Reference
Every input the endpoint takes, and what comes back.
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
promptrequiredstringWhat to make (2-3000 characters), or the change to make when image_urls is supplied. Long, specific prompts work best. | string | What to make (2-3000 characters), or the change to make when image_urls is supplied. Long, specific prompts work best. | - |
aspect_ratioenum · default 1:1Output shape. All 21 ratios work at 1K; 2K supports 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 16:9. Ignored when image_urls is supplied.1:12:33:23:44:3+16 more | enum | Output shape. All 21 ratios work at 1K; 2K supports 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 16:9. Ignored when image_urls is supplied.1:12:33:23:44:3+16 more | 1:1 |
resolutionenum · default 1kOutput resolution. Same price at both. Ignored when image_urls is supplied.1k 1K2k 2K | enum | Output resolution. Same price at both. Ignored when image_urls is supplied.1k 1K2k 2K | 1k |
num_outputsinteger · default 1Number of images to generate (1-4)min: 1 | max: 4 | integer | Number of images to generate (1-4)min: 1 | max: 4 | 1 |
image_urlsarrayOptional image URLs (up to 4). One image is edited in place; 2-4 images are combined as references. With images, the prompt is treated as an edit instruction.items: urlmin items: 1 | max items: 4 | array | Optional image URLs (up to 4). One image is edited in place; 2-4 images are combined as references. With images, the prompt is treated as an edit instruction.items: urlmin items: 1 | max items: 4 | - |
seedintegerRandom seed for reproducibility (1-2147483647)min: 1 | max: 2147483647 | integer | Random seed for reproducibility (1-2147483647)min: 1 | max: 2147483647 | - |
What comes back
When you submit (202)
{
"jobId": "job_abc123...",
"status": "pending",
"statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
"priceUsd": 0.0625,
"creditCost": 1,
"creditsRemaining": 95,
"expiresAt": "2026-12-05T01:55:11Z"
}When it finishes
{
"jobId": "job_abc123...",
"status": "completed",
"output": {
"images": [
"https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
]
},
"creditCost": 1,
"expiresAt": "2026-12-05T01:55:11Z"
}priceUsd is what the run cost, in dollars. The credit fields show the same charge and your balance in account credits.
Use saved characters (@Name)
Write @Name in the prompt to use a character, product, outfit, location, prop or style saved in the account's Character Studio, for example "@Mara on a beach at sunset". Its photos are added to image_urls automatically, after any images you send yourself, so your own image numbering is unchanged. List saved names with GET /api/v1/characters and save new ones with POST /api/v1/characters. An @word that names nothing saved stays plain text.
Aspect ratios
Built for AI agents
Hand these to a coding assistant and it can write the integration for you.
Questions
How much does the Bria Fibo 2.0 API cost?
From $0.063 an image. The table above has the price for every setting, and each job's response shows what it cost.
Do I need a subscription?
No. Top up from $5 and pay only for what you run.
Can I see the price before I run something?
Yes. Add ?dry_run=true to the request. You get its price back. Nothing is charged and no job starts.
Do I pay for a run that fails?
No. If a run fails, you get the money back on its own.
How long do output links last?
One hour. Download the file in that time, or call the save endpoint to keep it in your library.
Can an AI assistant use this model?
Yes. Connect Claude, ChatGPT or any agent to our MCP server at https://pixeldojo.ai/mcp. Or give it the docs file for this model.
More image APIs
Same key, same request shape. Switch models by changing one word in the URL.
Start building
Get an API key
One key works for every model.
See usage
Requests, spend and logs.
Top up
Add money to your balance, from $5.