lightweight-ai / lwjay

  • Public
  • 0 runs
  • L40S

Run lightweight-ai/lwjay 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
prompt
string
High quailty, 4K, UHD
Prompt for generated image
image
string
Upload an image for inpainting. This will be the base image that will be partially modified.
num_inference_steps
integer
28
The number of interfence steps
guidance
number
30
None
seed
integer
Random seed. Set for reproducible generation
width
integer
1280
None
height
integer
1024
None
overlap_percentage
integer
10
None
resize_option
string
Full
Input image resize option: (Full, 50%, 33%, 25%, Custom)
custom_resize_percentage
integer
50
None
alignment
string (enum)
Middle

Options:

Middle, Left, Right, Top, Bottom

Input image alignment option perspective to background image
overlap_left
boolean
True
Activation Outpaint left overlap
overlap_right
boolean
True
Activation Outpaint right overlap
overlap_top
boolean
True
Activation Outpaint top overlap
overlap_bottom
boolean
True
Activation Outpaint bottom overlap

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"
}