Skip to content

Fix dit-vae cover mode: remove unsupported CLI flags#10

Merged
lmangani merged 2 commits intomainfrom
copilot/fix-dit-vae-usage-issues
Mar 7, 2026
Merged

Fix dit-vae cover mode: remove unsupported CLI flags#10
lmangani merged 2 commits intomainfrom
copilot/fix-dit-vae-usage-issues

Conversation

Copy link
Contributor

Copilot AI commented Mar 7, 2026

Cover mode jobs were failing because the spawn-mode code passed --reference-audio, --repainting-start, and --repainting-end to dit-vae — none of which exist in the binary. Only --src-audio is supported for audio input.

Changes

  • server/src/services/acestep.ts
    • Remove --reference-audio push (caused Unknown option crash on every cover job)
    • Remove --repainting-start / --repainting-end pushes (not yet implemented in dit-vae; roadmap items)
    • Retain the existing --src-audio for sourceAudioUrl — the correct and only supported audio-input flag
- if (params.referenceAudioUrl)  ditArgs.push('--reference-audio', resolveAudioPath(params.referenceAudioUrl));
- if (params.sourceAudioUrl)     ditArgs.push('--src-audio',       resolveAudioPath(params.sourceAudioUrl));
- if (params.repaintingStart && params.repaintingStart > 0)
-                                ditArgs.push('--repainting-start', String(params.repaintingStart));
- if (params.repaintingEnd && params.repaintingEnd > 0)
-                                ditArgs.push('--repainting-end',   String(params.repaintingEnd));
+ if (params.sourceAudioUrl) ditArgs.push('--src-audio', resolveAudioPath(params.sourceAudioUrl));

Reference audio and repainting will be wired up in follow-on PRs once the binary supports them.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…unsupported flags)

Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix dit-vae command usage for audio transformations Fix dit-vae cover mode: remove unsupported CLI flags Mar 7, 2026
@lmangani lmangani marked this pull request as ready for review March 7, 2026 18:52
@lmangani lmangani merged commit 03fa2c1 into main Mar 7, 2026
4 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.

2 participants