v1
latestOpenAPI 3.1.02026-07-17122076.0 KBStream
Start stream captioning
Fire-and-forget: kicks off VLM captioning on RTVI for a stream that was previously added via RTVI stream/add. Returns immediately once RTVI acknowledges the request.
post/v1/generate_captions
Request body
Example request
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"model": "cosmos-reason1",
"prompt": "Write a concise and clear dense caption for the provided video",
"chunk_duration": 60,
"chunk_overlap_duration": 10,
"max_tokens": 512,
"temperature": 0.2,
"top_p": 1,
"top_k": 100,
"seed": 10,
"vlm_input_width": 256,
"vlm_input_height": 256
}Response
Captioning started.
Example response
{
"status": "accepted"
}