Skip to content

Commit 621e4ba

Browse files
authored
Merge pull request #127 from aimlapi/stelyatko/feat-add-minimax-tts-descriptions
feat: add minimax tts descs
2 parents 775c955 + 795bf07 commit 621e4ba

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

packages/openapi/descriptions/text-to-speech.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,47 @@ export default {
5555
},
5656
seed: {
5757
desc: `If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed.`,
58+
},
59+
voice_id: {
60+
desc: `Voice identifier for text-to-speech synthesis. Supports both predefined system voices and custom cloned voice IDs. Available system voices include various character types like Wise_Woman, Friendly_Person, Deep_Voice_Man, etc.`,
61+
},
62+
emotion: {
63+
desc: `Emotional tone to apply to the synthesized speech. Controls the emotional expression of the generated voice output.`,
64+
},
65+
sample_rate: {
66+
desc: `Audio sample rate in Hz. Higher sample rates provide better audio quality but result in larger file sizes. Common rates include 8000 (telephone quality), 16000 (wide band), 22050 (radio quality), 24000 (broadcast), 32000 (FM radio), and 44100 (CD quality).`,
67+
},
68+
bitrate: {
69+
desc: `Audio bitrate in bits per second. Controls the compression level and audio quality. Higher bitrates provide better quality but larger file sizes.`,
70+
},
71+
format: {
72+
desc: `Audio output format. MP3 provides good compression and compatibility, PCM offers uncompressed high quality, and FLAC provides lossless compression.`,
73+
},
74+
channel: {
75+
desc: `Number of audio channels. 1 for mono (single channel), 2 for stereo (dual channel) output.`,
76+
},
77+
sound_effects: {
78+
desc: `Audio effects to apply to the synthesized speech. Includes options like spacious_echo, auditorium_echo, lofi_telephone, and robotic effects.`,
79+
},
80+
language_boost: {
81+
desc: `Language recognition enhancement option. Improves pronunciation and recognition for the specified language or dialect. Use 'auto' for automatic language detection or specify specific languages like 'Chinese', 'English', 'Spanish', etc.`,
82+
},
83+
output_format: {
84+
desc: `Format of the output content for non-streaming requests. Controls how the generated audio data is encoded in the response.`,
85+
},
86+
timbre_weights: {
87+
desc: `Voice mixing configuration allowing combination of up to 4 different voices with specified weights. Each voice contributes to the final output based on its weight value (1-100).`,
88+
},
89+
pronunciation_dict: {
90+
desc: `Custom pronunciation dictionary for handling specific words or phrases. Allows fine-tuning of how certain text should be pronounced using phonetic representations.`,
91+
},
92+
voice_modify: {
93+
desc: `Voice modification settings for adjusting pitch, intensity, timbre, and applying sound effects to customize the voice characteristics.`,
94+
},
95+
stream: {
96+
desc: `Enable streaming mode for real-time audio generation. When enabled, audio is generated and delivered in chunks as it's processed.`,
97+
},
98+
subtitle_enable: {
99+
desc: `Enable subtitle generation service. Only available for non-streaming requests. Generates timing information for the synthesized speech.`,
58100
}
59101
};

0 commit comments

Comments
 (0)