Posting image to sonar-deep-research leads to 500 error

:bug: Describe the Bug

Posted an image to sonar-deep-research but got a 500 error

:white_check_mark: Expected Behavior

What you expected to happen.

:cross_mark: Actual Behavior

HTTP/1.1 500 Internal Server Error
Date: Sat, 24 May 2025 04:42:27 GMT
Content-Type: application/json
Content-Length: 104
Connection: close
cf-cache-status: DYNAMIC
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Server: cloudflare
CF-RAY: 944a1f7fbc938f76-BOS

{"error":{"message":"An internal server error has occurred.","type":"internal_server_error","code":500}}

:counterclockwise_arrows_button: Steps to Reproduce

post a content array with two entries for user: with a text question and a type image_url

{
  "model": "sonar-deep-research",
  "messages": [
    {
      "role": "system",
      "content": "Provide facts as force diagram nodes with: id, title, description, child_of_id, and citation_ids"
    },
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "Tell me about the sculpture on the bridge in the background; is it original? Provide all possible and relevant knowledge about this photo. User lat lng unknown. Format response as JSON array of nodes. Each node must contain: id (integer), title (string), description (string), child_of_id (integer|null), and citation_ids (array of indices referencing root citations)."
        },
        {
          "type": "image_url",
          "image_url": {
            "url": "https://i.gyazo.com/33984c4ec2dc9b92d1f0ccca55c0d316.jpg"
          }
        }
      ]
    }
  ],
  "response_format": {
    "type": "json_schema",
    "json_schema": {
      "schema": {
        "title": "ForceDiagram",
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "title": "Node ID"
            },
            "title": {
              "type": "string",
              "title": "Node Title"
            },
            "description": {
              "type": "string",
              "title": "Node Description"
            },
            "child_of_id": {
              "type": [
                "integer",
                "null"
              ],
              "title": "Parent Node ID"
            },
            "citation_ids": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "title": "Citation References",
              "description": "Array indices matching root citations array"
            }
          },
          "required": [
            "id",
            "title",
            "description"
          ]
        }
      }
    }
  }
}

:pushpin: API Request & Response (if applicable)

:globe_showing_europe_africa: Environment

  • API Version: sonar-deep-research
  • SDK (if applicable): CURL / REST

:paperclip: Logs or Screenshots (if applicable)

Add any logs or screenshots that can help debug the issue.

:memo: Additional Context

Add any other context about the problem here.

Unfortunately, sonar deep research does not yet support image uploads. Please bear with us as we introduce this functionality.

ah which think models support image?