Skip to content

Show requested and rendered MiDasheng duration separately - #423

Merged
timoncool merged 2 commits into
music-round/native-minimax-integrationfrom
music-round/midasheng-duration
Nov 21, 2026
Merged

timoncool merged 2 commits into
music-round/native-minimax-integrationfrom
music-round/midasheng-duration

Conversation

@timoncool

Copy link
Copy Markdown
Owner

MiDashengLM-Gen interprets duration_sec as a frame budget and can stop early. The captured request used a 5-second budget and returned 1 second of audio. The Studio adapter already passes the budget correctly.

  • Label the Create input as a duration budget and explain early stop.
  • Show the requested budget and decoded audio length separately in song details using existing saved settings and metadata.
  • Expose requested_duration_seconds and effective_duration_seconds in compact MCP job status. The effective value appears once audio is saved, and rerunning a song retains the requested value.

The Create test checks that a saved 5-second budget goes back into the request. Song details show 5 seconds requested and 1 second of saved audio. The MCP regression test covers both running and completed jobs.

@timoncool
timoncool merged commit bf34ca7 into music-round/native-minimax-integration Nov 21, 2026
10 checks passed
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.

1 participant