Skip to content

Commit 1af4c77

Browse files
authored
Update Custom Voice API version in rest.md
1 parent 6e0e420 commit 1af4c77

File tree

1 file changed

+3
-3
lines changed
  • articles/ai-services/speech-service/includes/how-to/professional-voice/create-project

1 file changed

+3
-3
lines changed

articles/ai-services/speech-service/includes/how-to/professional-voice/create-project/rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Each project is specific to a country/region and language, and the gender of the
1515

1616
## Create a project
1717

18-
To create a professional voice project, use the [Projects_Create](/rest/api/speechapi/projects/create) operation of the custom voice API. Construct the request body according to the following instructions:
18+
To create a professional voice project, use the [Projects_Create](/rest/api/aiservices/speechapi/projects/create) operation of the custom voice API. Construct the request body according to the following instructions:
1919

2020
- Set the required `kind` property to `ProfessionalVoice`. The kind can't be changed later.
2121
- Optionally, set the `description` property for the project description. The project description can be changed later.
2222

23-
Make an HTTP PUT request using the URI as shown in the following [Projects_Create](/rest/api/speechapi/projects/create) example.
23+
Make an HTTP PUT request using the URI as shown in the following [Projects_Create](/rest/api/aiservices/speechapi/projects/create) example.
2424
- Replace `YourResourceKey` with your Speech resource key.
2525
- Replace `YourResourceRegion` with your Speech resource region.
2626
- Replace `ProjectId` with a project ID of your choice. The case sensitive ID must be unique within your Speech resource. The ID will be used in the project's URI and can't be changed later.
@@ -29,7 +29,7 @@ Make an HTTP PUT request using the URI as shown in the following [Projects_Creat
2929
curl -v -X PUT -H "Ocp-Apim-Subscription-Key: YourResourceKey" -H "Content-Type: application/json" -d '{
3030
"description": "Project description",
3131
"kind": "ProfessionalVoice"
32-
} ' "https://YourResourceRegion.api.cognitive.microsoft.com/customvoice/projects/ProjectId?api-version=2023-12-01-preview"
32+
} ' "https://YourResourceRegion.api.cognitive.microsoft.com/customvoice/projects/ProjectId?api-version=2024-02-01-preview"
3333
```
3434

3535
You should receive a response body in the following format:

0 commit comments

Comments
 (0)