Run Alpamayo inference
Canonical Alpamayo 2 Super inference endpoint. Select the task with task: trajectory (default), vqa, grounding, meta_action, or auto_labeling. Images are base64 data URLs in camera-major order (oldest frame first within each camera); declare camera_order and num_frames_per_camera whenever the images are not the six-camera, four-frame default. trajectory, meta_action and auto_labeling require the 16-row egomotion history. The response carries a warnings list for non-fatal input caveats.
Request
Compressed camera images as base64 strings or data:image/…;base64 URIs. JPEG, PNG, WebP, and BMP are supported. Images are ordered by camera_order and timestep. When camera_order is omitted, the default Alpamayo 2 Super profile for the selected mode is used: six cameras for trajectory, answer, or both. Combined mode reuses the trajectory images for VQA. Camera identity and camera-major ordering are caller assertions: the service validates names and counts but cannot identify scene content or detect timestep-major input. Misordered images change output.
Optional served model ID from /v1/models. Omitted, null, or empty selects the served model; other names are rejected.
Streaming is not supported; omit this field or set it to false.
Legacy inference mode. Prefer task. mode=‘answer’ maps to task=‘vqa’; mode=‘both’ retains combined trajectory and VQA behavior.
Optional camera names matching the image camera-major order. Names may use Alpamayo full camera names or OSS short names such as cross_left and front_wide. Trajectory and legacy combined mode accept any non-empty subset of the six driving cameras. VQA accepts any supported camera subset; meta-action and auto-labeling require the complete driving profile. The service validates this declaration but cannot infer which physical camera produced an image. Default order when omitted: cross_left, front_wide, cross_right, rear_left, rear_right, front_tele (camera-major, oldest frame first within each camera); declare camera_order whenever the images are not in that layout.
Egomotion payload required for trajectory modes. ego_history_xyz must have shape [16, 3]. ego_history_rot must contain exactly 16 quaternion rows [w, x, y, z] or 16 3x3 rotation matrices. The 16-row history is required even for reduced image layouts.
Question for VQA or grounding. Required for task=‘vqa’ (and legacy mode=‘answer’ or ‘both’); optional for task=‘grounding’, which uses the released default question when this field is omitted. Not accepted by trajectory, meta_action, or auto_labeling.
Required for auto_labeling: use a caller-provided future trajectory or internally predict a K=1 future.
Future trajectory required when future_source=‘provided’.
VLM sampling temperature. Trajectory-producing tasks are limited to 1.5 so reasoning remains parseable by the trajectory decoder. Null selects the default.
VLM nucleus sampling top-p. Must be greater than zero. Null selects the default.
Optional VLM top-k sampling limit. Use temperature=0 for true greedy decoding; top_k=1 with nonzero temperature still uses sampling and can differ when logits are tied.
Maximum VLM generation tokens for text-only tasks. Omit this field for trajectory-producing requests; the NIM owns the trajectory generation budget. For auto_labeling the NIM enforces a minimum generation budget of 1024 tokens.
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.
Response
Set when VQA returns no answer text, the answer was cut off at max_tokens, or the answer is another task’s structured output (grounding bbox_2d or auto-labeling JSON) rather than prose; absent on ordinary answers.
Why VLM text generation ended for vqa, meta_action, auto_labeling, and grounding: ‘stop’ when the model ended its response, ‘length’ when it reached max_tokens and the text may be truncated. Absent for trajectory responses and when the backend does not report it.
Seconds between consecutive trajectory points; present with pred_trajectories. Matches time_step in /v1/chat/completions content and gRPC raw_json.
Normalized meta-action axes; an axis that could not be parsed is null.
Coordinate space of grounding_boxes[].bbox. Always ‘grid_0_1000’ on grounding responses: [x_min, y_min, x_max, y_max] on the model’s 0-1000 grid, not pixels; multiply x by width/1000 and y by height/1000 of the source image. Null for other tasks.
Set when parsed labels do not name any object in the question, when boxes were dropped (outside the 0-1000 grid, or without a label), when the response was cut off at max_tokens, or when no box parsed; boxes are unverified when present.
Future ego trajectory used to condition auto-labeling.
Non-fatal input caveats: the request was served but the result may be unreliable, for example an ego history implying an implausible speed (units) or a trajectory camera subset without a forward camera. Absent when there are none.