---
title: "Recommend config for a video"
method: POST
path: "/recommended_config"
tags: ["Recommended Config"]
---

# Recommend config for a video

`POST /recommended_config`

Recommend config for a video.

## Request body

- RecommendedConfig — Recommended VIA Config.
  - `video_length` integer — The video length in seconds.
  - `target_response_time` integer — The target response time of LVS in seconds.
  - `usecase_event_duration` integer — The duration of the target event user wants to detect; example: it will take a box-falling event 3 seconds to happen.

## Response `200`

Successful Response.

- RecommendedConfigResponse — Recommended VIA Config Response.
  - `chunk_size` integer — The recommended chunk size in seconds and no chunking is 0
  - `text` string, required — Recommendation text

## Other responses

- `400` — Bad Request. The server could not understand the request due to invalid syntax.
- `401` — Unauthorized request.
- `422` — Failed to process request.
- `429` — Rate limiting exceeded.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/nvidia/apis/long-video-summarization-api.md) · [All operations](https://skmtc.dev/nvidia/apis/long-video-summarization-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nvidia/long-video-summarization-api/revisions/2ce997975112/schema)
