D-Mad / a1111-api-examples

Example batch scripts using the A1111 SD Webui API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic scripts to process loads of images using the A1111 API.

Example scripts:

  • txt2img_simple.py, txt2img_simple.js

    Basic Text 2 Image example, requests a single image generation.

  • txt2img.py

    Batch Text 2 Image example, iterates over a number of given prompts.

    Uses multiple backend servers for generation, if given.

  • img2img.py

    Batch Image 2 Image example, iterates over a list of image files, injects custom generation parameters.

    Uses multiple backend servers for generation, if given.

  • interrogate.py

    Batch Interrogation example, iterates over a list of image files.

    Uses multiple backend servers for generation, if given.

About

Example batch scripts using the A1111 SD Webui API