{"items":[{"type":"group","fsPath":"guides/index.md","metadata":{"type":"markdown"},"label":"Getting started","link":"/guides","routeSlug":"/guides"},{"type":"group","fsPath":"apis/index.json","link":"/apis","routeSlug":"/apis","label":"API Reference","items":[{"type":"link","label":"Authentication","link":"/apis/section/authentication","routeSlug":"/apis/section/authentication"},{"type":"link","label":"Languages support","link":"/apis/section/languages-support","routeSlug":"/apis/section/languages-support"},{"type":"link","label":"Error codes","link":"/apis/section/error-codes","routeSlug":"/apis/section/error-codes"},{"type":"group","label":"Assets","link":"/apis/assets","routeSlug":"/apis/assets","items":[{"label":"Get assets","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/assets/assets-get_assets","routeSlug":"/apis/assets/assets-get_assets","metadata":{"seo":{"title":"Get assets","description":"Get a paginated list of your assets."}},"httpPath":"/v1/assets/"},{"label":"Creating a new asset","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/assets/assets-create_asset","routeSlug":"/apis/assets/assets-create_asset","metadata":{"seo":{"title":"Creating a new asset","description":"Creating an asset is the first step to dubbing your video with Panjaya Dubbing Studio.This endpoint allows you to:"}},"httpPath":"/v1/assets/"},{"label":"Uploading a new asset","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/assets/assets-upload_asset","routeSlug":"/apis/assets/assets-upload_asset","metadata":{"seo":{"title":"Uploading a new asset","description":"Upload an asset video file directly to Panjaya Dubbing Studio."}},"httpPath":"/v1/assets/upload"},{"label":"Get an asset","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/assets/assets-get_asset","routeSlug":"/apis/assets/assets-get_asset","metadata":{"seo":{"title":"Get an asset","description":"After creating an asset - either through the Panjaya Dubbing Studio API or by uploading it via thePanjaya Dubbing Studio web interface - you can easily fetch detailed information about the asset by specifying its asset ID."}},"httpPath":"/v1/assets/{asset_id}"},{"label":"Add languages to an existing asset","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/assets/assets-add_languages","routeSlug":"/apis/assets/assets-add_languages","metadata":{"seo":{"title":"Add languages to an existing asset","description":"With this endpoint, you can add new languages to an existing asset. Once you make the request, Panjaya will initiate a new dubbing process for each added language."}},"httpPath":"/v1/assets/{asset_id}/languages"}]},{"type":"group","label":"Versions","link":"/apis/versions","routeSlug":"/apis/versions","items":[{"label":"Get a dubbing version","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/versions/versions-get_version","routeSlug":"/apis/versions/versions-get_version","metadata":{"seo":{"title":"Get a dubbing version","description":"Retrieve detailed information about a specific dubbing version by providing its unique Version ID."}},"httpPath":"/v1/versions/{version_id}"},{"label":"Revise version","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/versions/versions-revise_version","routeSlug":"/apis/versions/versions-revise_version","metadata":{"seo":{"title":"Revise version","description":"Revert a generated dubbing version to editing mode in the Panjaya Dubbing Studio."}},"httpPath":"/v1/versions/{version_id}/revise"},{"label":"Generate version","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/versions/versions-generate_version","routeSlug":"/apis/versions/versions-generate_version","metadata":{"seo":{"title":"Generate version","description":"Initiate the generation process for a dubbing version. Once the process is complete,and you'll receive notifications via email or a callback URL, if configured (see below). Your final video willthen be available for download."}},"httpPath":"/v1/versions/{version_id}/generate"},{"label":"Create a signed URL for version","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/versions/versions-get_studio_url_for_version","routeSlug":"/apis/versions/versions-get_studio_url_for_version","metadata":{"seo":{"title":"Create a signed URL for version","description":"Create a URL that allows anyone with the link to access the Panjaya Dubbing Studio for a specific dubbing version."}},"httpPath":"/v1/versions/{version_id}/studio_url"},{"label":"Get a version's subtitles","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/versions/versions-get_version_srt","routeSlug":"/apis/versions/versions-get_version_srt","metadata":{"seo":{"title":"Get a version's subtitles","description":"Fetch the current version's source transcript or target translation, formatted as an SRT file."}},"httpPath":"/v1/versions/{version_id}/srt"}]},{"type":"group","label":"Callbacks","link":"/apis/callbacks","routeSlug":"/apis/callbacks","items":[{"label":"Receiving Status Updates","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/callbacks/callback_callback_post","routeSlug":"/apis/callbacks/callback_callback_post","metadata":{"seo":{"title":"Receiving Status Updates","description":"To stay informed about the progress of dubbing processes, you can configure a callback URL."}},"httpPath":"/callback"}]},{"type":"group","label":"Voices","link":"/apis/voices","routeSlug":"/apis/voices","items":[{"label":"Get Voices","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/voices/voices-get_voices","routeSlug":"/apis/voices/voices-get_voices","metadata":{"seo":{"title":"Get Voices","description":"List the library voices available for voice-over. Use a voice's library_id as a language's voice_over_library_id in the create-asset request."}},"httpPath":"/v1/voices"}]}],"metadata":{"type":"openapi","title":"Panjaya Dubbing Studio API","version":"","description":"\n## Authentication\n\nTo authenticate with the API, you will need to provide your API key in the Authorization header of each request.\n\nIt should look like this:\n\n```http\nAuthorization: Bearer panjaya-{YOUR_API_KEY}\n```\n\n## Languages support\nBelow is a list of supported languages and their corresponding locale codes that are used in Panjaya Dubbing Studio API.\nPlease note that some languages are marked as source languages only, meaning they can only be used as the source language\nof the uploaded videos, while some are marked as target languages only - meaning they can only be translated into.\n\n| Language           | Locale code | Source supported | Target supported |\n|--------------------|-------------|------------------|------------------|\n| Arabic             | ar-AE       | ✅               | ✅               |\r\n| Bulgarian          | bg-BG       | ✅               | ✅               |\r\n| Cantonese          | yue-CN      | ✅               | ✅               |\r\n| Chinese            | zh-CN       | ✅               | ✅               |\r\n| Croatian           | hr-HR       | ✅               | ✅               |\r\n| Czech              | cs-CZ       | ✅               | ✅               |\r\n| Danish             | da-DK       | ✅               | ✅               |\r\n| Dutch              | nl-NL       | ✅               | ✅               |\r\n| English            | en-US       | ✅               | ✅               |\r\n| Filipino           | fil-PH      | ✅               | ✅               |\r\n| Finnish            | fi-FI       | ✅               | ✅               |\r\n| French             | fr-FR       | ✅               | ✅               |\r\n| German             | de-DE       | ✅               | ✅               |\r\n| Greek              | el-GR       | ✅               | ✅               |\r\n| Hebrew             | he-IL       | ✅               | 🚫               |\r\n| Hindi              | hi-IN       | ✅               | ✅               |\r\n| Hungarian          | hu-HU       | ✅               | ✅               |\r\n| Indonesian         | id-ID       | ✅               | ✅               |\r\n| Italian            | it-IT       | ✅               | ✅               |\r\n| Japanese           | ja-JP       | ✅               | ✅               |\r\n| Korean             | ko-KR       | ✅               | ✅               |\r\n| Lithuanian         | lt-LT       | ✅               | ✅               |\r\n| Malay              | ms-MY       | ✅               | ✅               |\r\n| Norwegian          | nb-NO       | ✅               | ✅               |\r\n| Polish             | pl-PL       | ✅               | ✅               |\r\n| Portuguese         | pt-BR       | ✅               | ✅               |\r\n| Portuguese         | pt-PT       | ✅               | ✅               |\r\n| Romanian           | ro-RO       | ✅               | ✅               |\r\n| Russian            | ru-RU       | ✅               | ✅               |\r\n| Slovak             | sk-SK       | ✅               | ✅               |\r\n| Spanish            | es-ES       | ✅               | ✅               |\r\n| Spanish            | es-MX       | ✅               | ✅               |\r\n| Swedish            | sv-SE       | ✅               | ✅               |\r\n| Tamil              | ta-IN       | ✅               | ✅               |\r\n| Thai               | th-TH       | 🚫               | ✅               |\r\n| Turkish            | tr-TR       | ✅               | ✅               |\r\n| Ukrainian          | uk-UA       | ✅               | ✅               |\r\n| Urdu               | ur-IN       | ✅               | 🚫               |\r\n| Vietnamese         | vi-VN       | ✅               | ✅               |\r\n\n\n## Error codes\nPanjaya Dubbing Studio API uses standard HTTP status codes to indicate the success or failure of an API request.\nIn case of an error, the response body will include a detailed error message to help you identify and resolve the issue.\n\nHere is a list of erroneous HTTP status codes and their general meanings:\n- **401 Unauthorized**: The API key could not be validated\n- **400 Bad Request**: The request could not be processed due to invalid input\n- **403 Forbidden**: The request could not be completed due to account limitations\n- **404 Not Found**: The requested resource was not found\n- **429 Too Many Requests**: Too many requests\n- **500 Internal Server Error**: An internal server error occurred"}}]}