smoretalk / flamel-outpainting

  • Public
  • 37 runs

Run smoretalk/flamel-outpainting with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
init_image
string
Input original image for outpainting.
vertical_alignment
string (enum)
middle

Options:

top, middle, bottom

Vertical alignment.
horizontal_alignment
string (enum)
center

Options:

left, center, right

Horizontal alignment.
resize_ratio
string (enum)
100%

Options:

100%, 50%, 33%, 25%

Resize ratio compared to init image
aspect_ratio
string (enum)
1:1

Options:

9:16, 3:4, 1:1, 4:3, 16:9

Aspect ratio of grid image.
prompt
string
Input prompt.
num_inference_steps
integer
8

Min: 1

Max: 50

Number of denoising steps.
num_images_per_prompt
integer
1

Min: 1

Max: 4

Number of outputs.
seed
integer
Random seed. Leave blank to randomize the seed.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}