All models

FoleyCrafter

Adds video-driven semantic and timing control to a frozen text-to-audio diffusion model to score silent clips.

Audio and speech · 2,429 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,429 operations (22 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
1.4B
Operations
2,429
Framework
PyTorch
Recurrent
No
Published
IJCV (arXiv 2024)
Cited by
22 (as of 30 October 2026)
Authors
Yiming Zhang, Yicheng Gu, Yanhong Zeng and others
License
Apache-2.0
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16727
Graph hash
b9f0e0d4dc00df4d621455546fcc3ebc1407961e8aa4c4f4b0fee1ea1981fd37
Skeleton hash
d3a1231af797294dc65c1f0886c0ed8f17bbe43f8d885a14fd7591b8b58517fa
Architecture hash
cce8e19a718bba3070ebd4c80a5512789d9691e3540b22583eb54174fa8050bb
Diagram SHA-256
3e7e74ee2ebba3db93a54ac24e87be4720376af37d2217f516bbf2436c79ba55
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

FoleyCrafter generates sound effects for silent video, a task its paper calls Neural Foley. Instead of training a video-to-audio model from scratch, it adds trainable modules to a pre-trained text-to-audio model whose weights stay fixed. The released code uses Auffusion as that base model.

The semantic adapter encodes the video frames with the CLIP image encoder and averages the features across frames. These video embeddings enter new visual cross-attention layers that sit alongside the base model's text cross-attention, so text prompts keep working. For timing, a timestamp detector predicts where sound and silence fall in the video. A temporal adapter with the same architecture as the base model's UNet encoder, following the design of ControlNet, encodes that timestamp mask. Its output is added as a residual to the output of the original UNet.

The paper reports better MKL, CLIP score and FID than the methods it compared on the VGGSound and AVSync15 benchmarks. Negative prompts can also be used to keep unwanted sounds out of the result.

Key idea. FoleyCrafter trains a semantic adapter and a temporal controller on a frozen text-to-audio model, producing sound effects that match a video's content and timing.

  • foleycrafter
  • neural foley
  • foley
  • video-to-audio
  • sound effects generation
  • silent video
  • audio-video synchronization
  • semantic adapter
  • temporal controller
  • audio diffusion

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhang2024foleycrafterbringsilentvideos,
      title={FoleyCrafter: Bring Silent Videos to Life with Lifelike and Synchronized Sounds}, 
      author={Yiming Zhang and Yicheng Gu and Yanhong Zeng and Zhening Xing and Yuancheng Wang and Zhizheng Wu and Kai Chen},
      year={2024},
      eprint={2407.01494},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2407.01494}, 
}