Skip to main content
Bedrock-style image content blocks are supported in user messages on vision-capable models. Hand the SDK raw bytes (it base64-encodes them for you, Bedrock parity) or — an AI Reserve extension Bedrock doesn’t offer — a hosted URL, which is passed through verbatim so your payload stays tiny. Supported formats: png, jpeg, gif, webp.

Payload guidance

  • Base64 inflates bytes by ~33%; with the gateway’s 30 MB request cap, keep inline images at roughly 20 MB raw or less.
  • For large or frequently reused images, prefer source.url — the request stays small and the provider fetches the image directly.
  • Text-only conversations are wire-identical to before image support existed; nothing changes unless a turn actually contains an image.
  • Image blocks are valid in user messages only (Bedrock parity); blocks in assistant turns are ignored.