Art-Prompter

A GPT powered predictive keyboard for making descriptive text prompts for A.I. image generators (e.g. MidJourney, Stable Diffusion, ArtBot, etc). The model was trained on a database of over 521K MidJourney images corresponding to 212K unique prompts.

Use the model through HuggingFace

from transformers import pipeline

ai = pipeline('text-generation',model='pearsonkyle/ArtPrompter', tokenizer='gpt2')

texts = ai('The', max_length=30, num_return_sequences=5)

for i in range(5):
    print(texts[i]['generated_text']+'\n')

Art Prompter

Build prompts and generate images on Discord!

Examples

All text prompts below are generated with our language model and then evaluated with MidJourney v4

Training Setup

Scrape MidJourney for prompts

  1. Log in to browser and find cookie in request header
  2. Set up sql database to store prompts.
    • python Database.py
  3. Reproduce api call in python
  4. Add unique entries to db
    • python midjourney_query.py

Train a language model

python train.py

Coming soon