# Bria Text-to-Image Base · Text to Image (Base)

Generate images from text with Bria Text-to-Image Base · Text to Image (Base) 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/text-to-image/base`
- Page: https://spiral.ai/tools/fal/fal-ai/bria/text-to-image/base

## Pricing

$0.052 per generation. Billed on `num_images`, default 4.

## 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. |
| `negative_prompt` | text |  |  | The negative prompt you would like to use to generate images. |
| `num_images` | number (whole) | 1 to 4 | 4 | How many images you would like to generate. When using any Guidance Method, Value is set to 1. |
| `aspect_ratio` | one of | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 | 1:1 | The aspect ratio of the image. When a guidance method is being used, the aspect ratio is defined by the guidance image and this parameter is ignored. |
| `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. |
| `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. |
| `guidance_scale` | number | 0 to 20 | 5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| `prompt_enhancement` | true or false |  | false | When set to true, enhances the provided prompt by generating additional, more descriptive variations, resulting in more diverse and creative output images. |
| `medium` | one of | photography, art | — | Which medium should be included in your generated images. Omit or set to null to let Bria select the medium. |
| `guidance` | JSON |  | [] | Guidance images to use for the generation. Up to 4 guidance methods can be combined during a single inference. |

## 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/text-to-image/base",
    "input": {
      "prompt": "A lone figure stands on the edge of a serene cliff at sunset, gazing out over a vast, mystical valley. The figure is clad in flowing robes that ripple in the…"
    }
  }'
```

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

## Common questions

### Bria Text-to-Image Base · Text to Image (Base)

**How much does Bria Text-to-Image Base · Text to Image (Base) cost?**

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

**How do I use Bria Text-to-Image Base · Text to Image (Base) through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/bria/text-to-image/base"` 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 Text-to-Image Base · Text to Image (Base)?**

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

**Can my AI agent use Bria Text-to-Image Base · Text to Image (Base)?**

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

