zsxkib/multitalk 🔢🖼️✓📝 → 🖼️

▶️ 2.3K runs 📅 Jun 2025 ⚙️ Cog 0.15.9 🔗 GitHub 📄 Paper ⚖️ License
audio-to-video image-to-video image-to-video-with-audio lipsync

About

Audio-driven multi-person conversational video generation - Upload audio files and a reference image to create realistic conversations between multiple people

Example Output

Prompt:

"In a casual, intimate setting, a man and a woman are engaged in a heartfelt conversation inside a car. The man, sporting a denim jacket over a blue shirt, sits attentively with a seatbelt fastened, his gaze fixed on the woman beside him. The woman, wearing a black tank top and a denim jacket draped over her shoulders, smiles warmly, her eyes reflecting genuine interest and connection. The car's interior, with its beige seats and simple design, provides a backdrop that emphasizes their interaction. The scene captures a moment of shared understanding and connection, set against the soft, diffused light of an overcast day. A medium shot from a slightly angled perspective, focusing on their expressions and body language"

Output

Performance Metrics

138.26s Prediction Time
388.56s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/NHF6Y7EeJGK6pp4rDODjJS8m0nk9rj32iuaVQs8IfOl7S4vJ/multi1.png",
  "turbo": true,
  "prompt": "In a casual, intimate setting, a man and a woman are engaged in a heartfelt conversation inside a car. The man, sporting a denim jacket over a blue shirt, sits attentively with a seatbelt fastened, his gaze fixed on the woman beside him. The woman, wearing a black tank top and a denim jacket draped over her shoulders, smiles warmly, her eyes reflecting genuine interest and connection. The car's interior, with its beige seats and simple design, provides a backdrop that emphasizes their interaction. The scene captures a moment of shared understanding and connection, set against the soft, diffused light of an overcast day. A medium shot from a slightly angled perspective, focusing on their expressions and body language",
  "num_frames": 81,
  "first_audio": "https://replicate.delivery/pbxt/NHF6XifveoBBNUVcYdrkqkiLqq2vDI7g322dYXadTtF4BFZ9/1.WAV",
  "second_audio": "https://replicate.delivery/pbxt/NHF6Y526MirDQ9byxeuIxcnrnW5CeISX11fWxr78FP9d3gut/2.WAV",
  "sampling_steps": 10
}
Input Parameters
seed Type: integer
Random seed for reproducible results
image (required) Type: string
Reference image containing the person(s) for video generation
turbo Type: booleanDefault: true
Enable turbo mode optimizations (adjusts thresholds and guidance scales for speed)
prompt Type: stringDefault: A smiling man and woman wearing headphones sit in front of microphones, appearing to host a podcast.
Text prompt describing the desired interaction or conversation scenario
num_frames Type: integerDefault: 81Range: 25 - 201
Number of frames to generate (automatically adjusted to nearest valid value of form 4n+1, e.g., 81, 181)
first_audio (required) Type: string
First audio file for driving the conversation
second_audio Type: string
Second audio file for multi-person conversation (optional)
sampling_steps Type: integerDefault: 40Range: 2 - 100
Number of sampling steps (higher = better quality, lower = faster)
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
🎬 Generating video with seed: 94787573
🎤 Processing multi-person audio...
🎬 Generating video...
🚀 TURBO MODE: 10 steps, thresh=0.8
teacache_init
teacache_init done
  0%|          | 0/10 [00:00<?, ?it/s]
 10%|█         | 1/10 [00:19<02:53, 19.25s/it]
 20%|██        | 2/10 [00:35<02:19, 17.50s/it]
 30%|███       | 3/10 [00:51<01:58, 16.97s/it]
 40%|████      | 4/10 [01:08<01:40, 16.73s/it]
 50%|█████     | 5/10 [01:24<01:22, 16.54s/it]
 90%|█████████ | 9/10 [01:40<00:08,  8.14s/it]
