Visual question answering through an OpenAI-style request
Compatibility adapter for task=‘vqa’. Put the question and the images in one user message; camera_order and num_frames_per_camera go in nvext. Prefer POST /v1/infer for new integrations.
Request
Served model ID from /v1/models. Omitted, null, or an empty string selects the served model, as over gRPC; other model names are rejected.
Maximum VLM generation tokens for /v1/vqa. Omit this field from trajectory requests to /v1/chat/completions.
VLM nucleus sampling top-p. Null selects the default.
Optional per-request sampling seed. When omitted, the container default seed is used. For deterministic greedy language decoding on the same deployment, use temperature=0.
Streaming is not supported; omit this field or set it to false or null.
Accepted for OpenAI client compatibility; only 1 is supported. Use nvext.num_traj_samples for multiple trajectories.
Accepted for OpenAI client compatibility; only 0 is supported.
Accepted for OpenAI client compatibility; only 0 is supported.
Response
‘stop’ when the model ended its answer, ‘length’ when it reached max_tokens and the answer may be truncated.
VLM prompt/completion token counts. Populated only when the backend reports them; otherwise null rather than an estimate.