Multimodal Input

This page describes multimodal input for the chat APIs. SilvaMux passes multimodal content through to the model side; whether it can be processed depends on the model itself.

Image Input (Vision)

Supports the OpenAI vision format — pass image_url inside the content of messages:

curl https://www.silvamux.com/api/v1/chat/completions \
  -H "Authorization: Bearer $SILVAMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m3",
    "messages": [
      {
        "role": "user",
        "content": [
          {"type": "text", "text": "What's in this image?"},
          {"type": "image_url", "image_url": {"url": "https://example.com/cat.jpg"}}
        ]
      }
    ]
  }'
  • image_url.url can be a public URL or base64-encoded data (data:image/jpeg;base64,...).
  • The platform does not parse or strip image content; it is forwarded to the model as-is.
  • Whether image input is supported is decided by the model (some multimodal models support it; text-only models return errors).

Audio Input

Supports the OpenAI audio format — pass input_audio inside content:

{
  "type": "input_audio",
  "input_audio": {"data": "<base64>", "format": "wav"}
}
  • Passed through by the platform; processability is decided by the model.
  • Audio tokens are billed as regular input tokens (no separate multimodal price).