scrimba
Dall-E & GPT Vision
GPT-4 with Vision
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

AboutCommentsNotes
GPT-4 with Vision
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,
});

const imgURL = "images/egg.jpg";

document.body.innerHTML = `<img src="${imgURL}" alt="Image to analyze">`;
Console
/index.html
-7:32