Azure AI Speech Modelrecipes API

The Modelrecipes API from Azure AI Speech — 1 operation(s) for modelrecipes.

GitHub OpenAPI

Operations 1

GET /modelrecipes Models list recipes #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-ai-speech:azure-ai-speech-modelrecipes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-ai-speech-modelrecipes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Custom voice Modelrecipes API
  version: '2026-01-01'
  description: Custom voice API to create and deploy your voice.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- ApiKeyAuth: []
- OAuth2Auth:
  - https://cognitiveservices.azure.com/.default
tags:
- name: Modelrecipes
paths:
  /modelrecipes:
    get:
      operationId: Models_ListRecipes
      description: 'Get a list of supported recipes for model building. Different recipes have

        different capabilities such as support for multi-style voice models.'
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedRecipe'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        Get all recipes:
          $ref: ./examples/get_recipes.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
      - Modelrecipes
      summary: Models list recipes
      x-summary-source: derived
components:
  schemas:
    Azure.Core.Foundations.InnerError:
      type: object
      description: An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.
      properties:
        code:
          type: string
          description: One of a server-defined set of error codes.
        innererror:
          $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
          description: Inner error.
    PresetStyleItem:
      type: object
      description: 'Preset styles supported by the recipe. The voice model can support these styles

        without any style training set.'
      properties:
        male:
          type: array
          description: Preset styles supported on male voice model.
          items:
            type: string
        female:
          type: array
          description: Preset styles supported on female voice model.
          items:
            type: string
    PagedRecipe:
      type: object
      description: Paged collection of Recipe items
      properties:
        value:
          type: array
          description: The Recipe items on this page
          items:
            $ref: '#/components/schemas/Recipe'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    Azure.Core.Foundations.Error:
      type: object
      description: The error object.
      properties:
        code:
          type: string
          description: One of a server-defined set of error codes.
        message:
          type: string
          description: A human-readable representation of the error.
        target:
          type: string
          description: The target of the error.
        details:
          type: array
          description: An array of details about specific errors that led to this reported error.
          items:
            $ref: '#/components/schemas/Azure.Core.Foundations.Error'
        innererror:
          $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
          description: An object containing more specific information than the current object about the error.
      required:
      - code
      - message
    Recipe:
      type: object
      description: Recipe for model building. Different recipes have different capability.
      properties:
        kind:
          type: string
          description: Recipe kind
        version:
          type: string
          description: Recipe version
        description:
          type: string
          description: Recipe description
          readOnly: true
        minUtteranceCount:
          type: integer
          format: int32
          description: Minimum utterance count required to train a voice model with this recipe.
          readOnly: true
        minStyleUtteranceCount:
          type: integer
          format: int32
          description: Minimum utterance count required to train each customized style.
          readOnly: true
        maxCustomStyleNum:
          type: integer
          format: int32
          description: Maximum customized style number supported in one voice model.
          readOnly: true
        datasetLocales:
          type: array
          description: '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.'
          items:
            type: string
          readOnly: true
        modelLocales:
          type: array
          description: '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.'
          items:
            type: string
          readOnly: true
        presetStyles:
          type: object
          description: 'Preset styles supported by this recipe per locale. You can get these styles

            without any style training set.'
          additionalProperties:
            $ref: '#/components/schemas/PresetStyleItem'
          readOnly: true
        minDurationInSeconds:
          type: number
          format: double
          description: 'Minimum audio duration in seconds required to train a voice model with this

            recipe.'
          readOnly: true
    Azure.Core.Foundations.ErrorResponse:
      type: object
      description: A response containing error details.
      properties:
        error:
          $ref: '#/components/schemas/Azure.Core.Foundations.Error'
          description: The error object.
      required:
      - error
  parameters:
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Ocp-Apim-Subscription-Key
      in: header
    OAuth2Auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            https://cognitiveservices.azure.com/.default: ''
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
x-ms-parameterized-host:
  hostTemplate: '{endpoint}/customvoice'
  useSchemePrefix: false
  parameters:
  - name: endpoint
    in: path
    description: 'Supported Cognitive Services endpoints (protocol and hostname, for example:

      https://eastus.api.cognitive.microsoft.com).'
    required: true
    type: string
    format: uri
    x-ms-skip-url-encoding: true