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

x/openai/resources/beta/threads/mod.ts>ImageFileContentBlock

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

References an image File in the content of a message.

Properties

image_file: ImageFile
type: "image_file"

Always image_file.