---
title: "Get custom summary from media"
method: POST
path: "/1/vod/channel/{channel}/media/{media}/subtitle/{subtitle}/summarize"
tags: ["V2 > Subtitles"]
---

# Get custom summary from media

`POST /1/vod/channel/{channel}/media/{media}/subtitle/{subtitle}/summarize`

## Request

- Base URL: `https://api.infomaniak.com`
- URL: `https://api.infomaniak.com/1/vod/channel/{channel}/media/{media}/subtitle/{subtitle}/summarize`
- Auth: none declared

Get Summary from an existing subtitle with custom parameters

## Path parameters

- `channel` integer, required
- `media` integer, required
- `subtitle` integer, required

## Request body

- object
  - `generate_description` boolean: do we want a title to be generated
  - `generate_title` boolean: Do we want a description to be generated?
  - `max_chars_summary` integer: max characters per summaries
  - `n_generations` integer: desired number of generation

## Response `200`

OK

- Response
  - `result` 'success' | 'error' | 'asynchronous', required: Result of the HTTP request

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) - [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) - [OpenAPI document](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/revisions/96ca7c8a0545?raw)
