DEV Community

AI-KSK
AI-KSK

Posted on Edited on

VACE long redraw in batches: 73 new frames, eight-frame overlap and one loop

Long VACE redraw is usually limited by frame count and compute. This episode treats it as a batch-rendering problem: render 73 new frames at a time, overlap eight frames with the previous batch, and feed those frames into the next iteration.

Watch the episode: https://youtu.be/r6oicl5FjlM
Chinese original: https://www.bilibili.com/video/BV1oWGNzsEDr

The batch arithmetic

A normal batch is 81 frames, matching the 4N+1 convention used by the video stack. With an eight-frame overlap, each batch contributes 73 new frames. The next batch starts from the previous batch's final eight frames, so the seam has context instead of a hard cut.

The control video must follow the same batching rule. The graph uses frame-count expressions to load 73-frame segments and to skip ahead by batch index. Getting those two expressions wrong shifts the control signal out of sync with the generated video.

Graph structure

The base is VACE first-and-last-frame with a VACE model and LightX2V four-step acceleration. Inputs are a reference image plus a processed pose/control video. The reference image stays fixed across batches; only the endpoint frames change.

A seed is kept consistent, and Batch Any collects the outputs. The overlap frames are removed before the final concatenation.

Experimental limits

The author marks this as an experimental build. A later line-control train example drifted and developed a yellow cast. The open question is whether the degradation comes from acceleration or from repeated latent re-encoding; the episode does not claim to have solved it.

Known limits

  • Eight-frame overlap reduces seams but does not eliminate drift.
  • Control-video batching must match output batching exactly.
  • Repeated encoding can degrade color and structure over long runs.
  • No workflow JSON or weights are bundled with this article.

Top comments (0)