Skip to content

Added support for Minimax Music 2.6#273

Open
Sirsho1997 wants to merge 1 commit intomainfrom
feature-Minimax
Open

Added support for Minimax Music 2.6#273
Sirsho1997 wants to merge 1 commit intomainfrom
feature-Minimax

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

Added

  • ISettings now includes:
    • instrumental: Optional[bool]
    • lyricsOptimizer: Optional[bool]
  • IAudioInference now includes:
    • outputQuality: Optional[int]

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new Minimax Music 2.6 request options by extending existing request payload dataclasses in runware/types.py, enabling callers to pass new audio-generation tuning parameters through the SDK’s typed interfaces.

Changes:

  • Extend ISettings with instrumental and lyricsOptimizer.
  • Extend IAudioInference with outputQuality.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread runware/types.py
lyricsOptimizer: Optional[bool] = None
guidanceType: Optional[str] = None
textNormalization: Optional[bool] = None
topK: Optional[int] = None
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

ISettings defines topK twice (here in the Audio section and again later in the Text section). In a dataclass/class body, the later definition overwrites the earlier one, so the audio topK value can never be set/serialized as intended. Consider renaming these fields to be modality-specific (e.g., audioTopK/textTopK) or splitting settings into nested structs to avoid silent overrides (same issue also exists for other duplicated names like thinking).

Suggested change
topK: Optional[int] = None
audioTopK: Optional[int] = None

Copilot uses AI. Check for mistakes.
@Sirsho1997 Sirsho1997 requested a review from teith April 15, 2026 05:55
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