Skip to content

Bria Reimagine

POST/v1/run

Reimagine is Bria's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to bria/reimagine.

Default: bria/reimagine

stringpromptrequired

The prompt you would like to use to generate images.

Optional<integer>seed

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

Optional<integer>num_results

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

Range: 1 to 4

Default: 1

Optional<number>structure_ref_influence

The influence of the structure reference on the generated image.

Default: 0.75

Optional<string>structure_image_url

The URL of the structure reference image. Use "" to leave empty. Accepted formats are jpeg, jpg, png, webp.

Default:

Optional<boolean>fast

Whether to use the fast model

Default: true

Optional<integer>num_inference_steps

Number of denoising or inference steps to run when supported.

Range: 20 to 50

Default: 30

Response Schema

The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-image

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async