Coder Social home page Coder Social logo

motdulieu / bing_image_creator_dalle3_batch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meap158/bing_image_creator_dalle3_batch

0.0 0.0 0.0 115 KB

Batch generate images with Bing Image Creator (powered by DALL-E 3) using Seleniumbase.

Home Page: https://colab.research.google.com/github/meap158/bing_image_creator_dalle3_batch/blob/main/bing_image_creator_dalle3_batch_meap158.ipynb

License: MIT License

Jupyter Notebook 100.00%

bing_image_creator_dalle3_batch's Introduction

Bing Image Creator DALL-E 3

Banner

Batch generate images with Bing Image Creator (powered by DALL-E 3) using Seleniumbase.

Open In Colab

Bing Image Creator DALL-E 3 allows you to pull prompts directly from Google Sheets, generate images with DALL-E 3 in Copilot Designer, and save them directly to your Google Drive.


How to Obtain Bing Cookie

To use Bing Image Creator, you need to obtain the necessary cookie value. Follow these steps:

  1. Navigate to Bing Image Creator: https://www.bing.com/images/create.
  2. Log in to your Bing account.
  3. Open the browser's developer tools:
    • Press F12 or right-click on the page and select "Inspect" or "Inspect Element."
  4. In the Developer Tools, go to the "Application" tab.
  5. Under "Cookies," find and select https://www.bing.com.
  6. Look for the _U cookie.
  7. Copy the value of the _U cookie.

image


Okay now I have the _U cookie, where do I put it?

Option 1. For single cookie use:

  1. Just input your _U cookie value into the bing_cookie parameter.

image

Option 2. For multi-cookie use (i.e., multiple accounts):

  1. Create a Secret named bing_cookies_yaml in the Secrets tab (the one with the key icon):

Screenshot 2024-02-18 163003

  1. Input your _U cookie value(s) into the Value column following this syntax (the names on the left side don't matter much as they're just for readability. You could just put the names of your accounts there):
    account1: {_U cookie value}
    
    account2: {_U cookie value}
    
  2. Enable Notebook access to the Secret. After this step, it should look something like this:

secret


How to Use

  1. Fill in the necessary parameters: spreadsheet_id_or_url, worksheet_name_or_index, and range_value, as per your Google Sheets setup. The values from this specified range will be fetched and used as prompts.

image

  1. Press Ctrl + F9 to run all cells.

Results

image

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.