{ "name": "@cf/myshell-ai/melotts", "properties": [ { "property_id": "price", "value": [ { "unit": "per audio minute", "price": 0.000205, "currency": "USD" } ] }, { "property_id": "planned_deprecation_date", "value": "2026-11-20" } ], "id": "c837b2ac-4d9b-4d37-8811-34de60f0c44f", "source": 1, "description": "MeloTTS is a high-quality multi-lingual text-to-speech library by MyShell.ai.", "task": { "id": "b52660a1-9a95-4ab2-8b1d-f232be34604a", "name": "Text-to-Speech", "description": "Text-to-Speech (TTS) is the task of generating natural sounding speech given text input. TTS models can be extended to have a single model that generates speech for multiple speakers and multiple languages." }, "created_at": "2024-07-19 15:51:04.819", "tags": [], "schema": { "input": { "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" ] }, "output": { "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" } ] } }, "deprecated": false }