Uploaded August 2023 | Updated September 2026, 8 hours ago
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: platform.openai.com/account/api-keys
Set usage Limits: platform.openai.com/account/usage
HA Documentation:
OpenAI Integration: home-assistant.io/integrations/openai_conversation
Downloader Integration: home-assistant.io/integrations/downloader
Picture Card: home-assistant.io/dashboards/picture
DALL·E Website: 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
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: platform.openai.com/account/api-keys
Set usage Limits: platform.openai.com/account/usage
HA Documentation:
OpenAI Integration: home-assistant.io/integrations/openai_conversation
Downloader Integration: home-assistant.io/integrations/downloader
Picture Card: home-assistant.io/dashboards/picture
DALL·E Website: 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