100%|██████████| 10/10 [01:56<00:00,  9.69s/it]
100%|██████████| 10/10 [01:56<00:00, 11.68s/it]
💾 Saving video...
Saving video:   0%|          | 0/81 [00:00<?, ?it/s]
Saving video:   1%|          | 1/81 [00:00<00:10,  7.58it/s]
Saving video:  44%|████▍     | 36/81 [00:00<00:00, 183.57it/s]
Saving video:  86%|████████▋ | 70/81 [00:00<00:00, 249.80it/s]
Saving video: 100%|██████████| 81/81 [00:00<00:00, 219.44it/s]
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from '/tmp/tmpbdm01um2/audio_embeddings/sum.wav':
Duration: 00:00:04.88, bitrate: 256 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'multitalk_7041-cropaudio.wav':
Metadata:
ISFT            : Lavf58.76.100
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Metadata:
encoder         : Lavc58.134.100 pcm_s16le
size=       4kB time=00:00:00.00 bitrate=N/A speed=   0x
size=     101kB time=00:00:03.20 bitrate= 259.4kbits/s speed= 636x
video:0kB audio:101kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.075231%
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'multitalk_7041-temp.mp4':
Metadata:
major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder         : Lavf61.1.100
Duration: 00:00:03.24, start: 0.000000, bitrate: 490 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 896x448, 485 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name    : VideoHandler
vendor_id       : [0][0][0][0]
encoder         : Lavc61.3.100 libx264
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, wav, from 'multitalk_7041-cropaudio.wav':
Metadata:
encoder         : Lavf58.76.100
Duration: 00:00:03.24, bitrate: 256 kb/s
Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x5ed964bc9740] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x5ed964bc9740] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x5ed964bc9740] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=14 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'multitalk_7041.mp4':
Metadata:
major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder         : Lavf58.76.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(progressive), 896x448, q=2-31, 25 fps, 12800 tbn (default)
Metadata:
handler_name    : VideoHandler
vendor_id       : [0][0][0][0]
encoder         : Lavc58.134.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 69 kb/s
Metadata:
encoder         : Lavc58.134.100 aac
frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
frame=   81 fps=0.0 q=-1.0 Lsize=     252kB time=00:00:03.20 bitrate= 645.0kbits/s speed=12.3x
video:219kB audio:30kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.380015%
[libx264 @ 0x5ed964bc9740] frame I:1     Avg QP:22.86  size: 20688
[libx264 @ 0x5ed964bc9740] frame P:21    Avg QP:22.39  size:  6146
[libx264 @ 0x5ed964bc9740] frame B:59    Avg QP:26.29  size:  1244
[libx264 @ 0x5ed964bc9740] consecutive B-frames:  1.2%  4.9%  0.0% 93.8%
[libx264 @ 0x5ed964bc9740] mb I  I16..4: 10.8% 72.4% 16.8%
[libx264 @ 0x5ed964bc9740] mb P  I16..4:  1.0%  5.2%  0.5%  P16..4: 46.1% 16.1%  6.3%  0.0%  0.0%    skip:24.8%
[libx264 @ 0x5ed964bc9740] mb B  I16..4:  0.0%  0.3%  0.0%  B16..8: 38.5%  2.3%  0.2%  direct: 0.3%  skip:58.2%  L0:37.9% L1:58.8% BI: 3.3%
[libx264 @ 0x5ed964bc9740] 8x8 transform intra:75.8% inter:83.8%
[libx264 @ 0x5ed964bc9740] coded y,uvDC,uvAC intra: 65.4% 64.4% 13.5% inter: 8.1% 6.5% 0.0%
[libx264 @ 0x5ed964bc9740] i16 v,h,dc,p: 12% 35%  4% 49%
[libx264 @ 0x5ed964bc9740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 15% 10%  4%  9% 17%  7%  8%  6%
[libx264 @ 0x5ed964bc9740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 16%  8%  4% 10% 19%  6%  7%  3%
[libx264 @ 0x5ed964bc9740] i8c dc,h,v,p: 46% 21% 25%  8%
[libx264 @ 0x5ed964bc9740] Weighted P-Frames: Y:4.8% UV:0.0%
[libx264 @ 0x5ed964bc9740] ref P L0: 56.1% 21.2% 18.0%  4.7%
[libx264 @ 0x5ed964bc9740] ref B L0: 88.2%  9.8%  2.0%
[libx264 @ 0x5ed964bc9740] ref B L1: 97.6%  2.4%
[libx264 @ 0x5ed964bc9740] kb/s:550.98
[aac @ 0x5ed964bcbb00] Qavg: 32036.566
✅ Video generation completed: /tmp/final_multitalk_7041.mp4
Version Details
Version ID
0bd2390c40618c910ffc345b36c8fd218fd8fa59c9124aa641fea443fa203b44
Version Created
June 30, 2025
Run on Replicate →