Giter Club home page Giter Club logo

sdkit-cli's Introduction

SDKit-CLI

  • A CLI wrapper for sdkit.
  • This is primarly for calling sdkit from other programs / languages but can be used standalone.

Documentation

./sdkit-cli.exe <operation> <model> [..args] [...flags]

Operations

  • esrgan - Upscale images.
  • gfpgan - Face restoration.
  • sdt - Stable Diffusion with only text input.
  • sdi - Stable Diffusion with image input.

Models

ESRGAN

  • x4plus
  • x4plus_anime_6

GFPGAN

  • 1.2
  • 1.3
  • 1.4

Stable Diffusion

  • sd-xl-base-1.0
  • sd-xl-refiner-1.0
  • 2.1-512-ema-pruned
  • 2.1-512-ema-pruned-safetensors
  • 2.1-512-nonema-pruned
  • 2.1-512-nonema-pruned-safetensors
  • 2.1-768-ema-pruned
  • 2.1-768-ema-pruned-safetensors
  • 2.1-768-nonema-pruned
  • 2.1-768-nonema-pruned-safetensors
  • 2.0-512-base-ema
  • 2.0-512-base-ema-safetensors
  • 2.0-768-v-ema
  • 2.0-768-v-ema-safetensors
  • 2.0-512-depth-ema
  • 2.0-512-depth-ema-safetensors
  • 2.0-512-inpainting-ema
  • 2.0-512-inpainting-ema-safetensors
  • 2.0-x4-upscaler-ema
  • 2.0-x4-upscaler-ema-safetensors
  • 1.5-pruned-emaonly-fp16
  • 1.5-pruned-emaonly
  • 1.5-pruned
  • 1.5-inpainting
  • 1.4
  • 1.4-full-ema

esrgan

  • ? arg1 - scale (must be >0, defaults to 4)

gfpgan

Takes in no args.

sdt

Ignores the -i flag.

  • ! arg1 - prompt
  • ! arg2 - width (power of 2)
  • ! arg3 - height (power of 2)
  • ? arg4 - guidance scale (defaults to 7.5)
  • ? arg5 - seed (defaults to random)

sdi

  • ! arg1 - prompt
  • ! arg2 - width (power of 2)
  • ! arg3 - height (power of 2)
  • ? arg4 - guidance scale (defaults to 7.5)
  • ? arg5 - seed (defaults to random)

Flags

  • -i - The input image to use.
  • -o - The name of the image to output.
  • -ml - Prints a list of all available models, will not run any operations.
  • -vr - Control the level of vram usage, defaults to medium usage, accepts [low, high]
  • -c - Use the cpu instead of gpu for generation. (Very slow)
  • -nsfw - Activates the nsfw filter after running an operation.

sdkit-cli's People

Contributors

artificiallegacy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.