image in input and text in output.
Chat completions
Legacy attachment fields
Native chat routes also normalize legacy top-level fields:
Use content parts for new integrations. They are clearer and closer to OpenAI-compatible client behavior.