RTStream
Create RTStream scene index
Changed onpost/rtstream/{stream_id}/index/scene
Request
- Base URLhttps://api.videodb.io
- AuthAPI key in header x-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
stream_idstring required
Example:rts-12345
Request body
Example request
{
"extraction_type": "time",
"extraction_config": {
"time": 10,
"frame_count": 5
},
"prompt": "Describe the scene",
"model_name": "GPT4o",
"name": "My Scene Index",
"ws_connection_id": "conn-123"
}Response
Scene index created
Example response
{
"success": true,
"data": {
"rtstream_index_id": "scene-idx-12345",
"extraction_type": "time",
"status": "running",
"prompt": "Describe the scene",
"name": "My Scene Index"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking