Images & media

Image input is different from media generation.

Draft format · Execution not enabled

Image input

This describes the current draft request format. Paid chat is not enabled; these examples do not generate a completion today. The draft supports text and image_url parts. Use a model whose input_types includes image.

{
  "model": "MODEL_ID",
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "Describe this image."
        },
        {
          "type": "image_url",
          "image_url": {
            "url": "https://example.com/photo.jpg",
            "detail": "auto"
          }
        }
      ]
    }
  ],
  "max_tokens": 256
}

Input limits

An image reference must be an HTTPS URL or a base64 data URL declaring PNG, JPEG, WebP or GIF. The draft caps the URL string at 12,000,000 characters. That is not a published pixel or file-size allowance. detail accepts auto, low or high.

Input limits
InputCurrent draft
Text + image partsSupported by the draft chat schema; execution disabled.
file_id, file/PDF partsNot supported.
Audio/video parts or YouTube URLsNot supported.
Uploads endpointNot implemented.

Generation and asynchronous jobs

uRouter currently has no image generation/editing, audio, video, music, embedding, job-polling, cancellation or artifact-download endpoint. Catalog entries and option arrays do not enable those operations. No result-retention or download-expiry contract is published yet.