{"id":20786068,"url":"https://github.com/thomassuedbroecker/watson-tts-invocation","last_synced_at":"2026-05-04T17:32:38.701Z","repository":{"id":127030673,"uuid":"568706929","full_name":"thomassuedbroecker/watson-tts-invocation","owner":"thomassuedbroecker","description":"This project contains a bash script automation example for the IBM Cloud Watson Test to Speech service.","archived":false,"fork":false,"pushed_at":"2022-12-07T08:32:06.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T09:52:50.204Z","etag":null,"topics":["bash","curl","ibmcloudcli","watson-text-to-speech"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/thomassuedbroecker.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":"2022-11-21T08:38:32.000Z","updated_at":"2022-12-02T18:48:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ee7ca12-3db4-436a-b347-be7bd7ab9bfb","html_url":"https://github.com/thomassuedbroecker/watson-tts-invocation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomassuedbroecker%2Fwatson-tts-invocation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomassuedbroecker%2Fwatson-tts-invocation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomassuedbroecker%2Fwatson-tts-invocation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomassuedbroecker%2Fwatson-tts-invocation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomassuedbroecker","download_url":"https://codeload.github.com/thomassuedbroecker/watson-tts-invocation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243129841,"owners_count":20241074,"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":["bash","curl","ibmcloudcli","watson-text-to-speech"],"created_at":"2024-11-17T14:50:29.879Z","updated_at":"2026-05-04T17:32:33.681Z","avatar_url":"https://github.com/thomassuedbroecker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Watson STT invocation\n\nThis project contains a bash script automation example for the IBM Cloud Watson Test to Speech service.\n\nThe automation contains two flows:\n\n1. Basic usage to create a german audio based given text in a wav format\n2. Customization of an existing voice model to speak german with a kind of palatinate dialect. Just for fun ;-) \n\n### Prerequsites\n\n* [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cli-getting-started) installed\n* A [Watson Text to Speech](https://cloud.ibm.com/apidocs/text-to-speech#introduction) service with an [Plus plan](https://cloud.ibm.com/docs/billing-usage?topic=billing-usage-changing\u0026interface=ui) is created.\n* Install the cURL command line on the local computer\n\nJust execute following steps to run the example.\n\n### Step 1: Clone the project\n\n```sh\ngit clone https://github.com/thomassuedbroecker/watson-tts-invocation\ncd watson-tts-invocation\n```\n\n### Step 2: Configure the `.env` file\n\n```sh\ncp ./code/.env-template ./code/.env\n```\n\n### Step 3: Set the correct values in the `.env` file\n\n* [Create an IBM Cloud APIKEY](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=servers-creating-cloud-api-key)\n\n```sh\nROOTFOLDER=\"YOUR_PATH\"\nRESOURCE_GROUP=\"default\"\nREGION=\"us-south\"\nAPIKEY=\"YOUR_IBMCLOUD_APIKEY\"\nS2T_SERVICE_INSTANCE_NAME=\"YOUR_TTS_SERVICE_NAME\"\n```\n\n### Step 4: Invoke the bash automation\n\n```sh\nsh code/use-test-to-speech.sh\n```\n\n* Example output\n\n```sh\n#*******************\n# Customization flow\n#*******************\n#------------------\n# Create a custom model with custom words\n#------------------\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100   142  100    61  100    81     36     48  0:00:01  0:00:01 --:--:--    85\n\ncustomization_id: {\"customization_id\": \"a31ab5a3-8dc2-41fb-a70d-e3f7719eba0b\"}\n{\"customizations\": [{\n   \"owner\": \"1539e1d6-4c73-4bb7-8978-6629216943a0\",\n   \"customization_id\": \"a31ab5a3-8dc2-41fb-a70d-e3f7719eba0b\",\n   \"created\": \"2022-12-02T17:52:09.247Z\",\n   \"name\": \"Pfaelzer-1\",\n   \"description\": \"Pfaelzer-1-demo\",\n   \"language\": \"de-DE\",\n   \"last_modified\": \"2022-12-02T17:52:09.247Z\"\n}]}{}{\"words\": [\n   {\n      \"translation\": \"isch\",\n      \"word\": \"ich\"\n   },\n   {\n      \"translation\": \"isch\",\n      \"word\": \"Ich\"\n   },\n   {\n      \"translation\": \"babbel\",\n      \"word\": \"rede\"\n   },\n   {\n      \"translation\": \"än\",\n      \"word\": \"ein\"\n   },\n   {\n      \"translation\": \"kumm\",\n      \"word\": \"komme\"\n   },\n   {\n      \"translation\": \"dää\",\n      \"word\": \"der\"\n   },\n   {\n      \"translation\": \"Pallz\",\n      \"word\": \"Pfalz\"\n   },\n   {\n      \"translation\": \"Pällzer\",\n      \"word\": \"Pfälzer\"\n   }\n]}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  145k    0  145k  100    70  94515     44  0:00:01  0:00:01 --:--:-- 95184\n#------------------\n# Verify the audio on your computer\n# /... tts-invocation/code/pfaelzer_custom.wav\n#------------------\n#*******************\n# Basic flow\n#*******************\n{\n   \"name\": \"de-DE_DieterV3Voice\",\n   \"language\": \"de-DE\",\n   \"gender\": \"male\",\n   \"description\": \"Dieter: Standard German (Standarddeutsch) male voice. Dnn technology.\",\n   \"customizable\": true,\n   \"supported_features\": {\n      \"custom_pronunciation\": true,\n      \"voice_transformation\": false\n   },\n   \"url\": \"https://api.us-south.text-to-speech.watson.cloud.ibm.com/instances/1539e1d6-4c73-4bb7-8978-6629216943a0/v1/voices/de-DE_DieterV3Voice\"\n}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  141k    0  141k  100    70  95367     46  0:00:01  0:00:01 --:--:-- 95965\n```\n### Additional information\n\nList of used API calls:\n\n* [voices](https://cloud.ibm.com/apidocs/text-to-speech#listvoices)\n* [custom models](https://cloud.ibm.com/apidocs/text-to-speech#createcustommodel)\n* [custom words](https://cloud.ibm.com/apidocs/text-to-speech#addwords)\n* [API Documentations](https://watson-developer-cloud.github.io/swift-sdk/services/TextToSpeechV1/index.html)\n* [Application Node.js example](https://github.com/watson-developer-cloud/speech-to-text-nodejs)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomassuedbroecker%2Fwatson-tts-invocation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomassuedbroecker%2Fwatson-tts-invocation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomassuedbroecker%2Fwatson-tts-invocation/lists"}