v2

latestSwagger 2.02026-07-13323879.9 KB
PersonalVoice

Creates a new personal voice with audio files in the client.

post/personalvoices/{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.

Response

Created

idstring

Resource id

speakerProfileIdstring uuid

Personal voice speaker profile id. Fill this property in SSML.

displayNamestring

Display name of personal voice

descriptionstring

Personal voice description

projectIdstring required

Resource id

consentIdstring required

Resource id

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

{
  "audios": {
    "containerUrl": "https://contoso.blob.core.windows.net/voicecontainer?mySasToken",
    "prefix": "jessica",
    "extensions": [
      ".wav"
    ]
  }
}