opensi·si

The bidirectional 3D Transformer used by AnyFlowPipeline. It is the

AnyFlowTransformer3DModel

The bidirectional 3D Transformer used by AnyFlowPipeline. It is the v0.35.1 Wan2.1 backbone with one structural change: the timestep embedder is replaced by AnyFlowDualTimestepTextImageEmbedding, so every forward call conditions on both the source timestep t and the target timestep r. This is the embedding required to learn the flow map Φr←t\Phi_{r\leftarrow t} introduced in AnyFlow. See the AnyFlowPipeline page for paper, authors, and released checkpoints.

For chunk-wise autoregressive (FAR causal) generation, use AnyFlowFARTransformer3DModel instead.

from diffusers import AnyFlowTransformer3DModel

# Bidirectional AnyFlow checkpoint (T2V):
transformer = AnyFlowTransformer3DModel.from_pretrained(
    "nvidia/AnyFlow-Wan2.1-T2V-1.3B-Diffusers", subfolder="transformer"
)

AnyFlowTransformer3DModel

[[autodoc]] AnyFlowTransformer3DModel

Source and license

Source: Diffusers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.