Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/threads/messages.ts>ImageURL

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ImageURL
import { type ImageURL } from "https://deno.land/x/openai@v4.52.0/resources/beta/threads/messages.ts";

Properties

url: string

The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.

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

Specifies the detail level of the image. low uses fewer tokens, you can opt in to high resolution using high. Default value is auto