RTStream
Create RTStream scene index
post/rtstream/{stream_id}/index/scene
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"
}
}