zsxkib/outpainter

🎨 Outpaint in each direction (top, bottom, left, right)

Public
360 runs

Run zsxkib/outpainter 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
image
string
Image to outpaint
prompt
string
Continue the image
Describe what should fill the new areas
preset
None
none
Quick outpaint presets
extend_left
integer
0

Max: 2000

Pixels to extend left
extend_right
integer
0

Max: 2000

Pixels to extend right
extend_top
integer
0

Max: 2000

Pixels to extend top
extend_bottom
integer
0

Max: 2000

Pixels to extend bottom
steps
integer
50

Min: 15

Max: 50

Quality vs speed
guidance
number
30

Min: 1.5

Max: 100

Prompt adherence

Output schema

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

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
{'image': 'https://replicate.delivery/xezq/AmVvqYnL0MIrENLZakS7DvijAItFXzRv0QxHqY0ld9xrIwSF/tmpq0mtcjkz.jpg'}