Text2Speech

The Text2Speech service helps generate an audio based on the text introduced as input by the user. The audio will speak the text provided.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The text to speak. Up to 5000 characters.

string
enum
Defaults to en

The language to speak.

Allowed:
string | null
enum
Defaults to urn:air:openai:model:openai:tts-1@1

Optionally choose a specific AI model to use for this audio generation. If not specified, a default model will be applied. Please note that the default model may change over time as Picsart continues to improve performance and accuracy. Any change to the default will be made only after thorough testing and validation to ensure it delivers better results. If you require consistent behavior or wish to evaluate different models on your own, we recommend explicitly setting this parameter.

Allowed:
string | null

Voice for speech synthesis. Considering different models have different voices and that list changes over time, the list of supported voices is not provided here. Please go ahead to check for available voices on each provider's website. When not provided, the following default voices will be applied:

  • OpenAI > alloy
  • Eevenlabs > Rachel
  • Async > nyomi
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json