DAM: Files
Starts AI subtitle generation for a DAM file
Queues AI subtitle generation for a video or audio file, following the JSON:API recommendation for asynchronous processing. The response carries a Content-Location header with the URL of the generation; poll it until it stops answering 200 with a pending status. Requires AI subtitle generation to be enabled for the client.
post/dam/files/{file_id}/subtitle-generations
Request
- Base URLhttps://api.kontainer.com/jsonapi/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
file_idstring required
ID of File
Request body
Example request
{
"data": {
"type": "subtitle_generation",
"attributes": {
"languages": [
"da"
]
}
}
}Response
Generation queued
Example response
{
"data": {
"id": "17",
"type": "subtitle_generation",
"attributes": {
"status": "processing",
"languages": [
"da"
],
"created_at": "2026-10-14T10:00:00.000000Z",
"updated_at": "2026-10-14T10:00:00.000000Z"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.