Code Monkey home page Code Monkey logo

a2iprompt's Introduction

About

This tool will help you to convert Automatic1111 prompt to InvokeAI prompt

I'm sure it will make your life easier while applying prompts from online

Results

You should get same result by 50-80%

at least you will not have totally different result

unless your InvokeAI version has 77 tokens limits (solution here)

Usage

Online test click here and use it directly

or download this repo and open index.html it will work locally.

Features

  • Support wide conversion cases

  • Support translation from invokeai to automatic1111

  • Copy shortcuts

  • Tokens counter

  • Prompt syntax highlights

  • Auto prompt copy

  • Weight limiters

  • Much more translation improvements

  • UI improvements

Contribution

Feel free to submit any request or fix

if you want to make your own fork just don't remove copyright section.

Tips

To avoid some bad results try one of the following:

  • Change sampler

  • Turn on Ignore Negative's (attention, weight)

  • Limit any weight such as (1.3,1.4 or 2) to lower value.

Privacy

This tool works locally and doesn't send or collect any usage data or any texts

Credits

Bashar Astifan (Developer)

GPT-Tokenizer thanks to Bazyli Brzóska

Syntax highlights and code editor CodeMirror

HTML page has some elements from Navneet and Trent Dec

a2iprompt's People

Contributors

basharast 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.