Baseten · Schema

ChatCompletionContentPartImageParam

Image content part for vision models.

AIMLInferenceDeploymentMLOpsOpenAI CompatibleAnthropic CompatibleTruss

Properties

Name Type Description
type string The content type, always `image_url`.
image_url object The image URL and detail settings.
View JSON Schema on GitHub

JSON Schema

baseten-chatcompletioncontentpartimageparam-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionContentPartImageParam",
  "title": "ChatCompletionContentPartImageParam",
  "additionalProperties": false,
  "properties": {
    "type": {
      "const": "image_url",
      "title": "Type",
      "type": "string",
      "description": "The content type, always `image_url`."
    },
    "image_url": {
      "$ref": "#/components/schemas/ImageURL",
      "description": "The image URL and detail settings."
    }
  },
  "required": [
    "type",
    "image_url"
  ],
  "type": "object",
  "description": "Image content part for vision models."
}