Txt2imgProcess

usage:

const client = new SDWebUIA1111Client();
const process = new Txt2imgProcess({ prompt: "1girl" });
const {images} = await process.request(client);
const image = images[0]; // base64 image string

Hierarchy

Constructors

Properties

extensions: ExtensionScript<any[]>[] = ...

Methods

  • Creates and adds a new ExtensionScript to the list of extensions.

    Parameters

    • name: string

      The name of the extension script.

    • args: any[]

      The arguments for the extension script.

    Returns Txt2imgProcess

    The current SDProcessing object.