Skip to content

alelordelo/stable-diffusion-automatic1111-banana

 
 

Repository files navigation

🍌 Stable Diffusion WebUI for banana (Stable Diffusion 1.5)

Deploy an API for AUTOMATIC1111's Stable Diffusion WebUI to generate images with Stable Diffusion 1.5.

Supports features not available in other Stable Diffusion templates, such as:

This deployment provides an API only and does not include the WebUI's user interface. Please report any issues you encounter.

Instant Deploy

See how to deploy in seconds.

Model Inputs

txt2img example

{
  "endpoint": "txt2img",
  "params": {
    "prompt": "an astronaut riding a (horse:motorcycle:0.5) on the moon",
    "negative_prompt": "cartoonish, low quality",
    "steps": 25,
    "sampler_name": "Euler a",
    "cfg_scale": 7.5,
    "seed": 42,
    "batch_size": 1,
    "n_iter": 1,
    "width": 512,
    "height": 512,
    "tiling": false
    
  }
}

(Only prompt is required.)

Output:

{
  "images": [
    "<base64 image>"
  ]
}

img2img example

{
  "endpoint": "img2img",
  "params": {
    "prompt": "an astronaut riding a horse on the moon in anime style",
    "negative_prompt": "cartoonish, low quality",
    "steps": 25,
    "sampler_name": "Euler a",
    "cfg_scale": 7.5,
    "denoising_strength": 0.7,
    "seed": 42,
    "batch_size": 1,
    "n_iter": 1,
    "width": 512,
    "height": 512,
    "tiling": false
    "init_images": [
        "<base64 image>"
    ]
  }
}

(Only prompt and init_images are required.)

Output:

{
  "images": [
    "<base64 image>"
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.6%
  • Dockerfile 22.4%