Skip to main content
Welcome to the Emby API reference documentation. Emby provides unified access to 70+ AI models through OpenAI-compatible and Anthropic-compatible REST APIs.

Base URLs

Emby supports two API formats:

OpenAI Format

https://dev.emby.ai/v1
Compatible with OpenAI SDKs and tools

Anthropic Format

https://dev.emby.ai/
Compatible with Anthropic SDKs and tools

Authentication

All API endpoints require authentication using one of these methods:
Authorization: Bearer YOUR_API_KEY
Get your API key from the Emby Dashboard.

Core Endpoints

Advanced Features

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://dev.emby.ai/v1",
    api_key="your-api-key"
)

response = client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Hello!"}]
)

Rate Limits

Rate limits vary by plan tier:
This is test Rate Limits
TierRequests/minTokens/minConcurrent
Basic6090K10
Pro300450K40
EnterpriseCustomCustomCustom

SDK Support

Emby is compatible with popular AI SDKs:
  • Python: openai, anthropic, langchain
  • JavaScript/TypeScript: openai, @anthropic-ai/sdk
  • Go: go-openai
  • Ruby: anthropic-rb
  • Rust: async-openai
  • Java: openai-java
  • C#: OpenAI-DotNet

Need Help?