AI Artistry: Creating Images with Google Apps Script and DALL-E 2
A Low Code and Serverless Solution
Yes. We are going to create images, keep data safe, and ensure that the images are content appropriate/safe for work using AI.
To use the script, you need to already have access to Google Workspace, some basic knowledge of Apps Script, and an OpenAI API key. If you need to get started with any of these, comment on this post, and I will help you.
Overview
DALL·E is a AI system that can create realistic images and art from a description in natural language. DALL·E 3 currently supports the ability, given a prompt, to create a new image with a specific size. DALL·E 2 also support the ability to edit an existing image, or create variations of a user provided image.
DALL·E 3 is available through our Images API along with DALL·E 2. You can try DALL·E 3 through ChatGPT Plus. ~ https://platform.openai.com/docs/models
Pricing
We will be using DALL-E-2 1024 X 1024. That translates to:
At a rate of $0.020 per image, for 100 images, you would pay:
100 images x $0.020/image = $2.00
So, the total cost would be $2.00.