Trajectory through an OpenAI-style chat request
Compatibility adapter for trajectory generation. Images go in the user message as image_url parts; egomotion, camera_order and trajectory controls go in nvext. The assistant message content is a JSON string with the trajectory result. 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
VLM prompt/completion token counts. Populated only when the backend reports them, independently of profiling mode; otherwise null rather than an estimate.
Server-side inference time in seconds for this request, matching the inference_time field returned by /v1/infer and /v1/vqa.