Generate AI Images with Home Assistant! | OpenAI's DALL-E & ChatGPT

Опубликовано: 30 Март 2026
на канале: Let's Automate
2,186
31

I show you how to use OpenAI's DALL·E API and Home Assistant integration using text (and even voice!) to generate AI images.

I also show you ChatGPT in action within Home Assistant!

OpenAI Integration:

Create API Key: https://platform.openai.com/account/a...

Set usage Limits: https://platform.openai.com/account/u...

HA Documentation:

OpenAI Integration: https://www.home-assistant.io/integra...

Downloader Integration: https://www.home-assistant.io/integra...

Picture Card: https://www.home-assistant.io/dashboa...

DALL·E Website: https://openai.com/research/dall-e

----

YAML for downloader service: {{image_url.url}}

YAML for OpenAI service:

Show London based on the following weather. Include a person in the image wearing clothes which reflects the weather.
The sun is {{ states('sun.sun') | replace('_', ' the ')}}.
The weather is {{ states('weather.forecast_home') }}.
Cloud coverage is {{ state_attr('weather.forecast_home','cloud_coverage') }} percent.
The temperature is {{ state_attr('weather.forecast_home','temperature') }}{{ state_attr('weather.forecast_home','temperature_unit') }}.
Make it as realistic as possible.

---

00:00 Intro
01:15 OpenAI Setup
02:09 Home Assistant Integrations Setup
03:54 Additional Configuration
04:54 Create the automation
07:56 LoveLace Dashboard Entity Setup
08:40 ChatGPT Demo
10:10 Outro