/generate/reframe

Reframe a given image to new sizes. Extra space is filled based on the context.

Query Params
string

If set to true, returns the original asset without transformation

string
Body Params
string
required

The image to reframe. Must reference an existing AssetId or be a data URL.

string
enum
Defaults to middle

Location of the input image in the output.

Allowed:
number
0 to 2147483647

Used to reproduce previous results. Default: randomly generated number.

number
1 to 2

(deprecated) Horizontal expansion ratio.

string

(deprecated) A negative full text prompt that discourages the repaint from generating certain characteristics. It is recommended to test without using a negative prompt.

number
0.1 to 1

Size proportion of the input image in the output.

number
1 to 2

(deprecated) Vertical expansion ratio.

number
required
0 to 2048

The target height of the output image.

concepts
array of objects

Flux LoRa or Composition to style the image.

concepts
number
5 to 50

The number of denoising steps for each image generation.

number
1 to 15

Increase the fidelity to the prompt during the restyle.

number
0 to 0.5

Overlap percentage for the output image.

string

A full text prompt to guide the repaint process.

number
required
0 to 2048

The target width of the output image.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json