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 usagePricing
$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
| 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) 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. |
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…"
}
}'