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

x/openai/resources/mod.ts>ChatCompletionContentPartImage.ImageURL

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
interface ChatCompletionContentPartImage.ImageURL
import { type ChatCompletionContentPartImage } from "https://deno.land/x/openai@v4.19.1/resources/mod.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.