# Bria

Generate images from text with Bria from fal through one Spiral API key. It runs in the background and returns images. Pay as you go, with no subscription.

- Provider: fal
- Category: Image
- Runs: In the background
- Returns: image
- Tool id: `fal` / `fal-ai/bria/reimagine`
- Page: https://spiral.ai/tools/fal/fal-ai/bria/reimagine

## Pricing

$0.052 per generation. Billed on `num_results`, default 1.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | The prompt you would like to use to generate images. |
| `structure_image_url` | text |  |  | The URL of the structure reference image. Use "" to leave empty. Accepted formats are jpeg, jpg, png, webp. |
| `structure_ref_influence` | number | 0 to 1 | 0.75 | The influence of the structure reference on the generated image. Must be between 0 and 1. |
| `num_results` | number (whole) | 1 to 4 | 1 | How many images you would like to generate. When using any Guidance Method, Value is set to 1. |
| `seed` | number (whole) | 0 to 2147483647 | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| `fast` | true or false |  | true | Whether to use the fast model |
| `num_inference_steps` | number (whole) | 20 to 50 | 30 | The number of iterations the model goes through to refine the generated image. This parameter is optional. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/bria/reimagine",
    "input": {
      "prompt": "A 2d illustration of a dog in a vibrant park"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=fal-ai%2Fbria%2Freimagine

## Common questions

### Bria

**How much does Bria cost?**

$0.052 per generation. Billed on `num_results`, default 1. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Bria through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/bria/reimagine"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with fal to use Bria?**

No. Spiral runs it on its own fal account and charges your Spiral balance.

**Can my AI agent use Bria?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

