m
melotts
Text-to-Speech • myshell-aiMeloTTS is a high-quality multi-lingual text-to-speech library by MyShell.ai.
Parameters
* indicates a required field
Input
-
prompt *
string min 1A text description of the audio you want to generate
-
lang
string default enThe speech language (e.g., 'en' for English, 'fr' for French). Defaults to 'en' if not specified
Output
-
0
object-
audio
stringThe generated audio in MP3 format, base64-encoded
-
-
1
stringThe generated audio in MP3 format
API Schemas
The following schemas are based on JSON Schema
{ "type": "object", "properties": { "prompt": { "type": "string", "minLength": 1, "description": "A text description of the audio you want to generate" }, "lang": { "type": "string", "default": "en", "description": "The speech language (e.g., 'en' for English, 'fr' for French). Defaults to 'en' if not specified" } }, "required": [ "prompt" ]}
{ "oneOf": [ { "type": "object", "contentType": "application/json", "properties": { "audio": { "type": "string", "description": "The generated audio in MP3 format, base64-encoded" } } }, { "type": "string", "contentType": "audio/mpeg", "format": "binary", "description": "The generated audio in MP3 format" } ]}
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark