AnthropicUrlImageSource - TypeScript SDK

AnthropicUrlImageSource type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { AnthropicUrlImageSource } from "@openrouter/sdk/models";
2
3let value: AnthropicUrlImageSource = {
4 type: "url",
5 url: "https://example.com/image.jpg",
6};

Fields

FieldTypeRequiredDescription
type”url”✔️N/A
urlstring✔️N/A