cloneofsimo / lora_test

  • Public
  • 177 runs

Run cloneofsimo/lora_test 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
a photo of an astronaut riding a horse on mars
Input prompt
negative_prompt
string
Specify things to not see in the output
width
integer (enum)
768

Options:

128, 256, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024

Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
height
integer (enum)
768

Options:

128, 256, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024

Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
num_inference_steps
integer
50

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
scheduler
string (enum)
DPMSolverMultistep

Options:

DDIM, K_EULER, DPMSolverMultistep, K_EULER_ANCESTRAL, PNDM, KLMS

Choose a scheduler.
lora_1_url
string
url for safetensors of lora model.
lora_1_scale
number
0.8

Max: 4

LoRA scale for weight interpolation
lora_2_url
string
(Optional) url for safetensors of second lora model.
lora_2_scale
number
0.8

Max: 4

(Optional) LoRA scale for weight interpolation, lora_1_scale*lora_1 + lora_2_scale*lora_2. Scales don't have to sum to 1.
list_of_lora_urls
string
(Optional) list of urls for safetensors of lora models, seperated with | . If provided, it will override all above options.
list_of_lora_scales
string
(Optional) list of scales for safetensors of lora models, seperated with |
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"
}