Skip to content

Commit 2600114

Browse files
feat(stt,tts): new models and voices
1 parent ab88a4e commit 2600114

File tree

9 files changed

+57
-22
lines changed

9 files changed

+57
-22
lines changed

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateAcousticModelOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -29,6 +29,8 @@ public class CreateAcousticModelOptions extends GenericModel {
2929
public interface BaseModelName {
3030
/** ar-MS_BroadbandModel. */
3131
String AR_MS_BROADBANDMODEL = "ar-MS_BroadbandModel";
32+
/** de-DE. */
33+
String DE_DE = "de-DE";
3234
/** de-DE_BroadbandModel. */
3335
String DE_DE_BROADBANDMODEL = "de-DE_BroadbandModel";
3436
/** de-DE_NarrowbandModel. */

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateJobOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -44,6 +44,8 @@ public interface Model {
4444
String AR_MS_TELEPHONY = "ar-MS_Telephony";
4545
/** cs-CZ_Telephony. */
4646
String CS_CZ_TELEPHONY = "cs-CZ_Telephony";
47+
/** de-DE. */
48+
String DE_DE = "de-DE";
4749
/** de-DE_BroadbandModel. */
4850
String DE_DE_BROADBANDMODEL = "de-DE_BroadbandModel";
4951
/** de-DE_Multimedia. */

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateLanguageModelOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -32,6 +32,8 @@ public interface BaseModelName {
3232
String AR_MS_TELEPHONY = "ar-MS_Telephony";
3333
/** cs-CZ_Telephony. */
3434
String CS_CZ_TELEPHONY = "cs-CZ_Telephony";
35+
/** de-DE. */
36+
String DE_DE = "de-DE";
3537
/** de-DE_BroadbandModel. */
3638
String DE_DE_BROADBANDMODEL = "de-DE_BroadbandModel";
3739
/** de-DE_Multimedia. */

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/GetModelOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -29,6 +29,8 @@ public interface ModelId {
2929
String AR_MS_TELEPHONY = "ar-MS_Telephony";
3030
/** cs-CZ_Telephony. */
3131
String CS_CZ_TELEPHONY = "cs-CZ_Telephony";
32+
/** de-DE. */
33+
String DE_DE = "de-DE";
3234
/** de-DE_BroadbandModel. */
3335
String DE_DE_BROADBANDMODEL = "de-DE_BroadbandModel";
3436
/** de-DE_Multimedia. */

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/RecognizeOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2024.
2+
* (C) Copyright IBM Corp. 2016, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -44,6 +44,8 @@ public interface Model {
4444
String AR_MS_TELEPHONY = "ar-MS_Telephony";
4545
/** cs-CZ_Telephony. */
4646
String CS_CZ_TELEPHONY = "cs-CZ_Telephony";
47+
/** de-DE. */
48+
String DE_DE = "de-DE";
4749
/** de-DE_BroadbandModel. */
4850
String DE_DE_BROADBANDMODEL = "de-DE_BroadbandModel";
4951
/** de-DE_Multimedia. */

text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/TextToSpeech.java

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2019, 2024.
2+
* (C) Copyright IBM Corp. 2019, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -12,7 +12,7 @@
1212
*/
1313

1414
/*
15-
* IBM OpenAPI SDK Code Generator Version: 3.97.0-0e90eab1-20241120-170029
15+
* IBM OpenAPI SDK Code Generator Version: 3.105.0-3c13b041-20250605-193116
1616
*/
1717

1818
package com.ibm.watson.text_to_speech.v1;
@@ -310,18 +310,19 @@ public ServiceCall<Voice> getVoice(GetVoiceOptions getVoiceOptions) {
310310
* `rate` of the audio. The default sampling rate is 22,050 Hz. * `audio/l16` - You must specify
311311
* the `rate` of the audio. You can optionally specify the `endianness` of the audio. The default
312312
* endianness is `little-endian`. * `audio/mp3` - You can optionally specify the `rate` of the
313-
* audio. The default sampling rate is 22,050 Hz. * `audio/mpeg` - You can optionally specify the
314-
* `rate` of the audio. The default sampling rate is 22,050 Hz. * `audio/mulaw` - You must specify
315-
* the `rate` of the audio. * `audio/ogg` - The service returns the audio in the `vorbis` codec.
316-
* You can optionally specify the `rate` of the audio. The default sampling rate is 22,050 Hz. *
317-
* `audio/ogg;codecs=opus` - You can optionally specify the `rate` of the audio. Only the
318-
* following values are valid sampling rates: `48000`, `24000`, `16000`, `12000`, or `8000`. If
319-
* you specify a value other than one of these, the service returns an error. The default sampling
320-
* rate is 48,000 Hz. * `audio/ogg;codecs=vorbis` - You can optionally specify the `rate` of the
321-
* audio. The default sampling rate is 22,050 Hz. * `audio/wav` - You can optionally specify the
322-
* `rate` of the audio. The default sampling rate is 22,050 Hz. * `audio/webm` - The service
323-
* returns the audio in the `opus` codec. The service returns audio with a sampling rate of 48,000
324-
* Hz. * `audio/webm;codecs=opus` - The service returns audio with a sampling rate of 48,000 Hz. *
313+
* audio. The default sampling rate is 24,000 Hz for Natural voices and 22,050 Hz for for all
314+
* other voices. * `audio/mpeg` - You can optionally specify the `rate` of the audio. The default
315+
* sampling rate is 22,050 Hz. * `audio/mulaw` - You must specify the `rate` of the audio. *
316+
* `audio/ogg` - The service returns the audio in the `vorbis` codec. You can optionally specify
317+
* the `rate` of the audio. The default sampling rate is 22,050 Hz. * `audio/ogg;codecs=opus` -
318+
* You can optionally specify the `rate` of the audio. Only the following values are valid
319+
* sampling rates: `48000`, `24000`, `16000`, `12000`, or `8000`. If you specify a value other
320+
* than one of these, the service returns an error. The default sampling rate is 48,000 Hz. *
321+
* `audio/ogg;codecs=vorbis` - You can optionally specify the `rate` of the audio. The default
322+
* sampling rate is 22,050 Hz. * `audio/wav` - You can optionally specify the `rate` of the audio.
323+
* The default sampling rate is 22,050 Hz. * `audio/webm` - The service returns the audio in the
324+
* `opus` codec. The service returns audio with a sampling rate of 48,000 Hz. *
325+
* `audio/webm;codecs=opus` - The service returns audio with a sampling rate of 48,000 Hz. *
325326
* `audio/webm;codecs=vorbis` - You can optionally specify the `rate` of the audio. The default
326327
* sampling rate is 22,050 Hz.
327328
*

text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/GetPronunciationOptions.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -43,6 +43,8 @@ public interface Voice {
4343
String EN_AU_JACKEXPRESSIVE = "en-AU_JackExpressive";
4444
/** en-GB_CharlotteV3Voice. */
4545
String EN_GB_CHARLOTTEV3VOICE = "en-GB_CharlotteV3Voice";
46+
/** en-GB_GeorgeExpressive. */
47+
String EN_GB_GEORGEEXPRESSIVE = "en-GB_GeorgeExpressive";
4648
/** en-GB_JamesV3Voice. */
4749
String EN_GB_JAMESV3VOICE = "en-GB_JamesV3Voice";
4850
/** en-GB_KateV3Voice. */
@@ -51,6 +53,8 @@ public interface Voice {
5153
String EN_US_ALLISONEXPRESSIVE = "en-US_AllisonExpressive";
5254
/** en-US_AllisonV3Voice. */
5355
String EN_US_ALLISONV3VOICE = "en-US_AllisonV3Voice";
56+
/** en-US_EllieNatural. */
57+
String EN_US_ELLIENATURAL = "en-US_EllieNatural";
5458
/** en-US_EmilyV3Voice. */
5559
String EN_US_EMILYV3VOICE = "en-US_EmilyV3Voice";
5660
/** en-US_EmmaExpressive. */
@@ -73,6 +77,8 @@ public interface Voice {
7377
String ES_ES_ENRIQUEV3VOICE = "es-ES_EnriqueV3Voice";
7478
/** es-ES_LauraV3Voice. */
7579
String ES_ES_LAURAV3VOICE = "es-ES_LauraV3Voice";
80+
/** es-LA_DanielaExpressive. */
81+
String ES_LA_DANIELAEXPRESSIVE = "es-LA_DanielaExpressive";
7682
/** es-LA_SofiaV3Voice. */
7783
String ES_LA_SOFIAV3VOICE = "es-LA_SofiaV3Voice";
7884
/** es-US_SofiaV3Voice. */
@@ -93,6 +99,8 @@ public interface Voice {
9399
String NL_NL_MERELV3VOICE = "nl-NL_MerelV3Voice";
94100
/** pt-BR_IsabelaV3Voice. */
95101
String PT_BR_ISABELAV3VOICE = "pt-BR_IsabelaV3Voice";
102+
/** pt-BR_LucasExpressive. */
103+
String PT_BR_LUCASEXPRESSIVE = "pt-BR_LucasExpressive";
96104
}
97105

98106
/**

text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/GetVoiceOptions.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -32,6 +32,8 @@ public interface Voice {
3232
String EN_AU_JACKEXPRESSIVE = "en-AU_JackExpressive";
3333
/** en-GB_CharlotteV3Voice. */
3434
String EN_GB_CHARLOTTEV3VOICE = "en-GB_CharlotteV3Voice";
35+
/** en-GB_GeorgeExpressive. */
36+
String EN_GB_GEORGEEXPRESSIVE = "en-GB_GeorgeExpressive";
3537
/** en-GB_JamesV3Voice. */
3638
String EN_GB_JAMESV3VOICE = "en-GB_JamesV3Voice";
3739
/** en-GB_KateV3Voice. */
@@ -40,6 +42,8 @@ public interface Voice {
4042
String EN_US_ALLISONEXPRESSIVE = "en-US_AllisonExpressive";
4143
/** en-US_AllisonV3Voice. */
4244
String EN_US_ALLISONV3VOICE = "en-US_AllisonV3Voice";
45+
/** en-US_EllieNatural. */
46+
String EN_US_ELLIENATURAL = "en-US_EllieNatural";
4347
/** en-US_EmilyV3Voice. */
4448
String EN_US_EMILYV3VOICE = "en-US_EmilyV3Voice";
4549
/** en-US_EmmaExpressive. */
@@ -62,6 +66,8 @@ public interface Voice {
6266
String ES_ES_ENRIQUEV3VOICE = "es-ES_EnriqueV3Voice";
6367
/** es-ES_LauraV3Voice. */
6468
String ES_ES_LAURAV3VOICE = "es-ES_LauraV3Voice";
69+
/** es-LA_DanielaExpressive. */
70+
String ES_LA_DANIELAEXPRESSIVE = "es-LA_DanielaExpressive";
6571
/** es-LA_SofiaV3Voice. */
6672
String ES_LA_SOFIAV3VOICE = "es-LA_SofiaV3Voice";
6773
/** es-US_SofiaV3Voice. */
@@ -82,6 +88,8 @@ public interface Voice {
8288
String NL_NL_MERELV3VOICE = "nl-NL_MerelV3Voice";
8389
/** pt-BR_IsabelaV3Voice. */
8490
String PT_BR_ISABELAV3VOICE = "pt-BR_IsabelaV3Voice";
91+
/** pt-BR_LucasExpressive. */
92+
String PT_BR_LUCASEXPRESSIVE = "pt-BR_LucasExpressive";
8593
}
8694

8795
protected String voice;

text-to-speech/src/main/java/com/ibm/watson/text_to_speech/v1/model/SynthesizeOptions.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2024.
2+
* (C) Copyright IBM Corp. 2018, 2025.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -45,6 +45,8 @@ public interface Voice {
4545
String EN_AU_JACKEXPRESSIVE = "en-AU_JackExpressive";
4646
/** en-GB_CharlotteV3Voice. */
4747
String EN_GB_CHARLOTTEV3VOICE = "en-GB_CharlotteV3Voice";
48+
/** en-GB_GeorgeExpressive. */
49+
String EN_GB_GEORGEEXPRESSIVE = "en-GB_GeorgeExpressive";
4850
/** en-GB_JamesV3Voice. */
4951
String EN_GB_JAMESV3VOICE = "en-GB_JamesV3Voice";
5052
/** en-GB_KateV3Voice. */
@@ -53,6 +55,8 @@ public interface Voice {
5355
String EN_US_ALLISONEXPRESSIVE = "en-US_AllisonExpressive";
5456
/** en-US_AllisonV3Voice. */
5557
String EN_US_ALLISONV3VOICE = "en-US_AllisonV3Voice";
58+
/** en-US_EllieNatural. */
59+
String EN_US_ELLIENATURAL = "en-US_EllieNatural";
5660
/** en-US_EmilyV3Voice. */
5761
String EN_US_EMILYV3VOICE = "en-US_EmilyV3Voice";
5862
/** en-US_EmmaExpressive. */
@@ -75,6 +79,8 @@ public interface Voice {
7579
String ES_ES_ENRIQUEV3VOICE = "es-ES_EnriqueV3Voice";
7680
/** es-ES_LauraV3Voice. */
7781
String ES_ES_LAURAV3VOICE = "es-ES_LauraV3Voice";
82+
/** es-LA_DanielaExpressive. */
83+
String ES_LA_DANIELAEXPRESSIVE = "es-LA_DanielaExpressive";
7884
/** es-LA_SofiaV3Voice. */
7985
String ES_LA_SOFIAV3VOICE = "es-LA_SofiaV3Voice";
8086
/** es-US_SofiaV3Voice. */
@@ -95,6 +101,8 @@ public interface Voice {
95101
String NL_NL_MERELV3VOICE = "nl-NL_MerelV3Voice";
96102
/** pt-BR_IsabelaV3Voice. */
97103
String PT_BR_ISABELAV3VOICE = "pt-BR_IsabelaV3Voice";
104+
/** pt-BR_LucasExpressive. */
105+
String PT_BR_LUCASEXPRESSIVE = "pt-BR_LucasExpressive";
98106
}
99107

100108
/**

0 commit comments

Comments
 (0)