kostia-official / stable-diffusion-automatic1111-banana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍌 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


Languages

Language:Python 71.2%Language:Dockerfile 28.8%