scrimba
Dall-E & GPT Vision
Generate original images from a text prompt
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Generate original images from a text prompt
AboutCommentsNotes
Generate original images from a text prompt
Expand for more info
index.js
run
preview
console
import OpenAI from "openai";
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
dangerouslyAllowBrowser: true,
});
Console
/index.html
-7:02