- Add languages to an existing asset
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.
Once the process is complete, you will be notified via email and the callback URL, if configured.
- https://api.panjaya.aihttps://api.panjaya.ai/v1/assets/{asset_id}/languages
{ "languages": [ { … } ], "auto_generate": "off" }
Languages added successfully
A locale code of a supported locale. If the locale is not supported, an error response of status 400 will be returned.
Duration of the source video in seconds. The field may be null while the asset is processing.
In case of an error while processing the asset, the asset status will be Failed, and this field contains helpful information for identifying the issue.
The uploaded video before dubbing
A poster/thumbnail image for the asset, suitable for link previews. May be null while the asset is processing.
{ "asset_id": "7b9b9e3c3c7e322aec4c3d9b", "name": "My Asset", "locale": "en-US", "created_at": "2021-08-10T12:00:00Z", "status": "Dubbing", "duration": 123.45, "languages": [ { … }, { … } ] }