Skip to main content

Studio REST API

Base URL: https://livepeer.studio/api Authentication: Authorization: Bearer <api-key> OpenAPI spec: Available at https://livepeer.studio/api-reference (interactive) and as a downloadable JSON spec from the Studio dashboard under Developer > API Reference.

Resource endpoints

Rate limits

Rate limits are per API key and visible in the Studio dashboard under Settings > API Keys. The default limits for the Growth tier are sufficient for most production applications. Contact support for Enterprise rate limit increases.

AI Gateway API

Base URL (Studio-managed, production): https://livepeer.studio/api/beta/generate Base URL (public, non-production): https://dream-gateway.livepeer.cloud Authentication: Authorization: Bearer <api-key> (same Studio API key) Content type: application/json for text payloads; multipart/form-data for file uploads (image-to-image, upscale, segment-anything-2, audio-to-text, image-to-text)

Inference endpoints

Common response shape

All image-output pipelines return:
{
  "images": [
    {
      "url": "https://...",
      "seed": 42,
      "nsfw": false
    }
  ]
}
Text pipelines (llm, audio-to-text, image-to-text) return:
{ "text": "..." }
The LLM pipeline returns an OpenAI-compatible choices array in addition to the text field.

OpenAPI spec

The AI Gateway OpenAPI spec is generated from the ai-runner repository via gen_openapi.py and output as openapi_gateway.json. The spec is used to auto-generate all three AI SDK language variants. The live interactive reference for the AI API is mounted in the Gateways tab documentation at /v2/gateways/resources/reference/technical/api-reference/AI-API/ai.

SDKs

Official SDK packages for TypeScript, Python, Go, and React.

SDK Integration Guide

Full examples, error handling, and retry configuration.

AI Authentication

API key types and how to use them correctly.
Last modified on April 7, 2026