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

x/openai/resources/beta/threads/mod.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/mod.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