Skip to content

This is a Python script to generate Images using prompts from a CSV file via the Bing Image Creator CLI tool

License

Notifications You must be signed in to change notification settings

beephole/BulkPromptGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

BulkPromptGen

This repository provides a Python script to generate images using prompts from a CSV file via the Bing Image Creator CLI tool. You can generate different prompts using Ai Chats and simply paste them in csv file and run the script !

Demo

demo.mp4

Features

  • Reads prompts from a CSV file
  • Generates 4 images per prompt using Bing Image Creator
  • Light/dark mode toggle
  • Saves images to a directory named with today's date
  • Adds a timeout between requests to avoid issues
  • Tracks total number of images generated across runs

Before Installing

Grab the Bing _U Cookie

Before we install we need to get the _U Cookie , Go to Bing.com and pres F12 for developer tool, then under Application , under Cookies , get the _U cookie and paste it to the script as in vid below !

cookie.demo.mp4

Install and Run Locally

Clone the project

  git clone https://github.com/beephole/BulkPromptGen.git

Go to the project directory

  cd BulkPromptGen

Install dependencies

  pip install -r requirements.txt

Start the app

  python main.py

Hi, I'm Beephole 👋

🚀 About Me

Will you soar high as the king of the sky or buzz right by like a fly on the shit pie?

🔗 Links

twitter

Acknowledgements

Credits goes @acheong08 for making BingImageCreator CLI tool

  pip3 install --upgrade BingImageCreator

About

This is a Python script to generate Images using prompts from a CSV file via the Bing Image Creator CLI tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages