Bold VideoDocs
Api

AI Ask Endpoint

Query video content using AI

The AI Ask endpoint allows you to query your video content using natural language.

Endpoint

POST /v1/ai/ask

Request Body

{
  "video_id": "vid_123456",
  "question": "What are the main topics discussed in this video?"
}

Parameters

ParameterTypeRequiredDescription
video_idstringYesThe ID of the video to query
questionstringYesNatural language question

Response

{
  "success": true,
  "data": {
    "answer": "The video discusses three main topics...",
    "confidence": 0.95,
    "timestamps": [
      { "start": 0, "end": 30, "topic": "Introduction" }
    ]
  }
}

Example

curl -X POST https://api.boldvideo.io/v1/ai/ask \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"video_id": "vid_123", "question": "Summarize this video"}'

On this page