Summary
The alugha API lets you programmatically create videos, read tracks, and manage assets on alugha — so you can integrate multilingual video into your own tech stack. The API follows the OpenAPI 3.1 standard, uses Bearer token authentication, and is available on the Enterprise plan as an add-on.
Prerequisites
Before you begin:
- An alugha account with API access enabled (included with Enterprise, available as an add-on on paid plans – contact sales).
- Command-line familiarity (or any HTTP client, SDK, or automation tool of your choice).
- Enough credits in your wallet if you plan to trigger AI actions via the API – API calls that create videos or run AI consume the same credits as the dubbr.
Base URL and authentication
All API requests go to the base URL:
https://alugha.com/v2Authentication uses Bearer tokens. Generate an API token from your account’s API settings page, then pass it as the Authorization header on every request:
Authorization: Bearer YOUR_API_TOKENWhen creating a token, select the scopes (permissions) the token needs. Requests without sufficient scopes return 403 Forbidden.
Your first API call
Read an asset by ID. Replace __ID__ with an actual asset UUID and YOUR_API_TOKEN with your token:
curl --request GET \
--url https://alugha.com/v2/assets/__ID__ \
--header "Authorization: Bearer YOUR_API_TOKEN"A successful response looks like this:
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"created": "2026-04-16T08:55:34.342Z",
"modified": "2026-04-16T08:55:34.342Z",
"type": "video",
"ownerId": "123e4567-e89b-12d3-a456-426614174000"
}Core resources: Assets, Tracks, Videos
The API has three main resource types that mirror the alugha data model:
- Assets — abstract files. An image asset can contain multiple image files at different resolutions; a video asset contains video files, thumbnails, and audio files. These files are called representations.
- Tracks — language-specific content of a video. Each language gets its own track with its own title, description, tags, and subtitle/dubbing segments.
- Videos — the main resource. A video groups one or more assets with one or more tracks (the multilingual layer).
Asset endpoints
GET /assets/{id}— read an asset by ID (returns id, type, ownerId, timestamps).
Track endpoints
GET /tracks— list tracks of a video.GET /tracks/{id}— read a track by ID.
Video endpoints
POST /videos— create a new video.GET /videos/{id}