kino_dalle icon indicating copy to clipboard operation
kino_dalle copied to clipboard

KinoDalle

A Livebook integration for OpenAI's DALL-E v2.

Installation

Create a Livebook and add the following dependency:

Mix.install([
  {:kino_dalle, github: "PJUllrich/kino_dalle"}
])

Signup to OpenAI

  1. Create an account with OpenAI here. You'll get plenty of free credits to get started.
  2. Create an API Key here
  3. Open your Livebook, create a DALL-E Cell Smart cell.
  4. Click on the API Key field and enter your OpenAI API Key

Usage

  1. Select the desired image size and the number of images you'd like to generate.
  2. Click Evaluate above the Smart Cell.
  3. Enter your prompt and hit Run.

Attribution

This project built upon the brilliant work from two other smart cell repositories:

  1. Kino Advent of Code (KinoAOC)
  2. Kino Bumblebee

Thanks a million to the authors from these repositories. I tried to honor your work as much as possible, but if you feel uncomfortable with this project, please please reach out to me through any of the channels mentioned on peterullrich.com and let's talk about it.