DALL-E 2 Voice-Controlled Artificial Intelligence Art Frame
Vložit
- čas přidán 2. 05. 2023
- Say something like “Art Frame, paint a still life of fruit,” and in a matter of seconds an AI generated image depicting your request will ‘magically’ appear.
The DALL-E 2 Voice-Controlled AI Art Frame includes a 3D printed frame that houses a 7-color e-ink display and a Raspberry Pi 4. The RPi runs a python program that uses Picovoice Porcupine (picovoice.ai/) to detect a wake word; Picovoice Cobra voice activity detection to determine when the user begins and finishes speaking their image request; Picovoice Leopard to convert the spoken request into text; and OpenAI’s DALL-E 2 (openai.com/product/dall-e-2/) to convert the request to an image that is then displayed on a Pimoroni Inky Impression e-ink display.
A parts list, the Python code, the 3d designs and detailed instructions for building your own AI Art Frame are available on my GitHub site: github.com/DevMiser/AI_Art_Frame.
Sick project man! Looks great good job!
Thank you.
Thank you.
Amazing work. Do you think you could write an alternate version that’s the same except it connects to some sort of online Stable Diffusion or something that doesn’t require Dall-E 2? Since OpenAI only lets you generate 15 times per month without paying?
Currently, DALL-E 2 is the only one with a readily accessible API for this purpose. Beyond the free period, OpenAi charges less than 2 cents per image ($0.018 for 512x512 images).
This is rad! Does this need to use the e-ink display? Could it be done as is with a standard hd monitor? Or would the code need to be tweaked?
Thank you. The code contains a line that can be uncommented to show the image on a display attached to the RPi. It will not be full screen, however, without additional tweaking.
I was thinking if there is something like Wall Size or Painting Size? @@skydronetech
Can the same module be run on a magic mirror 2?
Do you need a LAN Cable or WiFi on it ?
Yes. It needs to be connected to WiFi. The Raspberry Pi has a WiFi chip built into it.