Skip to content

LDexter/DALL-CC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DALL-CC

DALL-E in ComputerCraft for AI image generation

AI Image Generation and CC Image Rendering

Generates locally-saved png files, converts to local bimg files (both replaced upon each re-run), and renders the results on-screen. Conversion and rendering are made possible through my fork of 9551-Dev's Fork of the original pngLua library.

Optional DavinCC Integration

Works seamlessly with DavinCC to produce AI-generated images, that are prompted by AI-generated text. This requires as little effort as: "Imagine a photograph/artwork/cartoon of a bird. Describe.". The value achieved here is immese, as your input consists of two key words: "artwork" + "bird", while DavinCC's output is a verbose breakdown of your bird in great artistic detail... and DALL-CC loves detail. An example output from this incredible AI tag-team effort is linked below.

DALL-vinci Output Sample

DALL-vinci output

Setup Guide

  1. Ensure you have Git 1.6.5 or later in your PC's terminal: git --version
  2. Run git clone --recursive https://github.com/LDexter/DALL-CC.git in CC root directory
  3. Follow these steps for connecting your OpenAI account (free to use):
    1. Sign-in and access your private API key
    2. Paste the API key into template.env, replacing the sample key
    3. Rename template.env to just .env
  4. Run img [number] [magnitude](sm, md, lg) and enjoy!

All image links will be written to /data/out.txt.