Skip to main content
Back to API Platform

Bria 3.2 API

Bria 3.2 — text-to-image with 9 aspect ratio presets at 1K resolution, optional image and prompt enhancement, and photography/art medium hints. Integrate this model via REST with endpoint docs, parameters, and code examples.

Image Generation
Credit Cost
1 credit
Type
image

API Endpoint

POST
/api/v1/models/bria-3-2/run

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
required
string
-
negative_prompt
string
-
aspect_ratio
enum
1:1
num_outputs
integer
1
medium
enum
auto
prompt_enhancement
boolean
false
seed
integer
-

Supported Aspect Ratios

1:1
3:2
2:3
7:4
4:7
9:7
7:9
17:14
14:17

Example Outputs

Real outputs generated by this model

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
View Details

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."

1 credits
14.1s

Code Examples

Copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/bria-3-2/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A beautiful mountain landscape at golden hour",
    "aspect_ratio": "1:1"
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 1,
  "creditsRemaining": 95,
  "expiresAt": "2025-01-23T12:00:00Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 1,
  "expiresAt": "2025-01-23T12:00:00Z"
}