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-consent.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.author: eur
16
16
17
17
With the personal voice feature, it's required that every voice be created with explicit consent from the user. A recorded statement from the user is required acknowledging that the customer (Azure AI Speech resource owner) will create and use their voice.
18
18
19
-
To add user consent to the personal voice project, you get the prerecorded consent audio file from a publicly accessible URL (`Consents_Create`) or upload the audio file (`Consents_Post`). In this article, you add consent from a URL.
19
+
To add user consent to the personal voice project, you provide the prerecorded consent audio file [from a publicly accessible URL](#add-consent-from-a-url) (`Consents_Create`) or [upload the audio file](#add-consent-from-a-file) (`Consents_Post`).
20
20
21
21
## Consent statement
22
22
@@ -32,15 +32,15 @@ You can get the consent statement text for each locale from the text to speech G
32
32
33
33
In this scenario, the audio files must be available locally.
34
34
35
-
To add consent to a personal voice project from the URL of an audio file, use the `Consents_Create` operation of the custom voice API. Construct the request body according to the following instructions:
35
+
To add consent to a personal voice project from the URL of an audio file, use the `Consents_Post` operation of the custom voice API. Construct the request body according to the following instructions:
36
36
37
37
- Set the required `projectId` property. See [create a project](./personal-voice-create-project.md).
38
38
- Set the required `voiceTalentName` property. The voice talent name can't be changed later.
39
39
- Set the required `companyName` property. The company name can't be changed later.
40
40
- Set the required `audiodata` property with the consent audio file.
41
41
- Set the required `locale` property. This should be the locale of the consent. The locale can't be changed later. You can find the text to speech locale list [here](/azure/ai-services/speech-service/language-support?tabs=tts).
42
42
43
-
Make an HTTP POST request using the URI as shown in the following `Consents_Create` example.
43
+
Make an HTTP POST request using the URI as shown in the following `Consents_Post` example.
44
44
- Replace `YourResourceKey` with your Speech resource key.
45
45
- Replace `YourResourceRegion` with your Speech resource region.
46
46
- Replace `JessicaConsentId` with a consent ID of your choice. The case sensitive ID will be used in the consent's URI and can't be changed later.
@@ -65,7 +65,7 @@ You should receive a response body in the following format:
65
65
}
66
66
```
67
67
68
-
The response header contains the `Operation-Location` property. Use this URI to get details about the `Consents_Create` operation. Here's an example of the response header:
68
+
The response header contains the `Operation-Location` property. Use this URI to get details about the `Consents_Post` operation. Here's an example of the response header:
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/personal-voice-create-voice.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,21 @@ 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`) or [upload the audio files](#create-personal-voice-from-a-file) (`PersonalVoices_Post`).
25
+
24
26
## Create personal voice from a file
25
27
26
28
In this scenario, the audio files must be available locally.
27
29
28
-
To create a personal voice and get the speaker profile ID, use the `PersonalVoices_Create` operation of the custom voice API.
30
+
To create a personal voice and get the speaker profile ID, use the `PersonalVoices_Post` operation of the custom voice API.
29
31
30
32
Construct the request body according to the following instructions:
31
33
32
34
- Set the required `projectId` property. See [create a project](./personal-voice-create-project.md).
33
35
- Set the required `consentId` property. See [add user consent](./personal-voice-create-consent.md).
34
36
- Set the required `audiodata` property. You can specify one or more audio files in the same request.
35
37
36
-
Make an HTTP POST request using the URI as shown in the following `PersonalVoices_Create` example.
38
+
Make an HTTP POST request using the URI as shown in the following `PersonalVoices_Post` example.
37
39
- Replace `YourResourceKey` with your Speech resource key.
38
40
- Replace `YourResourceRegion` with your Speech resource region.
39
41
- 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.
@@ -59,7 +61,7 @@ You should receive a response body in the following format:
59
61
60
62
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
63
62
-
The response header contains the `Operation-Location` property. Use this URI to get details about the `PersonalVoices_Create` operation. Here's an example of the response header:
64
+
The response header contains the `Operation-Location` property. Use this URI to get details about the `PersonalVoices_Post` operation. Here's an example of the response header:
0 commit comments