{"id":16200859,"url":"https://github.com/observedobserver/openai-voice-actor","last_synced_at":"2025-10-16T14:45:44.459Z","repository":{"id":227690640,"uuid":"772144489","full_name":"ObservedObserver/openai-voice-actor","owner":"ObservedObserver","description":"Use openai voice API to create audio for videos","archived":false,"fork":false,"pushed_at":"2024-03-14T17:03:23.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T12:39:01.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ObservedObserver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2024-03-14T16:08:37.000Z","updated_at":"2025-01-28T04:07:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a5c8f43-0f40-4e43-acd8-8e9ddea271b9","html_url":"https://github.com/ObservedObserver/openai-voice-actor","commit_stats":null,"previous_names":["observedobserver/openai-voice-actor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ObservedObserver/openai-voice-actor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObservedObserver%2Fopenai-voice-actor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObservedObserver%2Fopenai-voice-actor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObservedObserver%2Fopenai-voice-actor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObservedObserver%2Fopenai-voice-actor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ObservedObserver","download_url":"https://codeload.github.com/ObservedObserver/openai-voice-actor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ObservedObserver%2Fopenai-voice-actor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279204917,"owners_count":26125852,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-10T09:34:33.361Z","updated_at":"2025-10-16T14:45:44.454Z","avatar_url":"https://github.com/ObservedObserver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openai-voice-actor\n\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://openai-voice-actor.streamlit.app/)\n\nThis repository contains a simple yet powerful tool for converting text scripts into voice narrations using OpenAI's GPT model. The application is built with Streamlit, allowing for an easy-to-use interface where users can input their text and generate voice narrations in MP3 format. Whether you're creating content, need assistance with reading, or exploring text-to-speech technologies, this tool is designed to be accessible and straightforward.\n\n## Features\n\n- **Text Input**: Users can input any text script into the provided text area.\n- **Voice Generation**: With the click of a button, the application generates a voice narration of the input text.\n- **MP3 Download**: Users can download the generated narration as an MP3 file.\n\n### TODOs\n- [ ] Generate .srt file for the generated audio\n- [ ] Ask AI to generate audio based on text draft\n- [ ] Add a feature to generate audio based on a video\n\n## Getting Started\n\nTo get started with the Text to Voice Converter, follow these steps:\n\n### Prerequisites\n\n- Python 3.9 or later\n- An OpenAI API key\n\n### Installation\n\n1. **Clone the Repository**\n\n2. **Set Up a Virtual Environment** (Optional but recommended)\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. **Install Dependencies**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Set Up Environment Variables**\n\n   Create a `.secrets.toml` file in the `.streamlit` directory of the project and add your OpenAI API key:\n\n   ```plaintext\n   OPENAI_API_KEY=your_openai_api_key_here\n   ```\n\n### Running the Application\n\nAfter completing the installation steps, you can run the application using Streamlit:\n\n```bash\nstreamlit run main.py\n```\n\nOpen the link provided by Streamlit in your web browser, and you'll be greeted with the Text to Voice Converter interface.\n\n### Using the Application\n\n1. **Enter Your Text**: Type or paste the text you want to convert into the text area.\n2. **Generate Voice**: Click the \"Generate Voice\" button to create the voice narration of your text.\n3. **Download MP3**: After the voice has been generated, a download button will appear. Click it to download the MP3 file to your device.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobservedobserver%2Fopenai-voice-actor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobservedobserver%2Fopenai-voice-actor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobservedobserver%2Fopenai-voice-actor/lists"}