Overview
The Concentrate AI API supports multi-modal inputs, allowing you to send images alongside text to vision-capable models. Images can be provided as base64 data URIs or public URLs, and the API normalizes the format across all providers automatically.Supported Models
The following models support image inputs:Use the Get Model endpoint to check if a specific model supports image inputs by looking for the
image_processing field in the provider configuration.Sending Images
Images are sent as content blocks within theinput array. Use the input_image content type alongside input_text blocks.
Image Input Format
type(required):"input_image"image_url(required): Base64 data URI or public HTTPS URLdetail(optional):"low","high", or"auto"(default:"auto")low: Faster processing, lower token cost, suitable for simple imageshigh: Full resolution analysis, higher token cost, better for detailed imagesauto: Let the model decide based on the image
detail Parameter Support
The detail parameter controls image resolution for token estimation, but provider support varies depending on the underlying API format:
For providers marked N/A, their native APIs have no equivalent concept — the provider determines image processing resolution automatically.
Examples
Base64 Image
URL Image
You can also pass a publicly accessible image URL:Multiple Images
Send multiple images in a single request:With Streaming
Multi-modal requests work with streaming:Supported Formats
Limits
Image limits vary by provider and model. Exceeding these limits will return a400 error.
Resolution limits
Some models also enforce per-image resolution limits, exposed on theimage_processing capability object returned by Get Model and List Models:
max_pixels— Maximum total pixels (width × height) allowed for a single image.max_dimension— Maximum allowed value for either the width or the height of a single image, in pixels.
400 error before being sent to the upstream provider — resize or downscale before uploading.
Image tokens are calculated based on per provider algorithms. Higher resolution images consume more tokens. For providers that support it, consider setting
detail to “low” to reduce costs.Error Handling
Common errors when using image inputs:Related Documentation
Request Parameters
Complete parameter reference
Streaming
Use multi-modal with streaming
Create Response
Main endpoint documentation
List Models
Check model capabilities