{"id":24614120,"url":"https://github.com/adiksondev/youtranslate","last_synced_at":"2025-05-07T00:06:07.103Z","repository":{"id":184543193,"uuid":"672073689","full_name":"AdiKsOnDev/YouTranslate","owner":"AdiKsOnDev","description":"Takes a youtube video, clones the voice and re-creates that video in a different language","archived":false,"fork":false,"pushed_at":"2024-02-26T05:16:10.000Z","size":32066,"stargazers_count":107,"open_issues_count":5,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T00:05:37.331Z","etag":null,"topics":["ai","collaborate","elevenlabs-api","github","localization-tool","translation","voice-cloning","voice-recognition","youtube"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdiKsOnDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-28T21:17:22.000Z","updated_at":"2025-04-15T21:46:45.000Z","dependencies_parsed_at":"2023-11-06T09:48:13.051Z","dependency_job_id":"2fac24fd-36ad-47b8-81bb-533dda4bb2e5","html_url":"https://github.com/AdiKsOnDev/YouTranslate","commit_stats":null,"previous_names":["adiksondev/translatoryoutuber","adiksondev/youtranslate"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2FYouTranslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2FYouTranslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2FYouTranslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2FYouTranslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdiKsOnDev","download_url":"https://codeload.github.com/AdiKsOnDev/YouTranslate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788521,"owners_count":21804285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","collaborate","elevenlabs-api","github","localization-tool","translation","voice-cloning","voice-recognition","youtube"],"created_at":"2025-01-24T21:15:05.759Z","updated_at":"2025-05-07T00:06:07.083Z","avatar_url":"https://github.com/AdiKsOnDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003cimg width=\"100%\" src=\"https://github.com/AdiKsOnDev/YouTranslate/blob/main/Assets/logo.jpg\" alt=\"Logo\"/\u003e\n\u003c/p\u003e\n\u003chr\u003e\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/AdiKsOnDev/YouTranslate)\n\nYouTranslate is a Python script that allows you to create multilingual YouTube videos by cloning the voice of the video's author and translating the video's transcript to a different language. The script then performs a voice-over using the translated script and cloned voice, enabling you to reach a broader audience by offering content in multiple languages!\n\n## :open_file_folder: Installation\n\n1. Go to the most recent production-ready release and install the zip with the source code\n2. Ensure you have Python 3.11+ installed on your system.\n3. Install the required dependencies by running the following command:\n\n```bash\npip install -r requirements.txt\n```\n\n## :exclamation: Prerequisites\n\nTo use YouTranslate, you will need the following:\n\n- An API Key for the ElevenLab's speech synthesis (See [ElevenLabs API](https://docs.elevenlabs.io/api-reference/quick-start/introduction))\n- A YouTube video URL for which you want to create a multilingual version.\n\n## :scroll: Usage\n\n1. Run the Script:\n   - Create a `.env` file and write `API_KEY = \"Your elevenlabs api key\"` in it\n   - Open your terminal or command prompt.\n   - Execute the following command:\n\n```bash\npython main.py\n```\n\n2. Review the Output:\n   - The script will process the video, clone the voice, translate the transcript, and generate the final multilingual version.\n   - After completion, you will find the multilingual video file in the `videos/` directory (`Final_Video.mp4`).\n   - Add background sounds, polish the video. (If you are the author of the original video and you still have the video's assets on your computer)\n   - Don't forget that the voice synthesis is not able to copy original author's pacing. You will have to edit the video to make it as good as possible\n\n3. Upload to YouTube:\n   - Upload the generated `Final_Video.mp4` to your YouTube channel and publish it to reach a wider audience.\n\n## :question: How It Works\n\nYouTranslate utilizes ElevenLabs' voice cloning API and 'googletrans' python library to create multilingual YouTube videos. The steps involved are as follows:\n\n1. Getting the video and Cloning the voice:\n   - The script uses voice cloning technology to clone the voice of the video's author, based on the `sample.mp3` file (Original audio track from the video)\n\n2. Transcript Translation:\n   - The script leverages googletrans library to translate the script to the languages that ElevenLabs' API supports\n\n3. Voice-Over and Video Generation:\n   - The translated transcript is combined with the voice-over to create the final multilingual video, `Final_Video.mp4`.\n\n## :medical_symbol: Contributing\n\nContributions to YouTranslate are welcome! If you find any issues or want to improve the script, feel free to submit a pull request. For major changes or new features, please open an issue first to discuss the proposed changes.\n\nFor more info, check out [**CONTRIBUTING.md**](./docs/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadiksondev%2Fyoutranslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadiksondev%2Fyoutranslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadiksondev%2Fyoutranslate/lists"}