An object describing an image to classify.

interface ModerationImageURLInput {
    image_url: OpenAIClient.Moderations.ModerationImageURLInput.ImageURL;
    type: "image_url";
}

Properties

Properties

Contains either an image URL or a data URL for a base64 encoded image.

type: "image_url"

Always image_url.