Claude messages
图片
/v1/messages
Creates a Claude message response for text, multimodal input, and tool use.
POST
Claude messages
Documentation Index
Fetch the complete documentation index at: https://docs.ent.apigo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Anthropic 官方 HTTP 文档里,Claude 的图片能力主要体现在 Messages API 的视觉理解,而不是独立的图片生成接口。
- 图片通常作为
content里的图像块传入,再配合文本问题一起请求 - 截至目前公开的 Anthropic HTTP 文档,没有单独的 Claude 图片生成或图片编辑端点
- 支持把图片以 base64、URL 或 Files API 的
file_id形式传入 - 如果你要做图片生成或局部编辑,需要路由到支持该能力的 provider,而不是假设 Claude 官方接口能直接生图
授权
请求头
Anthropic API version header.
示例:
"2023-06-01"
请求体
application/json
