Skip to main content
POST
OpenAI-compatible chat completions proxy
Generate AI-powered chat responses with awareness of your video content. This endpoint enables interactive conversations about videos in your collections, combining video intelligence with conversational AI.
  • Requires collection_id to specify which collection to search
  • Optional video_id to focus on a specific video
  • Supports multi-turn conversations by including message history in the messages array
  • Returns response in OpenAI-compatible format with choices array

Health Check

Verify API availability

Async Response

Poll async operation results

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Body

application/json
model
enum<string>
required
Available options:
gpt-4o-2024-11-20
Example:

"gpt-4o-2024-11-20"

messages
object[]
required
max_tokens
integer
Example:

100

temperature
number
Example:

0.7

stream
boolean
Example:

false

Response

200 - application/json

Chat completion response

id
string
Example:

"chatcmpl-123"

object
string
Example:

"chat.completion"

created
integer
Example:

1677652288

model
string
Example:

"gpt-4o-2024-11-20"

choices
object[]
usage
object