{"id":19963990,"url":"https://github.com/philippe2023/speech-ai","last_synced_at":"2025-03-01T17:12:52.177Z","repository":{"id":261493291,"uuid":"884474848","full_name":"philippe2023/speech-ai","owner":"philippe2023","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-07T12:59:50.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T08:21:17.806Z","etag":null,"topics":["deep-translator","elevenlabs","ffmpeg","pydub","python3","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philippe2023.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-11-06T20:21:46.000Z","updated_at":"2024-11-15T08:50:04.000Z","dependencies_parsed_at":"2024-11-06T21:31:43.556Z","dependency_job_id":"c4c274cf-79f1-4b79-a9d1-5495fde8906a","html_url":"https://github.com/philippe2023/speech-ai","commit_stats":null,"previous_names":["philippe2023/speech-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippe2023%2Fspeech-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippe2023%2Fspeech-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippe2023%2Fspeech-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippe2023%2Fspeech-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philippe2023","download_url":"https://codeload.github.com/philippe2023/speech-ai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241396777,"owners_count":19956408,"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":["deep-translator","elevenlabs","ffmpeg","pydub","python3","streamlit"],"created_at":"2024-11-13T02:18:23.287Z","updated_at":"2025-03-01T17:12:52.148Z","avatar_url":"https://github.com/philippe2023.png","language":"Python","readme":"# VoiceVerse\n\nVoiceVerse is a versatile application built with Streamlit, allowing users to experience advanced text-to-speech, translation, and conversational simulations. This app leverages the ElevenLabs API for high-quality voice synthesis and `deep-translator` for translation capabilities.\n\n## Features\n\n- **Text-to-Speech**: Enter text and listen to it spoken in different voices and languages.\n- **Translation**: Translate text between supported languages.\n- **Translate \u0026 Speak**: Translate text and generate audio in the translated language.\n- **Simulated Conversation**: Create a back-and-forth conversation between two people with different text inputs, voices, and languages.\n- **Merged Conversation Audio**: Simulate a conversation and merge both audio clips into a single file.\n\n## Project Structure\n\nThe application is organized as follows:\n\n```\napp/\n├── main.py                 # Main app file with sidebar navigation\n├── pages/\n│   ├── speech.py           # Page for basic text-to-speech\n│   ├── translator.py       # Page for translation\n│   ├── translator_plus.py  # Page for translation + TTS\n│   ├── convo.py            # Page for basic conversation simulation\n│   └── convo_merge.py      # Page for merged conversation audio\n└── config.py               # File for API keys and configuration\n```\n\n## Setup and Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd voiceverse\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Ensure you have `ffmpeg` installed on your system, as it is required by `pydub`:\n\n   - **macOS**: `brew install ffmpeg`\n   - **Ubuntu**: `sudo apt-get install ffmpeg`\n   - **Windows**: Download and add to system PATH from [ffmpeg.org](https://ffmpeg.org/download.html).\n\n4. Set up API keys:\n\n   - In `config.py`, add your ElevenLabs API key.\n\n## Usage\n\nTo start the app, run:\n\n```bash\nstreamlit run app/main.py\n```\n\nThen, use the sidebar to navigate through the different features.\n\n## Requirements\n\n- Streamlit\n- ElevenLabs Python API\n- deep-translator\n- pydub\n- ffmpeg (for audio processing)\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippe2023%2Fspeech-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilippe2023%2Fspeech-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippe2023%2Fspeech-ai/lists"}