Mix enhance update#3
Merged
Merged
Conversation
added 3 commits
April 21, 2026 20:01
- Align EnhanceMusicalStyle enum with server (18 correct values) - Align AnalysisMusicalStyle enum (remove DANCE, add 9 mood styles) - Rename SoundSource.BACKING_VOCALS_GROUP to BACKING_VOX_GROUP, add BRASS_GROUP - Add LoudnessPreference.NO_CHANGE and set as default for MixEnhanceRequest - Add MixEnhanceRequest fields: get_processed_stems, apply_drum_enhancement, apply_vocal_enhancement - Remove MixEnhanceRequest.fix_drc_issues (not supported by server) - Fix webhookURL sent as null — now always a string in enhance and mix payloads - Add tenacity to install_requires (was imported but missing from package metadata) - Update examples, docstrings, README, and tests to reflect all changes Made-with: Cursor
Only include webhookURL in API payloads when explicitly provided. Previously sent as empty string or null, which could cause server errors. Made-with: Cursor
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Medium Risk
Medium risk because it changes public enums/models and request payload shapes/defaults (e.g., removed
fix_drc_issues, new enhancement flags), which can break existing client integrations and alter server behavior if consumers relied on old defaults.Overview
Bumps the SDK to
1.3.1and realigns client models/enums with the server:EnhanceMusicalStyleis replaced with the server’s 18 values,AnalysisMusicalStyledropsDANCEand adds 9 mood-based styles,SoundSourcerenamesBACKING_VOCALS_GROUPtoBACKING_VOX_GROUPand addsBRASS_GROUP, andLoudnessPreferenceaddsNO_CHANGE(now the default forMixEnhanceRequest).Updates request payload construction to match server expectations: removes unsupported
fixDRCIssues, addsapplyDrumEnhancement/applyVocalEnhancementandgetProcessedStems, and omitswebhookURLentirely unless explicitly provided (also applied to mixing and mastering preview payloads). Adds missing dependencytenacity, updates docs/examples, and expands tests with a new live-APItests/smoke_test.pyplus unit test adjustments for retry behavior and payload changes.Reviewed by Cursor Bugbot for commit d67b824. Bugbot is set up for automated code reviews on this repo. Configure here.