Send short video clips alongside text on the OpenAI Chat Completions surface.
Endpoints
| Endpoint | Video |
|---|
POST /v1/chat/completions | ✓ |
POST /policy/chat/completions | ✓ |
POST /v1/messages | |
POST /v1/responses | |
Limits
| Limit | Value |
|---|
| Max duration | 30 seconds |
| Max raw file size | 14 MB |
| Accepted MIME types | video/mp4, video/webm, video/quicktime (.mov) |
OpenAI Chat Completions
Use a video_url content part with either a data: URL (base64-inlined) or a public HTTPS URL.
curl -s https://api.abliteration.ai/v1/chat/completions \
-H "Authorization: Bearer $ABLIT_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "abliterated-model",
"max_tokens": 256,
"messages": [{
"role": "user",
"content": [
{ "type": "text", "text": "What happens in this clip?" },
{
"type": "video_url",
"video_url": {
"url": "data:video/mp4;base64,AAAA..."
}
}
]
}]
}'
For HTTPS URLs:
{
"type": "video_url",
"video_url": { "url": "https://example.com/clip.mp4" }
}
Notes
- Need a higher size or duration ceiling for your use case? Reach out via the console.
Last modified on May 3, 2026