You're looking at a specific version of this model. Jump to the model overview.
bria /expand-image:a5b5a6c0
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Image file
|
|
| image_url |
string
|
Image URL
|
|
| aspect_ratio |
string
|
Aspect ratio for expansion. Either aspect_ratio or canvas_size with original_image_size/location must be provided. Can be a predefined string like '1:1', '16:9' etc. or a custom float between 0.5 and 3.0
|
|
| canvas_size |
array
|
Desired output canvas dimensions [width, height]. Default [1000, 1000]
|
|
| original_image_size |
array
|
Size of original image in canvas [width, height]
|
|
| original_image_location |
array
|
Position of original image in canvas [x, y]
|
|
| prompt |
string
|
Text prompt for image generation
|
|
| negative_prompt |
string
|
Negative prompt for image generation
|
|
| seed |
integer
|
Random seed. Set for reproducible generation
|
|
| preserve_alpha |
boolean
|
True
|
Preserve alpha channel in output
|
| sync |
boolean
|
True
|
Synchronous response mode
|
| content_moderation |
boolean
|
False
|
Enable content moderation
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}