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/deploy-endpoint/rest.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ After you've successfully created and [trained](../../../../professional-voice-t
16
16
17
17
## Add a deployment endpoint
18
18
19
-
To create an endpoint, use the [Endpoints_Create](/rest/api/speechapi/endpoints/create) operation of the custom voice API. Construct the request body according to the following instructions:
19
+
To create an endpoint, use the [Endpoints_Create](/rest/api/aiservices/speechapi/endpoints/create) operation of the custom voice API. Construct the request body according to the following instructions:
20
20
21
21
- Set the required `projectId` property. See [create a project](../../../../professional-voice-create-project.md).
22
22
- Set the required `modelId` property. See [train a voice model](../../../../professional-voice-train-voice.md).
23
23
- Set the required `description` property. The description can be changed later.
24
24
25
-
Make an HTTP PUT request using the URI as shown in the following [Endpoints_Create](/rest/api/speechapi/endpoints/create) example.
25
+
Make an HTTP PUT request using the URI as shown in the following [Endpoints_Create](/rest/api/aiservices/speechapi/endpoints/create) example.
26
26
- Replace `YourResourceKey` with your Speech resource key.
27
27
- Replace `YourResourceRegion` with your Speech resource region.
28
28
- Replace `EndpointId` with an endpoint ID of your choice. The ID must be a GUID and must be unique within your Speech resource. The ID will be used in the project's URI and can't be changed later.
You should receive a response body in the following format:
@@ -52,10 +52,10 @@ You should receive a response body in the following format:
52
52
}
53
53
```
54
54
55
-
The response header contains the `Operation-Location` property. Use this URI to get details about the [Endpoints_Create](/rest/api/speechapi/endpoints/create) operation. Here's an example of the response header:
55
+
The response header contains the `Operation-Location` property. Use this URI to get details about the [Endpoints_Create](/rest/api/aiservices/speechapi/endpoints/create) operation. Here's an example of the response header:
@@ -83,15 +83,15 @@ To use a custom voice via [Speech Synthesis Markup Language (SSML)](../../../../
83
83
84
84
You can suspend or resume an endpoint, to limit spend and conserve resources that aren't in use. You won't be charged while the endpoint is suspended. When you resume an endpoint, you can continue to use the same endpoint URL in your application to synthesize speech.
85
85
86
-
To suspend an endpoint, use the [Endpoints_Suspend](/rest/api/speechapi/endpoints/suspend) operation of the custom voice API.
86
+
To suspend an endpoint, use the [Endpoints_Suspend](/rest/api/aiservices/speechapi/endpoints/suspend) operation of the custom voice API.
87
87
88
-
Make an HTTP POST request using the URI as shown in the following [Endpoints_Suspend](/rest/api/speechapi/endpoints/suspend) example.
88
+
Make an HTTP POST request using the URI as shown in the following [Endpoints_Suspend](/rest/api/aiservices/speechapi/endpoints/suspend) example.
89
89
- Replace `YourResourceKey` with your Speech resource key.
90
90
- Replace `YourResourceRegion` with your Speech resource region.
91
91
- Replace `YourEndpointId` with the endpoint ID that you received when you created the endpoint.
0 commit comments