falText to imageComing soon

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

fal-ai/bria/text-to-image/hd is a text to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Priced by usage

Pricing

$0.052 per generation. Billed on num_images, default 4. The final charge comes from usage.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—The prompt you would like to use to generate images.
negative_prompttextThe negative prompt you would like to use to generate images.
num_imagesnumber (whole)
1 to 4
4How 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:1The 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
30The 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 falsefalseWhen 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/hd",
    "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…"
    }
  }'