Model

Get a list of supported recipes for model building. Different recipes have different capabilities such as support for multi-style voice models.

get/modelrecipes

Query parameters

api-versionstring required

The API version to use for this operation.

Response

Success

kindstring

Recipe kind

versionstring

Recipe version

descriptionstring

Recipe description

minUtteranceCountinteger

Minimum utterance count required to train a voice model with this recipe.

minStyleUtteranceCountinteger

Minimum utterance count required to train each customized style.

maxCustomStyleNuminteger

Maximum customized style number supported in one voice model.

datasetLocalesstring[]

The locale of the training dataset. 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.

modelLocalesstring[]

The locale that a voice model can speak with this recipe. 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.

presetStylesobject

Preset styles supported by this recipe per locale. You can get these styles without any style training set.

Example response

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

Changes

Changed in 1 of the 6 revisions of this API.1

  • 2023-12-01-preview89e3118e57491See the full diff
    • the optional response header x-ms-error-code removed for the status default

      optional-response-header-removed