generate

Text To Speech

Generate a text-to-speech audio file based on the provided text input and speaker description.

post/text-to-speech

Request body

model_idstring required

Hugging Face model ID used for text to speech generation.

textstring

Text input for speech generation.

descriptionstring

Description of speaker to steer text to speech generation.

Response

Successful Response

Changes

Changed in 8 of the 50 revisions of this API.4045

  • 0dfb43d0278648See the full diff
    • the audio response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • removed MediaURL from the audio response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property audio/url to the response with the 200 status

      response-required-property-added

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

  • 0e0e976fd9e084See the full diff
    • the audio response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 500

      response-property-type-changed

    • removed the required property audio/url from the response with the 200 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 400 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 401 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 500 status

      response-required-property-removed

    • added APIError to the detail response property allOf list for the response status 400

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 401

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 500

      response-property-all-of-added

    • added MediaURL to the audio response property allOf list for the response status 200

      response-property-all-of-added

  • 0dfb43d0278648See the full diff
    • the audio response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • removed MediaURL from the audio response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property audio/url to the response with the 200 status

      response-required-property-added

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

  • 0579502149da84See the full diff
    • the audio response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 500

      response-property-type-changed

    • removed the required property audio/url from the response with the 200 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 400 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 401 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 500 status

      response-required-property-removed

    • added APIError to the detail response property allOf list for the response status 400

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 401

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 500

      response-property-all-of-added

    • added MediaURL to the audio response property allOf list for the response status 200

      response-property-all-of-added

  • e0203b5e3aff48See the full diff
    • the audio response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • removed MediaURL from the audio response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property audio/url to the response with the 200 status

      response-required-property-added

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

  • 494e040533b484See the full diff
    • the audio response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the detail response's property type/format changed from object/ to / for status 500

      response-property-type-changed

    • removed the required property audio/url from the response with the 200 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 400 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 401 status

      response-required-property-removed

    • removed the required property detail/msg from the response with the 500 status

      response-required-property-removed

    • added APIError to the detail response property allOf list for the response status 400

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 401

      response-property-all-of-added

    • added APIError to the detail response property allOf list for the response status 500

      response-property-all-of-added

    • added MediaURL to the audio response property allOf list for the response status 200

      response-property-all-of-added

  • 0d725f57417348See the full diff
    • the audio response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the detail response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • removed APIError from the detail response property allOf list for the response status 400

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 401

      response-property-all-of-removed

    • removed APIError from the detail response property allOf list for the response status 500

      response-property-all-of-removed

    • removed MediaURL from the audio response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property audio/url to the response with the 200 status

      response-required-property-added

    • added the required property detail/msg to the response with the 400 status

      response-required-property-added

    • added the required property detail/msg to the response with the 401 status

      response-required-property-added

    • added the required property detail/msg to the response with the 500 status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added