Skip to content

Conversation

@zhenyujia23-crypto
Copy link

  • Add support for speech-2.6-hd and speech-2.6-turbo models
  • Add 16 new languages (total 40): Afrikaans, Bulgarian, Catalan, Danish, Persian, Filipino, Hebrew, Croatian, Hungarian, Malay, Norwegian, Nynorsk, Slovak, Slovenian, Swedish, Tamil
  • Add new emotions: calm and fluent
  • Add new parameters: text_normalization (renamed from english_normalization), latex_read, force_cbr, exclude_aggregated_audio, subtitle_enable, subtitle_type
  • Extract trace_id from response headers for all requests
  • Improve error handling for non-streaming error responses
  • Add detailed extra_info logging (audio_length, audio_size, usage_characters, word_count)
  • Add validation warnings for language/model compatibility
  • Fix silent error issue where HTTP 200 responses with errors were ignored

BREAKING CHANGE: Renamed parameter english_normalization to text_normalization

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

minimax and others added 2 commits November 4, 2025 02:04
- Add support for speech-2.6-hd and speech-2.6-turbo models
- Add 16 new languages (total 40): Afrikaans, Bulgarian, Catalan, Danish, Persian, Filipino, Hebrew, Croatian, Hungarian, Malay, Norwegian, Nynorsk, Slovak, Slovenian, Swedish, Tamil
- Add new emotions: calm and fluent
- Add new parameters: text_normalization (renamed from english_normalization), latex_read, force_cbr, exclude_aggregated_audio, subtitle_enable, subtitle_type
- Extract trace_id from response headers for all requests
- Improve error handling for non-streaming error responses
- Add detailed extra_info logging (audio_length, audio_size, usage_characters, word_count)
- Add validation warnings for language/model compatibility
- Fix silent error issue where HTTP 200 responses with errors were ignored

BREAKING CHANGE: Renamed parameter english_normalization to text_normalization

import sys
from importlib.metadata import version
from importlib.metadata import version, PackageNotFoundError
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert the changes to this file?

base_url: str = "https://api.minimax.io/v1/t2a_v2",
base_url: str = "https://api.minimax.io/v1/t2a_v2",
# https://api-uw.minimax.io/v1/t2a_v2
# support west of unite state
Copy link
Contributor

@markbackman markbackman Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo fix:

Suggested change
# support west of unite state
# API location: western United States

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants