AnthropicImageBlockParamSource - TypeScript SDK
AnthropicImageBlockParamSource type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AnthropicImageBlockParamSource type definition
models.AnthropicBase64ImageSourceconst value: models.AnthropicBase64ImageSource = {
data: "/9j/4AAQ...",
mediaType: "image/jpeg",
type: "base64",
};
models.AnthropicUrlImageSourceconst value: models.AnthropicUrlImageSource = {
type: "url",
url: "https://example.com/image.jpg",
};