Ref2VA: with 2 voice refs, alternating short turns (A→B→A→B) lose or swap voice identity; A→B works reliably
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- audio-video-rtc
Hướng nghiên cứu
Start by reading the ComfyUI implementation of MiniMaxH3ReferenceToVideo and trace how audio reference slots are passed into the DiT; the issue says the text side receives only the <Audio j>: marker. Reproduce the fixed-seed A→B→A→B case using the listed reference setup and compare per-line speaker identity against the supplied refs. Done means identifying whether the official pipeline has a supported subject-to-voice binding and documenting the expected prompt or slot-order convention.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Related: #17 (this is a controlled reproduction with fixed seeds, plus what did and did not help).
Setup
- MiniMax H3 Ref2VA in ComfyUI 0.45.0 (native nodes
MiniMaxH3ReferenceToVideo), RTX 4060. - Models:
minimax_h3_ref2va_pruned_int8_convrot(base) and a community Ref2VA fine-tune; drafts with an 8-step turbo LoRA, 224x416, 24 fps. - Two characters, each with its own reference image (character sheet) and its own voice reference.
- Both voices are male Brazilian Portuguese: A = medium-low, warm, slightly raspy (~142 Hz median); B = medium, smooth, light, slightly nasal (~158 Hz).
- Voice refs: 15 s of continuous speech each, cut at word boundaries, both levelled to -20 LUFS.
- Prompt follows the official ref2va guide:
<Audio N> is the voice-timbre reference for <Subject N> (Sx)…insubject_definitions,[reference generation + audio reference]in the summary,<Audio N>: reference - …inretention_analysis, and every line written as<Subject N> (Sx), using the … voice timbre referenced from <Audio N>, says, <d>[Portuguese] …</d>, with explicit start/end times and the listener described with a closed mouth. - Identity scored per line with ECAPA speaker embeddings (cosine vs each ref) and checked by ear.
Results (same prompt, seeds fixed)
| Case | Voice heard per line | Seeds OK |
|---|---|---|
| 6.5 s, 2 lines (A then B) | A, B | 3/3 |
| 9 s, 2 long lines (A then B) | A, B | 2/2 |
| 6.5 s, 4 short lines A,B,A,B; refs A,B | A, generic, A, generic | 0/2 |
same, refs swapped (B = <Audio 1>) |
one seed follows the text, the other swaps all voices | 1/2 |
| 4 refs A,B,A,B (A = Audio 1+3, B = Audio 2+4, S1/S2) | B, A, B, A (fully swapped) | 0/2 |
| 4 refs B,A,B,A | B, A, A, A | 0/2 |
| per-turn IDs from #17 (S1..S4, Audio 1..4 = A,B,A,B, same files duplicated) | B, A, B, A (fully swapped) | 0/2 |
| base model (no fine-tune), refs A,B, 4 lines | seed 1: A, A, B, B · seed 2: A, A, A, A | 0/2 |
| B's ref extended to 30 s | the ref's words leak into the generated speech | 0/1 |
Observations:
- One line per speaker (A→B) is reliable; the failure appears as soon as a speaker has to come back (A→B→A).
- With 4 audio slots, the first line always took B's voice (6/6 renders, whatever the slot order).
- Video and lip assignment stay correct in all cases; only the audio identity moves.
- Masking the other speaker's voice-ref tokens from the generated-audio rows inside each speaker's window (training-free attention patch) made it worse: neither voice matched its ref.
Question
In the ComfyUI implementation, the text side gets "<Audio j>: " with no audio content after it (the audio never enters Qwen), and in the DiT the voice refs are only distinguished by their position on the time axis. Is there an intended way to bind a voice ref to a subject for multi-turn dialogue (e.g. a ref video with its soundtrack per character, a specific prompt pattern, or a training-time convention for slot order)? Any guidance on what the official pipeline does differently would help.
- Ngôn ngữ chính
- Python
- Star
- 12.4k
- Fork
- 932
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MiniMax-AI/MiniMax-H3
-
Promo HAY corpĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
MiniMax-AI/MiniMax-H3#104 · 1 bình luận ·
-
minimax H3Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
MiniMax-AI/MiniMax-H3#103 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
MiniMax-AI/MiniMax-H3#101 · 2 bình luận ·
-
dxdxcĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 3/100
MiniMax-AI/MiniMax-H3#98 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
MiniMax-AI/MiniMax-H3#97 ·
Tất cả issue của MiniMax-AI/MiniMax-H3
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
daniel-ospina/tortoise#15014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api p2 product:business triage:active type:feat
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
cuadrao-ai/argus#2656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
good first issue tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
yeab7505/tenasig#20 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày