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.mp4
- 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 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
Clone the project
git clone https://github.com/beephole/BulkPromptGen.gitGo to the project directory
cd BulkPromptGenInstall dependencies
pip install -r requirements.txtStart the app
python main.pyHi, I'm Beephole 👋
Will you soar high as the king of the sky or buzz right by like a fly on the shit pie?
Credits goes @acheong08 for making BingImageCreator CLI tool
- Install BingImageCreator
pip3 install --upgrade BingImageCreator