verboo code

Guide

Image inputs

Combine text and images in one message for vision-capable models.

On this page

Choose a compatible model

Query GET /models and choose an item with vision: true.

Send the image

cURL
curl https://code.verboo.ai/router/v1/chat/completions \
  -H "Authorization: Bearer $VERBOO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "<VISION_MODEL_ID>",
    "messages": [{"role": "user", "content": [
      {"type": "text", "text": "Describe this image."},
      {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
    ]}]
  }'

Reachable URLs

The provider must be able to reach the URL. For private data, use a short-lived signed URL or a data URL when supported by the model.

Size and privacy

  • Resize images to the required resolution.
  • Do not send unnecessary metadata or sensitive regions.
  • Handle 413 by reducing the payload.