v2

latestSwagger 2.02026-07-13323879.9 KB
Model

Creates a new voice model.

put/models/{id}

Path parameters

idstring required

The ID of the resource.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

Operation-Idstring

ID of the status monitor for the operation. If the Operation-Id header matches an existing operation and the request is not identical to the prior request, it will fail with a 400 Bad Request.

Request body

idstring

Resource id

voiceNamestring

Voice name

descriptionstring

Model description

localestring

The locale of this model. Locale code follows BCP-47. You can find the text to speech locale list here https://learn.microsoft.com/azure/ai-services/speech-service/language-support?tabs=tts.

projectIdstring required

Resource id

consentIdstring required

Resource id

trainingSetIdstring required

Resource id

engineVersionstring

Engine version. Update this version can get the latest pronunciation bug fixing.

status'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Disabling' | 'Disabled'

Status of a resource.

createdDateTimestring date-time

The timestamp when the object was created. The timestamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

lastActionDateTimestring date-time

The timestamp when the current status was entered. The timestamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

Example request

{
  "recipe": {
    "datasetLocales": [
      "en-US"
    ],
    "modelLocales": [
      "en-US"
    ]
  },
  "locale": "en-US"
}

Response

Created

idstring

Resource id

voiceNamestring

Voice name

descriptionstring

Model description

localestring

The locale of this model. Locale code follows BCP-47. You can find the text to speech locale list here https://learn.microsoft.com/azure/ai-services/speech-service/language-support?tabs=tts.

projectIdstring required

Resource id

consentIdstring required

Resource id

trainingSetIdstring required

Resource id

engineVersionstring

Engine version. Update this version can get the latest pronunciation bug fixing.

status'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Disabling' | 'Disabled'

Status of a resource.

createdDateTimestring date-time

The timestamp when the object was created. The timestamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

lastActionDateTimestring date-time

The timestamp when the current status was entered. The timestamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

Example response

{
  "recipe": {
    "datasetLocales": [
      "en-US"
    ],
    "modelLocales": [
      "en-US"
    ]
  },
  "locale": "en-US"
}