Synapse PaaS Template
  1. Speech
Synapse PaaS Template
  • Synapse PaaS API
    • Chat
      • Cortext: Chat
      • Vision: Chat
    • Image
      • Vision: Text-To-Image
      • Cortext: Text To Image
      • Vision: Image-To-Image
      • Vision: Inpaint
      • Vision: Avatar
      • Vision: Clip Embeddings
      • Niche: Text-To-Image
      • Niche: Image-To-Image
      • Niche: InstantID
    • Web Query
      • Smart Scrape
    • AI Detection
      • It's AI: AI Text Detector
      • It's AI: AI Text Detector Batch
    • Speech
      • Text To Speech Create
        POST
      • Text To Speech Retrieve
        POST
    • Compute
      • Get Jobs
      • Create Docker Job
      • Create Raw Script Job
  • Schemas
    • Schemas
      • ChatMessageRequest
      • AvatarRequest
      • ChatMessageRequest
      • AvatarRequest
      • HTTPValidationError
      • ChatMessageVariantRequest
      • AvatarResponse
      • ChatMessageVariantRequest
      • AvatarResponse
      • ValidationError
      • HTTPValidationError
      • ChatModels
      • HTTPValidationError
      • ChatModels
      • ValidationError
      • ChatRequest
      • ValidationError
      • ChatRequest
      • ClipEmbeddingsRequest
      • ClipEmbeddingsRequest
      • ClipEmbeddingsResponse
      • ClipEmbeddingsResponse
      • EngineEnum
      • EngineEnum
      • HTTPValidationError
      • HTTPValidationError
      • ImageToImageRequest
      • ImageToImageRequest
      • ImageToImageResponse
      • ImageToImageResponse
      • InpaintRequest
      • InpaintRequest
      • InpaintResponse
      • InpaintResponse
      • Message
      • Message
      • Role
      • Role
      • TextPrompt
      • TextPrompt
      • TextToImageRequest
      • TextToImageRequest
      • TextToImageResponse
      • TextToImageResponse
      • UpscaleRequest
      • UpscaleRequest
      • UpscaleResponse
      • UpscaleResponse
      • ValidationError
      • ValidationError
  1. Speech

Text To Speech Create

Localhost Development Server
http://localhost:3000
Localhost Development Server
http://localhost:3000
POST
/api/text-to-speech-create

Request

Header Params

Body Params application/json

Example
{
    "text": "The first decentralized artificial intelligence consumer layer.",
    "hf_repo": "stong/melotts102",
    "speed": 0.75
}

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 'http://localhost:3000/api/text-to-speech-create' \
--header 'X-API-KEY;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "text": "The first decentralized artificial intelligence consumer layer.",
    "hf_repo": "stong/melotts102",
    "speed": 0.75
}'

Responses

🟢200Success
application/json
Body

Example
{
    "task_id": "bd84142e7c4143b1961f06a5ac9a5630"
}
Modified at 2024-06-12 14:06:00
Previous
It's AI: AI Text Detector Batch
Next
Text To Speech Retrieve
Built with