{"id":19815979,"url":"https://github.com/replicate/cog-hierspeechpp","last_synced_at":"2025-10-13T23:23:28.124Z","repository":{"id":212504298,"uuid":"731610923","full_name":"replicate/cog-HierSpeechpp","owner":"replicate","description":"Cog wrapper for HierSpeech++","archived":false,"fork":false,"pushed_at":"2023-12-14T14:03:48.000Z","size":317,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T02:50:38.379Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/replicate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-14T13:20:27.000Z","updated_at":"2023-12-16T01:56:22.000Z","dependencies_parsed_at":"2023-12-14T16:28:10.511Z","dependency_job_id":"16cec5e8-b73b-4088-b732-02cd763f30af","html_url":"https://github.com/replicate/cog-HierSpeechpp","commit_stats":null,"previous_names":["replicate/cog-hierspeechpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/replicate/cog-HierSpeechpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcog-HierSpeechpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcog-HierSpeechpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcog-HierSpeechpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcog-HierSpeechpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replicate","download_url":"https://codeload.github.com/replicate/cog-HierSpeechpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcog-HierSpeechpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017243,"owners_count":26086015,"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-13T02:00:06.723Z","response_time":61,"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-11-12T10:07:56.064Z","updated_at":"2025-10-13T23:23:28.087Z","avatar_url":"https://github.com/replicate.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cog wrapper for HierSpeech++\n\nA Cog wrapper for HierSpeech++, a text-to-speech model that can generate speech from text and a target voice for zero-shot speech synthesis. See the original [repository](https://github.com/sh-lee-prml/HierSpeechpp), [paper](https://arxiv.org/abs/2311.12454) and [Replicate demo](https://replicate.com/adirik/hierspeechpp) for details.\n\n## API Usage\nYou need to have Cog and Docker installed to run this model locally. Follow the [model pushing guide](https://replicate.com/docs/guides/push-a-model) to push your own fork of HierSpeech++ to [Replicate](https://replicate.com).\nTo use the model, simply provide the text you would like to generate speech and a sound file of your target voice as input. Optionally provide a reference speech (.mp3 or .wav) instead of text to parse speech content. The API returns an .mp3 file with generated speech.\n\nTo build the docker image with cog and run a prediction:\n```bash\ncog predict -i input_text=\"This is a zero-shot text to speech model.\" -i target_voice=@examples/reference_1.wav\n```\n\nTo start a server and send requests to your locally or remotely deployed API:\n```bash\ncog run -p 5000 python -m cog.server.http\n```\n\nInput parameters are as follows:  \n- **input_text:** (optional) text input to the model. If provided, it will be used for the speech content of the output.\n- **input_sound:** (optional) sound input to the model. If provided, it will be used for the speech content of the output..  \n- **target_voice:** a voice clip containing the speaker to synthesize.\n- **denoise_ratio:** noise control. 0 means no noise reduction, 1 means maximum noise reduction. If noise reduction is desired, it is recommended to set this value to 0.6~0.8.  \n- **text_to_vector_temperature:** temperature for text-to-vector model. Larger value corresponds to slightly more random output.\n- **output_sample_rate:** sample rate of the output audio file.\n- **scale_output_volume:** scale normalization. If set to true, the output audio will be scaled according to the input sound if provided.\n- **seed:** random seed to use for reproducibility.\n\n\n## References \n```\n@article{Lee2023HierSpeechBT,\n  title={HierSpeech++: Bridging the Gap between Semantic and Acoustic Representation of Speech by Hierarchical Variational Inference for Zero-shot Speech Synthesis},\n  author={Sang-Hoon Lee and Haram Choi and Seung-Bin Kim and Seong-Whan Lee},\n  journal={ArXiv},\n  year={2023},\n  volume={abs/2311.12454},\n  url={https://api.semanticscholar.org/CorpusID:265308903}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fcog-hierspeechpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplicate%2Fcog-hierspeechpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fcog-hierspeechpp/lists"}