alexgenovese/sdxl-custom-model

Callback Adjust and other enhancement

  • Public
  • 1.3K runs

Run sdxl-custom-model 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
Prompt text
negative_prompt
string
Negative prompt
seed_number
integer
12345
Seed number
num_inference_steps
integer
50
Number of inference step
width
integer
1024
Width
height
integer
1024
Height
guidance_scale
number
15
CFG
lora_url
string
Link to lora model trained (TAR) or Safetensors
denoising
number
0.8
Denoising
refiner
boolean
True
Activate Refiner
image_2_image_url
string
For Img2Img inference

Output schema

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

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}