alexgenovese
/
flux-outpainting
⚠️ WIP 🚧 It's an implementation of outpainting based on Flux.1-Dev + Upscaler
- Public
- 29 runs
Run alexgenovese/flux-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 |
---|---|---|---|
image |
string
|
Image
|
|
width |
integer
|
720
|
Width
|
height |
integer
|
1280
|
height
|
overlap_width |
integer
|
72
|
overlap width
|
num_inference_steps |
integer
|
8
|
Steps
|
resize_option |
string
(enum)
|
Full
Options: Full, 50%, 33%, 25% |
Zoom out (Optional) - Full: no zoom
|
custom_resize_size |
string
|
50
|
Percentage of resize
|
prompt_input |
string
|
|
Write here your prompt (Optional)
|
alignment |
string
(enum)
|
Middle
Options: Top, Middle, Left, Right, Bottom |
Alignment
|
{
"type": "object",
"title": "Input",
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Image"
},
"width": {
"type": "integer",
"title": "Width",
"default": 720,
"x-order": 1,
"description": "Width"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1280,
"x-order": 2,
"description": "height"
},
"alignment": {
"enum": [
"Top",
"Middle",
"Left",
"Right",
"Bottom"
],
"type": "string",
"title": "alignment",
"description": "Alignment",
"default": "Middle",
"x-order": 8
},
"prompt_input": {
"type": "string",
"title": "Prompt Input",
"default": "",
"x-order": 7,
"description": "Write here your prompt (Optional)"
},
"overlap_width": {
"type": "integer",
"title": "Overlap Width",
"default": 72,
"x-order": 3,
"description": "overlap width"
},
"resize_option": {
"enum": [
"Full",
"50%",
"33%",
"25%"
],
"type": "string",
"title": "resize_option",
"description": "Zoom out (Optional) - Full: no zoom",
"default": "Full",
"x-order": 5
},
"custom_resize_size": {
"type": "string",
"title": "Custom Resize Size",
"default": "50",
"x-order": 6,
"description": "Percentage of resize"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 8,
"x-order": 4,
"description": "Steps"
}
}
}
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"
}