Backend for my Stable diffusion project(s)

Overview

Backend for my Stable diffusion project(s)

Might be useful for others but at least it's useful for me.

  • Only supports txt2img right now.
  • Uses AUTOMATIC1111 but requires two custom scripts
    • Located in src/process/implementations/automatic1111_scripts

How to run

  • You need Node (Tested with 16.17.1) installed
  • in project root run:
  • npm install
  • npm start
Comments
  • syntax conflicting with the sd-dynamic-prompts

    syntax conflicting with the sd-dynamic-prompts

    I'm talking about that wildcard extension : https://github.com/adieyal/sd-dynamic-prompts

    Unfortunately the {word|word} syntax is already used. Would there be any possibility to use an alternative one?

    Like {word#word} maybe?

    opened by Extraltodeus 5
  • Completely broken with latest AUTOMATIC1111 commit

    Completely broken with latest AUTOMATIC1111 commit

    Hey amotile, appreciate everything you're doing here!

    Did a little looking, appears to be due to Line 57 in /src/process/implementations/automatic1111.ts

    Some change in auto1111's config for components and plural seeds doesn't appear to be present anymore? Haven't worked out what the new approach is supposed to be yet but wanted to raise the flag on it because it's completely broken as of now (even if you try to work around not having seeds, requests fail).

    Error on npm start for backend.

    Error: No img2img function found at /home/subpanic/repo/stable-diffusion-backend/src/process/implementations/automatic1111.ts:69:15 at step (/home/subpanic/repo/stable-diffusion-backend/src/process/implementations/automatic1111.ts:33:23) at Object.next (/home/subpanic/repo/stable-diffusion-backend/src/process/implementations/automatic1111.ts:14:53) at fulfilled (/home/subpanic/repo/stable-diffusion-backend/src/process/implementations/automatic1111.ts:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5)

    opened by mlmcgoogan 3
  • Question about a similar feature in the webui

    Question about a similar feature in the webui

    Hi, I was wondering what the concrete difference between the prompt blending script and the AND keyword was in the webui.

    Also, sorry if this is the wrong place to ask! I'm just wondering how this script differs from this similar feature in the webui, and I'm not sure where to ask other than in the issues themselves.

    opened by John-WL 1
  • The

    The "Prompt Blending" script is not displayed in the dropdown list of SDWUI Scripts

    I downloaded both scripts "Advanced Seed Blending" and "Prompt Blending" listed on the AUTOMATIC1111 Stable Diffusion Web UI repository from this repository, and copied them inside the \scripts directory of the SD Web UI local installation folder on my notebook, and noticed that the "Prompt Blending" script is not being displayed in the Scripts dropdown list. I checked if there was a sort of "limit" in the number of external scripts loadable by SDWUI removing all the others I installed beside the default ones, but it didn't worked. Perhaps I am doing something wrong, or I haven't correctly understood where to find it. Regards.

    opened by Harvester62 1
  • Prompt Blending Syntax Conflicts with Dynamic Prompts

    Prompt Blending Syntax Conflicts with Dynamic Prompts

    The {concept1|concept2} syntax is also used by Dynamic Prompts. Changing just the separator in the code does not work as Dynamic Prompts seems to strip the curly brackets, resulting in the blending not working. Changing the brackets to < and >and the separator to & works, however I can't tell what the rest of the code is doing. You have a function lower down that refers to the specific brackets directly.

    Output of {cat|dog} with Blending grid-0000

    Output without Blending (same seed): grid-0001

    Output with Blending AND Dynamic Prompts enabled (same seed): grid-0003

    opened by soarkyfluffbutt 0
  • Syntax error

    Syntax error

    Error loading script: prompt_blending.py Traceback (most recent call last): File "C:\stable-diffusion\stable-diffusion-webui\modules\scripts.py", line 169, in load_scripts compiled = compile(text, scriptfile.path, 'exec') File "C:\stable-diffusion\stable-diffusion-webui\scripts\prompt_blending.py", line 8 ^ SyntaxError: invalid syntax

    :'(

    opened by oniris 0
Owner
Amotile
Amotile
a toy project to explore Stable Diffusion locally through a nodeJS server.

SD-explorer foreword this is a toy project to run the Stable Diffusion model locally. if you're after something more solid, I'd suggest you use WebUI

nicolas barradeau 18 Dec 18, 2022
A cross-platform desktop app with a nice interface to Stable Diffusion and others

GenerationQ GenerationQ (for "image generation queue") is a cross-platform desktop application (screens below) designed to provide a general purpose G

Weston C. Beecroft 25 Dec 28, 2022
🤗 A CLI for running Stable Diffusion locally via a REST API on an M1/M2 MacBook

Stable Diffusion REST API A CLI for running Stable Diffusion locally via a REST API on an M1/M2 MacBook Pre-requisites An M1/M2 MacBook Homebrew Pytho

Yuan Qing Lim 74 Dec 26, 2022
Minimalist UI for Stable Diffusion, built with SolidJS

Solid Diffusion Minimalist web-based interface for Stable Diffusion with persistant storage in the browser, built with SolidJS. This project is an alp

_nderscore 13 Nov 29, 2022
A web GUI for inpainting with Stable Diffusion using the Replicate API.

?? Inpainter A web GUI for inpainting with Stable Diffusion using the Replicate API. Try it out at inpainter.vercel.app cherries-oranges-bananas.mp4 H

Zeke Sikelianos 158 Dec 27, 2022
Concept Art/Prototyping faster with AIDA (AIDAdiffusion), "All-In-one" app for running Stable Diffusion on windows PC locally.

AIDAdiffusion Concept Art/Prototyping faster with ourbunka internal tool AIDA (AIDAdiffusion), "All-In-one" app for running Stable Diffusion on window

null 7 Nov 23, 2022
Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Stable Diffusion UI Easiest way to install and use Stable Diffusion on your own computer. No dependencies or technical knowledge required. 1-click ins

null 3.5k Dec 30, 2022
Portable, cross platform Stable Diffusion UI

FusionKit Releases FusionKit is a self-contained cross-platform app for generating images with Stable Diffusion. It leverages the InvokeAI project to

FusionKit 13 Dec 17, 2022
A simple Stable Diffusion WebUI extension that adds a Photopea tab and integration.

Photopea Stable Diffusion WebUI Extension Photopea is essentially Photoshop in a browser. This is a simple extension to add a Photopea tab to AUTOMATI

Yanko Oliveira 624 Aug 10, 2023
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Gatsby-Formik-contact-form-with-backend-panel - Full working contact form with backend GUI panel.

Gatsby minimal starter ?? Quick start Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the minimal starter. # create a new Ga

Bart 1 Jan 2, 2022
Venni backend - The backend of the Venni client apps implementing the credit card payments, matching algorithms, bank transfers, trip rating system, and more.

Cloud Functions Description This repository contains the cloud functions used in the Firebase backend of the Venni apps. Local Development Setup For t

Abrantes 1 Jan 3, 2022
Component oriented framework with Virtual dom (fast, stable, with tooling)

Bobril Main site bobril.com Changelog of npm version: https://github.com/Bobris/Bobril/blob/master/CHANGELOG.md Component oriented framework inspired

Boris Letocha 359 Dec 4, 2022
Proposal(s) for a stable Deno FFI API

Proposal(s) for a stable API for Deno FFI In this repository I propose a possible stable APIs for Deno FFI. The proposals are split into folders by to

Aapo Alasuutari 6 Dec 5, 2022
Turn any dynamic website (especially wordpress) into a fast, secure, stable static site

Static site publisher Turn any dynamic website (especially wordpress) into a fast, secure, stable static site Reduced complexity - no need to run simp

Alex Ivkin 7 Apr 6, 2022
This project is about a quiz website backend with google sheet.

This project is about a quiz website backend with google sheet. In this project we will fetch quiz data from google sheet to our quiz website, which is responsive & dynamic. Basically we use google sheet as our quiz database.This project is only possible for @Lsvekis .

Subhranshu Choudhury 2 Mar 28, 2022
Project developed as Capstone of Q4 Backend module of the Fullstack Developer Course of Kenzie Academy Brasil by the group @ezms, @Nafly09, @RafaelSchug, @victorlscherer, @Vinicius2m, @ManoelaCunha

✨ Quokka Services ✨ ?? Serviço rápido e sem preocupação! ?? O objetivo da nossa aplicação é diminuir a dificuldade que moradores de condomínios encont

Manoela Fernanda Girello Cunha 4 May 4, 2022