PulseAI-OpenAPI
  1. App
PulseAI-OpenAPI
  • App
    • README
    • Send Chat Message
      POST
    • File Upload
      POST
    • Stop Generate
      POST
    • Message Feedback
      POST
    • Next Suggested Questions
      GET
    • Get Conversation History Messages
      GET
    • Get Conversations
      GET
    • Delete Conversation
      DELETE
    • Conversation Rename
      POST
    • Speech to Text
      POST
    • Text to Audio
      POST
    • Text to Audio V2
      POST
    • Get Application Information
      GET
    • Get Application Parameters
      GET
    • Get Application Meta Information
      GET
    • Create Chat
      POST
  • Dataset
    • README
    • Create a Document from Text
      POST
    • Create a Document from a File
      POST
    • Create an Empty Knowledge Base
      POST
    • Get Knowledge Base List
      GET
    • Delete a Knowledge Base
      DELETE
    • Update a Document with Text
      POST
    • Update a Document with a File
      POST
    • Get Document Embedding Status (Progress)
      GET
    • Delete a Document
      DELETE
    • Get the Document List of a Knowledge Base
      GET
    • Add Chunks to a Document
      POST
    • Get Chunks from a Document
      GET
    • Update a Chunk in a Document
      POST
    • Delete a Chunk in a Document
      DELETE
    • Retrieve Chunks from a Knowledge Base
      POST
  • Tenant
    • README
    • Get a List of Tenant Space Charactar
    • Figure txt2img
    • Get a List of Tenant Space Plot
    • Get a List of Tenant Space Audio
  • OpenAPI
    GET
  1. App

Text to Audio V2

Developing
POST
https://api-platform.digitpulse.ai/v1/text-to-audio/20250114
Last modified:2025-01-14 10:26:03
Text to speech.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{
    "message_id": "",
    "text": "Appello iste accusamus vinculum amita vicissitudo aperte adiuvo deorsum thesaurus. Aiunt creo super sollicito molestias degusto consequuntur temperantia vobis curatio. Vulnero basium voro ocer asporto validus spoliatio subvenio tristis atrocitas. Dolore complectus conicio. Vel testimonium aedificium canto thalassinus dens animadverto.",
    "user": "",
    "audio_id": "zh_female_cancan_mars_bigtts"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-platform.digitpulse.ai/v1/text-to-audio/20250114' \
--header 'X-Timestamp: 1739933362' \
--header 'X-Signature: 1739933362' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "message_id": "",
    "text": "Appello iste accusamus vinculum amita vicissitudo aperte adiuvo deorsum thesaurus. Aiunt creo super sollicito molestias degusto consequuntur temperantia vobis curatio. Vulnero basium voro ocer asporto validus spoliatio subvenio tristis atrocitas. Dolore complectus conicio. Vel testimonium aedificium canto thalassinus dens animadverto.",
    "user": "",
    "audio_id": "zh_female_cancan_mars_bigtts"
}'

Responses

🟢200OK
audio/wav
Body

Example
{
    "url": "https://pulseai-paas.sgp1.cdn.digitaloceanspaces.com/upload_files/bdfc48c9-b925-4e05-a4d2-8203f1fb37ef/066f3bc4-f997-45e1-a47b-7ef50eb80b92.mp3",
    "audio_format": "mp3",
    "audio_size": 480480
}
Modified at 2025-01-14 10:26:03
Previous
Text to Audio
Next
Get Application Information
Built with