Skip to content

Instantly share code, notes, and snippets.

View LucasRibeiro1024b's full-sized avatar

RibeiroLucas LucasRibeiro1024b

View GitHub Profile

Podem ocorrer alguns problemas quando for configurar as configurações, então leia tudo antes de continuar.

Caso esteja enfrentando problemas, me chama na DM (@shwuydev) pra gente resolver. 😁

Instale todas as extensões antes de alterar o settings.json do seu editor de texto, reinicie quantas vezes o VSCode pedir.


Tema

@mattdesl
mattdesl / cli.js
Created September 13, 2022 10:37
colour palette from text prompt using Stable Diffusion https://twitter.com/mattdesl/status/1569457645182152705
/**
* General-purpose NodeJS CLI/API wrapping the Stable-Diffusion python scripts.
*
* Note that this uses an older fork of stable-diffusion
* with the 'txt2img.py' script, and that script was modified to
* support the --outfile command.
*/
var { spawn, exec } = require("child_process");
var path = require("path");