UNPKG

tts-mcp

Version:

OpenAI Text to Speech APIを活用したコマンドラインツールとMCPサーバー

36 lines (35 loc) 789 B
"use strict"; // Common constants Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_FORMAT = exports.DEFAULT_MODEL = exports.DEFAULT_VOICE = exports.VALID_FORMATS = exports.VALID_MODELS = exports.VALID_VOICES = void 0; // Array of supported voice types exports.VALID_VOICES = [ 'alloy', 'ash', 'coral', 'echo', 'fable', 'onyx', 'nova', 'sage', 'shimmer' ]; // Array of supported models exports.VALID_MODELS = [ 'tts-1', 'tts-1-hd', 'gpt-4o-mini-tts' ]; // Array of supported output formats exports.VALID_FORMATS = [ 'mp3', 'opus', 'aac', 'flac', 'wav', 'pcm' ]; // Default values exports.DEFAULT_VOICE = 'alloy'; exports.DEFAULT_MODEL = 'gpt-4o-mini-tts'; exports.DEFAULT_FORMAT = 'mp3';