Spiral gives your agent every tool with one account. Browse the tools →

falImageAvailable now

Bria Base · Text to Image

fal-ai/bria/text-to-image/base

Generate images from text with Bria Base · 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.052 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

FieldKindDefaultDescription
prompt requiredtext—

The prompt you would like to use to generate images.

negative_prompttext

The negative prompt you would like to use to generate images.

num_imagesnumber (whole)
1 to 4
4

How many images you would like to generate. When using any Guidance Method, Value is set to 1.

aspect_ratioone 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.

seednumber (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_stepsnumber (whole)
20 to 50
30

The number of iterations the model goes through to refine the generated image. This parameter is optional.

guidance_scalenumber
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_enhancementtrue or falsefalse

When set to true, enhances the provided prompt by generating additional, more descriptive variations, resulting in more diverse and creative output images.

mediumone of
photography, art
—

Which medium should be included in your generated images. Omit or set to null to let Bria select the medium.

guidanceJSON[]

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/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…"
    }
  }'

Frequently asked questions

How much does Bria Base · Text to Image 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 Base · Text to Image 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 Base · Text to Image?

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

Can my AI agent use Bria Base · Text to Image?

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