LLM Broker Video API
The Video API from LLM Broker — 3 operation(s) for video.
The Video API from LLM Broker — 3 operation(s) for video.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/llm-broker-net:llm-broker-net-video-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'One OpenAI-compatible key for our own models and the market; each request is routed to the cheapest offer that meets its `routing` criteria. The `/v1/...` prefix is an alias of `/api/v1/...`. Docs: https://llm-broker.net/llms.txt'
title: LLM Broker Video API
version: 1.0.0
servers:
- url: https://api.llm-broker.net
variables: {}
security: []
tags:
- name: Video
paths:
/api/v1/videos:
post:
callbacks: {}
deprecated: false
description: 'Returns a job `id`; poll `GET /api/v1/videos/{id}`, download `GET /api/v1/videos/{id}/content`. Models and price per second: `GET /api/v1/broker/models?type=video`.'
operationId: createVideo
parameters: []
requestBody:
content:
application/json:
schema:
properties:
input_reference:
description: Optional start image
type: string
model:
type: string
prompt:
type: string
seconds:
type: integer
size:
example: 1280x720
type: string
required:
- model
- prompt
type: object
required: true
responses:
'202':
content:
application/json:
schema:
type: object
description: Video job queued
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Invalid request
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Missing or invalid API key
'402':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Insufficient balance
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Rate limit
'502':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: The video could not be queued; retry later
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Billing check temporarily unavailable; retry later
security:
- apiKeyAuth: []
summary: Create a video (OpenAI video API shape, asynchronous)
tags:
- Video
/api/v1/videos/{id}:
get:
callbacks: {}
deprecated: false
operationId: getVideo
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
type: object
description: Video job
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Missing or invalid API key
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Unknown video
security:
- apiKeyAuth: []
summary: Video job status
tags:
- Video
/api/v1/videos/{id}/content:
get:
callbacks: {}
deprecated: false
operationId: getVideoContent
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
video/mp4:
schema:
format: binary
type: string
description: MP4
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Missing or invalid API key
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Unknown video
'409':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Not finished yet
'410':
content:
application/json:
schema:
$ref: '#/components/schemas/BrokerError'
description: Content is kept for 7 days
security:
- apiKeyAuth: []
summary: Download the finished video (MP4)
tags:
- Video
components:
schemas:
BrokerError:
properties:
error:
properties:
code:
example: invalid_request
type: string
message:
type: string
param:
description: The offending field, if any
type:
- string
- 'null'
request_id:
description: Quote it when contacting support
type:
- string
- 'null'
type:
description: invalid_request_error | authentication_error | rate_limit_error | server_error …
example: invalid_request_error
type: string
required:
- message
- type
- code
type: object
required:
- error
title: BrokerError
type: object
securitySchemes:
apiKeyAuth:
description: 'API key as Bearer token: customer keys `ast_sk_…` (account page or POST /api/v1/broker/accounts); internal/CLI keys `acore_…` (legacy `mgpt_…` still accepted)'
in: header
name: Authorization
type: apiKey
bearerAuth:
bearerFormat: JWT
description: JWT access token obtained via POST /auth/login
scheme: bearer
type: http