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/personal-voice-create-voice.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,26 +21,26 @@ You create a speaker profile ID based on the speaker's verbal consent statement
21
21
> [!NOTE]
22
22
> The personal voice ID and speaker profile ID aren't same. You can choose the personal voice ID, but the speaker profile ID is generated by the service. The personal voice ID is used to manage the personal voice. The speaker profile ID is used for text to speech.
23
23
24
-
You provide the audio files [from a publicly accessible URL](#create-personal-voice-from-a-url) ([PersonalVoices_Create](/rest/api/speechapi/personal-voices/create)) or [upload the audio files](#create-personal-voice-from-a-file) ([PersonalVoices_Post](/rest/api/speechapi/personal-voices/post)).
24
+
You provide the audio files [from a publicly accessible URL](#create-personal-voice-from-a-url) ([PersonalVoices_Create](/rest/api/aiservices/speechapi/personal-voices/create)) or [upload the audio files](#create-personal-voice-from-a-file) ([PersonalVoices_Post](/rest/api/aiservices/speechapi/personal-voices/post)).
25
25
26
26
## Create personal voice from a file
27
27
28
28
In this scenario, the audio files must be available locally.
29
29
30
-
To create a personal voice and get the speaker profile ID, use the [PersonalVoices_Post](/rest/api/speechapi/personal-voices/post) operation of the custom voice API. Construct the request body according to the following instructions:
30
+
To create a personal voice and get the speaker profile ID, use the [PersonalVoices_Post](/rest/api/aiservices/speechapi/personal-voices/post) operation of the custom voice API. Construct the request body according to the following instructions:
31
31
32
32
- Set the required `projectId` property. See [create a project](./personal-voice-create-project.md).
33
33
- Set the required `consentId` property. See [add user consent](./personal-voice-create-consent.md).
34
34
- Set the required `audiodata` property. You can specify one or more audio files in the same request.
35
35
36
-
Make an HTTP POST request using the URI as shown in the following [PersonalVoices_Post](/rest/api/speechapi/personal-voices/post) example.
36
+
Make an HTTP POST request using the URI as shown in the following [PersonalVoices_Post](/rest/api/aiservices/speechapi/personal-voices/post) example.
37
37
- Replace `YourResourceKey` with your Speech resource key.
38
38
- Replace `YourResourceRegion` with your Speech resource region.
39
39
- Replace `JessicaPersonalVoiceId` with a personal voice ID of your choice. The case sensitive ID will be used in the personal voice's URI and can't be changed later.
You should receive a response body in the following format:
@@ -59,18 +59,18 @@ You should receive a response body in the following format:
59
59
60
60
Use the `speakerProfileId` property to integrate personal voice in your text to speech application. For more information, see [use personal voice in your application](./personal-voice-how-to-use.md).
61
61
62
-
The response header contains the `Operation-Location` property. Use this URI to get details about the [PersonalVoices_Post](/rest/api/speechapi/personal-voices/post) operation. Here's an example of the response header:
62
+
The response header contains the `Operation-Location` property. Use this URI to get details about the [PersonalVoices_Post](/rest/api/aiservices/speechapi/personal-voices/post) operation. Here's an example of the response header:
In this scenario, the audio files must already be stored in an Azure Blob Storage container.
72
72
73
-
To create a personal voice and get the speaker profile ID, use the [PersonalVoices_Create](/rest/api/speechapi/personal-voices/create) operation of the custom voice API. Construct the request body according to the following instructions:
73
+
To create a personal voice and get the speaker profile ID, use the [PersonalVoices_Create](/rest/api/aiservices/speechapi/personal-voices/create) operation of the custom voice API. Construct the request body according to the following instructions:
74
74
75
75
- Set the required `projectId` property. See [create a project](./personal-voice-create-project.md).
76
76
- Set the required `consentId` property. See [add user consent](./personal-voice-create-consent.md).
@@ -79,7 +79,7 @@ To create a personal voice and get the speaker profile ID, use the [PersonalVoic
79
79
- Set the required `extensions` property to the extensions of the audio files.
80
80
- Optionally, set the `prefix` property to set a prefix for the blob name.
81
81
82
-
Make an HTTP PUT request using the URI as shown in the following [PersonalVoices_Create](/rest/api/speechapi/personal-voices/create) example.
82
+
Make an HTTP PUT request using the URI as shown in the following [PersonalVoices_Create](/rest/api/aiservices/speechapi/personal-voices/create) example.
83
83
- Replace `YourResourceKey` with your Speech resource key.
84
84
- Replace `YourResourceRegion` with your Speech resource region.
85
85
- Replace `JessicaPersonalVoiceId` with a personal voice ID of your choice. The case sensitive ID will be used in the personal voice's URI and can't be changed later.
You should receive a response body in the following format:
@@ -114,10 +114,10 @@ You should receive a response body in the following format:
114
114
115
115
Use the `speakerProfileId` property to integrate personal voice in your text to speech application. For more information, see [use personal voice in your application](./personal-voice-how-to-use.md).
116
116
117
-
The response header contains the `Operation-Location` property. Use this URI to get details about the [PersonalVoices_Create](/rest/api/speechapi/personal-voices/create) operation. Here's an example of the response header:
117
+
The response header contains the `Operation-Location` property. Use this URI to get details about the [PersonalVoices_Create](/rest/api/aiservices/speechapi/personal-voices/create) operation. Here's an example of the response header:
0 commit comments