Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 796 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 796 Bytes

Getting Started

  • Need to have a valid .env.template file

For running locally, run:

npm run install
npm run dev

Miscellaneous

How to generate JS/TS SDKs stubs for StableDiffusion API

Run sudo rm -rf ./api-interfaces && git clone --recurse-submodules [email protected]:Stability-AI/api-interfaces.git

  • npm_config_target_arch=x64 ./scripts/download-and-build-sd-lib.sh
  • This will replace the existing SDKs, don't forget to validate if everything still works on generating StableDiffusion against dreamstudio after this
  • This might not work because the protoc binary committed to the repo is used for ARM only; to fix, just download a new protoc binary from the official protoc gen repo for your OS, and replace the files inside "binaries" folder before running this