Bria Fast · Text to Image
fal-ai/bria/text-to-image/fastGenerate images from text with Bria Fast · Text to Image from fal through one Spiral API key. It runs in the background and returns images. Pay as you go, with no subscription.
Pricing
$0.0364 per generation. Billed on num_images, default 4.
Limits
- Runs
- In the background
- Returns
- image
- 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 | 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) 4 to 10 | 8 | 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. |
Same request in code
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/fast",
"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…"
}
}'Frequently asked questions
How much does Bria Fast · Text to Image cost?
$0.0364 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 Fast · Text to Image through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/bria/text-to-image/fast"` 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 Fast · Text to Image?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Bria Fast · Text to Image?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.