How to generate images with OpenAI's DALL-E models using R - reticulate approach

Опубликовано: 01 Ноябрь 2024
на канале: Melissa Van Bussel (ggnot2)
1,807
72

In this video, we learn how to use the OpenAI Images API to generate images based on text prompts using OpenAI's DALL-E models. We do all of this using R!

This video uses a reticulate approach, but it's possible to do this using the openai package from R. Thank you to those who pointed that out! I've re-uploaded a video using that approach, available here:    • How to generate images with OpenAI's ...  

The code from this tutorial is available on my GitHub here: https://github.com/melissavanbussel/Y...

If you liked this video, please be sure to subscribe to my channel so that I can make more. 😊

0:00 - Understanding the OpenAI Images API
1:00 - Accessing the OpenAI Images API using R
5:50 - Calling the OpenAI Images API using R
7:24 - Setting environment variables
9:27 - Generating the image

Want to connect?

Twitter:   / melvanbussel  
LinkedIn:   / melissavanbussel  
Website: https://www.melissavanbussel.com/
GitHub: https://github.com/melissavanbussel

*Please note: it’s helpful for me if you send me a message on LinkedIn when you add me letting me know you’re adding me because of YouTube, so that I can keep track of how I know each person in my network😊