You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/how-to/professional-voice/train-voice/rest.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The language of the training data must be one of the [languages that are support
40
40
41
41
# [Neural](#tab/neural)
42
42
43
-
To create a neural voice, use the [Models_Create](/rest/api/speechapi/models/create) operation of the custom voice API. Construct the request body according to the following instructions:
43
+
To create a neural voice, use the [Models_Create](/rest/api/aiservices/speechapi/models/create) operation of the custom voice API. Construct the request body according to the following instructions:
44
44
45
45
- Set the required `projectId` property. See [create a project](../../../../professional-voice-create-project.md).
46
46
- Set the required `consentId` property. See [add voice talent consent](../../../../professional-voice-create-consent.md).
@@ -49,7 +49,7 @@ To create a neural voice, use the [Models_Create](/rest/api/speechapi/models/cre
49
49
- Set the required `voiceName` property. The voice name must end with "Neural" and can't be changed later. Choose a name carefully. The voice name is used in your [speech synthesis request](../../../../professional-voice-deploy-endpoint.md#use-your-custom-voice) by the SDK and SSML input. Only letters, numbers, and a few punctuation characters are allowed. Use different names for different neural voice models.
50
50
- Optionally, set the `description` property for the voice description. The voice description can be changed later.
51
51
52
-
Make an HTTP PUT request using the URI as shown in the following [Models_Create](/rest/api/speechapi/models/create) example.
52
+
Make an HTTP PUT request using the URI as shown in the following [Models_Create](/rest/api/aiservices/speechapi/models/create) example.
53
53
- Replace `YourResourceKey` with your Speech resource key.
54
54
- Replace `YourResourceRegion` with your Speech resource region.
55
55
- Replace `JessicaModelId` with a model ID of your choice. The case sensitive ID will be used in the model's URI and can't be changed later.
You should receive a response body in the following format:
@@ -93,7 +93,7 @@ You should receive a response body in the following format:
93
93
94
94
# [Neural - cross lingual](#tab/crosslingual)
95
95
96
-
To create a cross lingual neural voice, use the [Models_Create](/rest/api/speechapi/models/create) operation of the custom voice API. Construct the request body according to the following instructions:
96
+
To create a cross lingual neural voice, use the [Models_Create](/rest/api/aiservices/speechapi/models/create) operation of the custom voice API. Construct the request body according to the following instructions:
97
97
98
98
- Set the required `projectId` property. See [create a project](../../../../professional-voice-create-project.md).
99
99
- Set the required `consentId` property. See [add voice talent consent](../../../../professional-voice-create-consent.md).
@@ -103,7 +103,7 @@ To create a cross lingual neural voice, use the [Models_Create](/rest/api/speech
103
103
- Set the required `locale` property for the language that your voice speaks. The voice speaks a different language from your training data. You can specify only one target language for a voice model.
104
104
- Optionally, set the `description` property for the voice description. The voice description can be changed later.
105
105
106
-
Make an HTTP PUT request using the URI as shown in the following [Models_Create](/rest/api/speechapi/models/create) example.
106
+
Make an HTTP PUT request using the URI as shown in the following [Models_Create](/rest/api/aiservices/speechapi/models/create) example.
107
107
- Replace `YourResourceKey` with your Speech resource key.
108
108
- Replace `YourResourceRegion` with your Speech resource region.
109
109
- Replace `JessicaModelId` with a model ID of your choice. The case sensitive ID will be used in the model's URI and can't be changed later.
You should receive a response body in the following format:
@@ -146,7 +146,7 @@ You should receive a response body in the following format:
146
146
147
147
# [Neural - multi style](#tab/multistyle)
148
148
149
-
To create a multi-style neural voice, use the [Models_Create](/rest/api/speechapi/models/create) operation of the custom voice API. Construct the request body according to the following instructions:
149
+
To create a multi-style neural voice, use the [Models_Create](/rest/api/aiservices/speechapi/models/create) operation of the custom voice API. Construct the request body according to the following instructions:
150
150
151
151
- Set the required `projectId` property. See [create a project](../../../../professional-voice-create-project.md).
152
152
- Set the required `consentId` property. See [add voice talent consent](../../../../professional-voice-create-consent.md).
@@ -161,7 +161,7 @@ To create a multi-style neural voice, use the [Models_Create](/rest/api/speechap
161
161
- For each dictionary value, specify the ID of a training set that you [already created](../../../../professional-voice-create-training-set.md#add-a-professional-voice-training-dataset) for the same voice model. The training set must contain at least 100 utterances for each style.
162
162
- Optionally, set the `description` property for the voice description. The voice description can be changed later.
163
163
164
-
Make an HTTP PUT request using the URI as shown in the following [Models_Create](/rest/api/speechapi/models/create) example.
164
+
Make an HTTP PUT request using the URI as shown in the following [Models_Create](/rest/api/aiservices/speechapi/models/create) example.
165
165
- Replace `YourResourceKey` with your Speech resource key.
166
166
- Replace `YourResourceRegion` with your Speech resource region.
167
167
- Replace `JessicaModelId` with a model ID of your choice. The case sensitive ID will be used in the model's URI and can't be changed later.
You should receive a response body in the following format:
@@ -243,15 +243,15 @@ The following table summarizes the different preset styles according to differen
243
243
244
244
## Get training status
245
245
246
-
To get the training status of a voice model, use the [Models_Get](/rest/api/speechapi/models/get) operation of the custom voice API. Construct the request URI according to the following instructions:
246
+
To get the training status of a voice model, use the [Models_Get](/rest/api/aiservices/speechapi/models/get) operation of the custom voice API. Construct the request URI according to the following instructions:
247
247
248
-
Make an HTTP GET request using the URI as shown in the following [Models_Get](/rest/api/speechapi/models/get) example.
248
+
Make an HTTP GET request using the URI as shown in the following [Models_Get](/rest/api/aiservices/speechapi/models/get) example.
249
249
- Replace `YourResourceKey` with your Speech resource key.
250
250
- Replace `YourResourceRegion` with your Speech resource region.
251
251
- Replace `JessicaModelId` if you specified a different model ID in the previous step.
252
252
253
253
```azurecli-interactive
254
-
curl -v -X GET "https://YourResourceRegion.api.cognitive.microsoft.com/customvoice/models/JessicaModelId?api-version=2023-12-01-preview" -H "Ocp-Apim-Subscription-Key: YourResourceKey"
254
+
curl -v -X GET "https://YourResourceRegion.api.cognitive.microsoft.com/customvoice/models/JessicaModelId?api-version=2024-02-01-preview" -H "Ocp-Apim-Subscription-Key: YourResourceKey"
255
255
```
256
256
257
257
You should receive a response body in the following format.
0 commit comments