Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/chat/completions.ts>ChatCompletionContentPartImage.ImageURL

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ChatCompletionContentPartImage.ImageURL
import { type ChatCompletionContentPartImage } from "https://deno.land/x/openai@v4.28.4/resources/chat/completions.ts";
const { ImageURL } = ChatCompletionContentPartImage;

Properties

url: string

Either a URL of the image or the base64 encoded image data.

optional
detail: "auto" | "low" | "high"

Specifies the detail level of the image. Learn more in the Vision guide.