{"id":22413393,"url":"https://github.com/rokid/tts-demo","last_synced_at":"2026-07-01T23:31:53.664Z","repository":{"id":95053348,"uuid":"115979952","full_name":"rokid/tts-demo","owner":"rokid","description":"tts服务对外接口调用demo","archived":false,"fork":false,"pushed_at":"2018-02-07T11:30:14.000Z","size":268,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T03:30:54.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/rokid.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":"2018-01-02T05:55:52.000Z","updated_at":"2018-01-03T09:56:39.000Z","dependencies_parsed_at":"2023-04-28T12:03:10.876Z","dependency_job_id":null,"html_url":"https://github.com/rokid/tts-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rokid/tts-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokid%2Ftts-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokid%2Ftts-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokid%2Ftts-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokid%2Ftts-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rokid","download_url":"https://codeload.github.com/rokid/tts-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokid%2Ftts-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35027340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"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-12-05T14:12:44.709Z","updated_at":"2026-07-01T23:31:53.658Z","avatar_url":"https://github.com/rokid.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tts-demo开发环境\n1. 开发IDE：intellij idea、maven\n2. 开发语言：java\n3. 协议：websocket、grpc\n\n# tts依赖的protobuf文件，这三个文件已放入demo中\n1. auth.proto\n2. speech_types.proto\n3. tts.proto\n\n# 使用protobuf文件生成java类\n1. 工程中的pom文件已配置protobuf生成java类插件\n2. 在terminal下首先执行mvn protobuf:compile，然后再执行mvn protobuf:compile-custom命令，执行成功后会在target目录下生成对应的java文件\n\n# tts说明\n1. 向tts服务发送一段文本，tts服务会返回该文本对应的语音流\n2. tts服务有一个认证过程，在第一次请求时会进行认证，开发者首先要在rokid云开放服务平台（https://developer.rokid.com/#/）创建一个虚拟的语音设备以获取对应的key、sercret、devicetype，只有拿到这些信息才能通过tts接口认证请求\n3. tts服务地址是 wss://apigwws.open.rokid.com/api","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokid%2Ftts-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frokid%2Ftts-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokid%2Ftts-demo/lists"}