{"id":23905589,"url":"https://github.com/dor-sketch/openai-tts","last_synced_at":"2026-06-27T08:30:18.646Z","repository":{"id":269320438,"uuid":"907048054","full_name":"Dor-sketch/OpenAI-TTS","owner":"Dor-sketch","description":"Convert text into natural, human-like speech using OpenAI's cutting-edge Text-to-Speech API.","archived":false,"fork":false,"pushed_at":"2024-12-22T17:15:50.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T01:15:21.390Z","etag":null,"topics":["html5","javascript","openai-api","openai-tts","text-to-speech","tts-api"],"latest_commit_sha":null,"homepage":"https://dorpascal.com/OpenAI-TTS/","language":null,"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/Dor-sketch.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-12-22T17:02:39.000Z","updated_at":"2024-12-22T17:17:27.000Z","dependencies_parsed_at":"2024-12-22T18:24:31.672Z","dependency_job_id":"5328e091-0fc6-498a-af09-071b49325039","html_url":"https://github.com/Dor-sketch/OpenAI-TTS","commit_stats":null,"previous_names":["dor-sketch/openai-tts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dor-sketch%2FOpenAI-TTS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dor-sketch%2FOpenAI-TTS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dor-sketch%2FOpenAI-TTS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dor-sketch%2FOpenAI-TTS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dor-sketch","download_url":"https://codeload.github.com/Dor-sketch/OpenAI-TTS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240317413,"owners_count":19782388,"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":["html5","javascript","openai-api","openai-tts","text-to-speech","tts-api"],"created_at":"2025-01-05T01:15:27.004Z","updated_at":"2026-06-27T08:30:18.603Z","avatar_url":"https://github.com/Dor-sketch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI-TTS 🌐 🎙️\n\n![GitHub last commit](https://img.shields.io/github/last-commit/Dor-sketch/OpenAI-TTS?color=blue)\n![GitHub repo size](https://img.shields.io/github/repo-size/Dor-sketch/OpenAI-TTS?color=green)\n![GitHub top language](https://img.shields.io/github/languages/top/Dor-sketch/OpenAI-TTS?color=yellow)\n[![GitHub Pages](https://img.shields.io/badge/GitHub-Pages-blue)](https://Dor-sketch.github.io/OpenAI-TTS/)\n![License](https://img.shields.io/github/license/Dor-sketch/OpenAI-TTS?color=orange)\n\n**OpenAI-TTS** is a web app that allows you to convert text into natural, human-like speech using OpenAI's cutting-edge Text-to-Speech API. It supports multiple voices, languages, and accents for a variety of use cases.\n\n---\n\n## 🚀 Features\n\n- **Multi-Language Support**: Convert text to speech in various languages.\n- **Voice Customization**: Choose from multiple voice options like Alloy, Echo, Fable, and more.\n- **Lightweight**: Optimized for fast and efficient use on modern browsers.\n- **Responsive Design**: Works seamlessly on desktops, tablets, and mobile devices.\n- **API Key Secure Input**: Protect your OpenAI API key with client-side processing.\n\n---\n\n## 🤖 Disclaimer\n\nThis project is for educational purposes only and is not affiliated with OpenAI. Use responsibly and ensure compliance with OpenAI's terms of service.\n\nPlease also note that the OpenAI API is a paid service, and you may incur charges based on your usage. The developers are not responsible for any costs associated with using the OpenAI API.\n\n---\n\n## 🌐 Live Demo\n\nCheck out the live demo here:\n[**OpenAI-TTS Web App**](https://dorpascal.com/OpenAI-TTS/)\n\n---\n\n## 🛠️ Installation\n\nFollow these steps to set up the project locally:\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/Dor-sketch/OpenAI-TTS.git\n   cd OpenAI-TTS\n   ```\n\n2. **Run the App**:\n\n   Open the `index.html` file in your browser or use a local server to run the app.\n\n   ```bash\n   # Using Python\n   python -m http.server 8000\n   ```\n\n   Open `http://localhost:8000` in your browser to view the app.\n\n---\n\n## 🚦 How to Use\n\n1. **Enter API Key**:\n   Copy your OpenAI API key from the [OpenAI dashboard](https://platform.openai.com/account/api-keys) and paste it into the API Key field in the app.\n\n2. **Enter Text**:\n   Type or paste the text you want to convert into the text area.\n\n3. **Select Voice**:\n   Choose one of the available voices (e.g., Alloy, Echo, Fable) from the dropdown menu. These voices are optimized for various styles and languages.\n\n4. **Click 'Convert to Speech'**:\n   The app will send the text and voice preferences to the OpenAI TTS API and generate a downloadable audio file.\n\n5. **Play \u0026 Download**:\n   Listen to the generated audio in the built-in player or download it for offline use.\n\n---\n\n## 🧩 About OpenAI TTS\n\nOpenAI TTS offers several advanced features:\n\n- **Multi-Language Support**: Convert text into natural-sounding speech in over 30 languages.\n- **Customizable Voices**: Choose from a range of expressive voices for specific use cases like audiobooks, tutorials, or accessibility tools.\n- **High-Quality Audio**: Uses AI models to generate clear and realistic audio output.\n\nFor details about pricing and API limits, visit the [OpenAI API documentation](https://platform.openai.com/docs).\n\n---\n\n## 💡 Troubleshooting\n\n### Common Issues\n\n1. **Invalid API Key**:\n   Ensure your API key is copied correctly and has the necessary permissions for text-to-speech.\n\n2. **API Limits Exceeded**:\n   Check your OpenAI usage and upgrade your account if needed.\n\n3. **Slow Conversion**:\n   Response times depend on the text length and server load. For optimal performance, try shorter texts or off-peak hours.\n\n4. **Browser Compatibility**:\n   Use modern browsers like Chrome, Firefox, or Edge for the best experience.\n\n---\n\n## 🌟 Support \u0026 Feedback\n\nIf you encounter issues or have feature requests, please open an issue in this repository or contact us via GitHub Discussions.\n\nDon’t forget to ⭐ the repository if you found this project useful!\n\n[![GitHub stars](https://img.shields.io/github/stars/Dor-sketch/OpenAI-TTS?style=social)](https://github.com/Dor-sketch/OpenAI-TTS)\n\n---\n\n## 📝 License\n\nThis project is licensed under the MIT License. For more information, see the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdor-sketch%2Fopenai-tts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdor-sketch%2Fopenai-tts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdor-sketch%2Fopenai-tts/lists"}