Skip to content

runpod-workers/worker-a1111

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic1111 Stable Diffusion web UI

RunPod


Usage

The input object accepts any valid parameter for the Automatic1111 /sdapi/v1/txt2img endpoint. Refer to the Automatic1111 API Documentation for a full list of available parameters (like seed, sampler_name, batch_size, styles, override_settings, etc.).

Example Request

Here's an example payload to generate an image:

{
  "input": {
    "prompt": "a photograph of an astronaut riding a horse",
    "negative_prompt": "text, watermark, blurry, low quality",
    "steps": 25,
    "cfg_scale": 7,
    "width": 512,
    "height": 512,
    "sampler_name": "DPM++ 2M Karras"
  }
}