JSON Bodies
SendContent-Type: application/json. Chat Completions drops unknown fields at gateway-owned objects for compatibility with OpenAI-style clients.
Multipart Uploads
Chat completions also acceptmultipart/form-data: a request part with the JSON body plus image files referenced from the messages as attachment://<id>. Limits: 10 files, 5 MiB per image, 50 MiB combined, PNG, JPEG, or WebP, 2048 px long edge. See Image input.

