Skip to main content
Endpoint: POST https://fal.run/fal-ai/bria/reimagine Endpoint ID: fal-ai/bria/reimagine

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "fal-ai/bria/reimagine",
    arguments={
        "prompt": "A 2d illustration of a dog in a vibrant park"
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)

Capabilities

  • Text prompt input
  • Reproducible generation (seed)
  • Adjustable inference steps
  • Synchronous mode

API Reference

Input Schema

prompt
string
required
The prompt you would like to use to generate images.
structure_image_url
string
default:""
The URL of the structure reference image. Use "" to leave empty. Accepted formats are jpeg, jpg, png, webp. Default value: ""
structure_ref_influence
float
default:"0.75"
The influence of the structure reference on the generated image. Default value: 0.75
num_results
integer
default:"1"
How many images you would like to generate. When using any Guidance Method, Value is set to 1. Default value: 1Range: 1 to 4
seed
integer
The same seed and the same prompt given to the same version of the model will output the same image every time.Range: 0 to 2147483647
fast
boolean
default:"true"
Whether to use the fast model Default value: true
num_inference_steps
integer
default:"30"
The number of iterations the model goes through to refine the generated image. This parameter is optional. Default value: 30Range: 20 to 50
sync_mode
boolean
default:"false"
If True, the media will be returned as a data URI and the output data won’t be available in the request history.

Output Schema

images
list<Image>
required
The generated images
seed
integer
required
Seed value used for generation.

Input Example

{
  "prompt": "A 2d illustration of a dog in a vibrant park",
  "structure_image_url": "https://storage.googleapis.com/falserverless/bria/bria_reimagine_input.png",
  "structure_ref_influence": 0.15,
  "num_results": 1,
  "fast": true,
  "num_inference_steps": 30,
  "sync_mode": false
}

Output Example

{
  "images": [
    {
      "content_type": "image/png",
      "url": "https://storage.googleapis.com/falserverless/bria/bria_reimagine_output.png"
    }
  ]
}

Limitations

  • num_results range: 1 to 4
  • seed range: 0 to 2147483647
  • num_inference_steps range: 20 to 50