Mechanical conversion of every relative import under v2/ to an absolute v2.* path (from .x / ..x / ...x -> from v2.<pkg>.x) so imports are unambiguous, grep-able, and stable when code is copied/moved between entrypoints (VideoGenerator, CLI, server). Surgical prefix-only rewrite: only the 'from <dots><module>' prefix changed — import names, parentheses, multi-line formatting, comments, and ordering are byte-for-byte preserved (no collapsing, no reorder, no unrelated reformatting). - 471 imports across 125 files; v2/tests/ was already absolute (untouched). - Validated: all 125 files compile, every 'from v2.* import' target resolves to a real module/package, zero relative imports remain (full sweep), CPU mini suite green (202 passed, 2 skipped).
16 lines
773 B
Python
16 lines
773 B
Python
"""Text-to-image → image-to-video: two distinct generation models chained by a cross-model
|
|
``Workflow`` (design_v3 §13). The realistic FLUX→Wan pipeline — two cards, two weight sets — proving
|
|
the design composes across model *instances*, not just loops within one (which LTX-2 already covers)."""
|
|
from __future__ import annotations
|
|
|
|
from v2.models.image_video.card import build_flux_t2i_card, build_wan_i2v_card
|
|
from v2.models.image_video.program import (
|
|
build_flux_t2i_program,
|
|
build_t2i_i2v_extend_workflow,
|
|
build_t2i_then_i2v_workflow,
|
|
build_wan_i2v_program,
|
|
)
|
|
|
|
__all__ = ["build_flux_t2i_card", "build_wan_i2v_card", "build_flux_t2i_program",
|
|
"build_wan_i2v_program", "build_t2i_then_i2v_workflow", "build_t2i_i2v_extend_workflow"]
|