Add Perso AI dubbing/translation API docs (Python & JavaScript)#143
Open
mingyun-jeong wants to merge 1 commit intoandrewyng:mainfrom
Open
Add Perso AI dubbing/translation API docs (Python & JavaScript)#143mingyun-jeong wants to merge 1 commit intoandrewyng:mainfrom
mingyun-jeong wants to merge 1 commit intoandrewyng:mainfrom
Conversation
Author
|
@rohitprasad15 Hello! Just a quick follow-up on this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add Perso AI video/audio dubbing and translation REST API documentation for Python and JavaScript/TypeScript.
Includes two
DOC.mdfiles undercontent/perso/docs/perso-api/:python/DOC.md— Python guide usingrequestsjavascript/DOC.md— JavaScript/TypeScript guide usingfetchreferences/endpoints-detail.md— Detailed endpoint reference tablereferences/error-codes.md— Error code referenceWhy
Perso AI provides a REST API for AI-powered video/audio dubbing and translation (upload, translate, lip-sync, download). There is currently no community-contributed documentation for this API in context-hub. These docs cover the full workflow (file upload via Azure SAS tokens, translation, progress polling, download) along with editing, lip sync, usage/quota, and community spotlight endpoints.
Testing
npm testpasseschub build sample-content/ --validate-onlysucceedsname,description,metadatawithlanguages,versions,revision,updated-on,source,tags)Notes
requestsvs JavaScriptfetch).https://perso.ai(Service Domain) rather than the API base URL.PUT /file/api/upload/video/external,POST /file/api/v1/video-translator/external/metadata) use snake_case request bodies; this is explicitly called out in the docs.