Giter VIP home page Giter VIP logo

alejandroakbal / polyprompter Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 93 KB

Translate prompts from AUTOMATIC1111/stable-diffusion-webui to invoke-ai/InvokeAI, and vice-versa

Home Page: https://PolyPrompter.com

License: GNU Affero General Public License v3.0

JavaScript 10.95% HTML 2.27% TypeScript 56.65% Svelte 29.46% CSS 0.67%
invokeai prompt prompt-engineering stable-diffusion stable-diffusion-webui

polyprompter's Introduction

PolyPrompter

Translate prompts from AUTOMATIC1111/stable-diffusion-webui to invoke-ai/InvokeAI, and vice-versa.

https://PolyPrompter.com

Development

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

polyprompter's People

Contributors

alejandroakbal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

polyprompter's Issues

Issues converting from a1111 to invokeai

Hey, i have tried using your tool and used it with this test prompt:

(photo portrait of (Doomguy:1.4) (riding a motorcycle, in futuristic outfit:1.2)), (Doomguy riding a motorcycle:1.1), (looking at the camera:1.1), (looking at the viewer:1.1), dramatic lighting, ((mechanical prosthetics, robot hands)), action pose, (motorcycle), BREAK, dynamic, vibrant, action-packed, detailed character design, (professional photo of Doomguy:1.2), (extremely detailed Doomguy face:1.4), (Doomguy riding a motorcycle:1.3), 1 man, cyberpunk clothing, cyberpunk, (cyberpunk background:1.2), (extremely detailed cyberpunk background:1.3), extremely detailed background, cyberpunk body modification, cyberpunk 2077 body modification, (neon city background), cyberpunk suit, robot, science fiction, solo, full body, wires and cables, sharp focus, natural lighting, cyberpunk reimagined, neon lights, action pose, colorful, bright colors, science fiction, a dystopian cyberpunk city, neon, cyberpunk 2077, (cyberpunk 2077 cityscape), art by Masamune Shirow,soft neon light, cinematic, vivid details, robotic bionic features, (masterpiece, hyperrealistic, best quality:1.2), official art, extremely detailed CG unity 8k wallpaper, detailed background, best quality, expressive eyes, perfect face, perfect eyes, perfect anatomy, extremely detailed eyes and face, looking at viewer, detailed background, detailed clothes, cinematic lighting, beautiful 8k, masterpiece, best quality, high quality, hdr, photography by cosmicwonder, high definition, symmetrical face, volumetric lighting, 24mm, 4k, DSLR, high quality, ultra realistic,

and the output is this

(photo portrait of )+(Doomguy)+++++( )+(riding a motorcycle, in futuristic outfit)+++, (Doomguy riding a motorcycle)+, (looking at the camera)+, (looking at the viewer)+, dramatic lighting, (mechanical prosthetics, robot hands)++, action pose, (motorcycle)+,(BREAK)--------------------, dynamic, vibrant, action-packed, detailed character design, (professional photo of Doomguy)++, (extremely detailed Doomguy face)++++, (Doomguy riding a motorcycle)+++, 1 man, cyberpunk clothing, cyberpunk, (cyberpunk background)++, (extremely detailed cyberpunk background)+++, extremely detailed background, cyberpunk body modification, cyberpunk 2077 body modification, (neon city background)+, cyberpunk suit, robot, science fiction, solo, full body, wires and cables, sharp focus, natural lighting, cyberpunk reimagined, neon lights, action pose, colorful, bright colors, science fiction, a dystopian cyberpunk city, neon, cyberpunk 2077, (cyberpunk 2077 cityscape)+, art by Masamune Shirow,soft neon light, cinematic, vivid details, robotic bionic features, (masterpiece, hyperrealistic, best quality)++, official art, extremely detailed CG unity 8k wallpaper, detailed background, best quality, expressive eyes, perfect face, perfect eyes, perfect anatomy, extremely detailed eyes and face, looking at viewer, detailed background, detailed clothes, cinematic lighting, beautiful 8k, masterpiece, best quality, high quality, hdr, photography by cosmicwonder, high definition, symmetrical face, volumetric lighting, 24mm, 4k, DSLR, high quality, ultra realistic,

I am not 100% sure, but i think there might be an error correctly converting this prompt. Especially the first parameter looks like its not correctly converted.

(photo portrait of )+(Doomguy)+++++( )+(riding a motorcycle, in futuristic outfit)+++

It should mostly be right, but the "+++++()+" confuses me and looks like a bug imo.
Am i right or is this working as intended? If so, please juat close this issue :)

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.