post
https://ai.api.nvidia.com/v1/av/nvidia/streampetr
Generate annotated videos using StreamPETR model for a selected scene.
Recommended Usage: The API returns a 302 redirect to a pre-signed S3 URL.
Use this approach to download the result ZIP directly from S3.
The S3 link is temporary and will expire.
Args:
- body (StreampetrRequest): Input request containing scene_id and optional config
Example scene_id values:
- 'scene-0103': Yield to left-turning vehicle at Boston intersection
- 'scene-0916': Navigate a bus stop parking lot in Singapore
- 'scene-1073': Left turn at a busy nighttime intersection in Singapore
- 'scene-0061': Follow vehicle into construction zone in Singapore
Returns:
- 302 Redirect: Preferred method - S3 download link in Location header
- 200 OK: Alternative - ZIP archive directly in response body
- Error: When processing fails, returns appropriate error response
Response Format:
The ZIP archive contains a .response file with JSON including:
- camera_video.data: Base64-encoded MP4 video
- bev_video.data: Base64-encoded MP4 video
- inference_metadata: Processing metadata
