SyFeee commited on
Commit
6b0bb14
·
verified ·
1 Parent(s): 428c62e

Initial mirror upload: weights + README + LICENSE + NOTICE (Apache 2.0; original by 麻雀 AI / fxj1131 on ModelScope)

Browse files
Files changed (4) hide show
  1. LICENSE +202 -0
  2. LTX2.3-IC-LORA-Dual-Character.safetensors +3 -0
  3. NOTICE +22 -0
  4. README.md +280 -0
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
LTX2.3-IC-LORA-Dual-Character.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6c3199e2c95eb0aad0cea4f3e8dfa33e8f6966d85bc79e3994faf5a57406103
3
+ size 327287347
NOTICE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ LTX2.3-IC-LoRA-Dual-Character (English mirror)
2
+
3
+ This repository is an English-language mirror redistribution of the
4
+ LTX2.3 IC-LoRA Dual-Character model originally published on ModelScope:
5
+
6
+ Original source: https://www.modelscope.cn/models/fxj1131/LTX2.3-IC-LORA-Dual-Character
7
+ Original author: 麻雀 AI (Maque AI)
8
+ ModelScope user: fxj1131
9
+ License: Apache License 2.0
10
+
11
+ All credit for the model weights belongs to the original author. This
12
+ mirror exists to make the weights and documentation accessible to the
13
+ English-speaking HuggingFace community, and to share field-tested usage
14
+ notes from production deployment in a multi-shot Chinese drama video
15
+ generation pipeline.
16
+
17
+ The weights file (.safetensors) is unmodified and byte-identical to
18
+ the original ModelScope upload. The README in this repository adds
19
+ English documentation, integration notes, and production usage tips.
20
+
21
+ Per Apache 2.0, attribution to the original author must be preserved
22
+ in any further redistribution.
README.md ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - Lightricks/LTX-2.3
5
+ tags:
6
+ - video-generation
7
+ - lora
8
+ - ic-lora
9
+ - ltx-video
10
+ - dual-character
11
+ - dialogue
12
+ - cinematic
13
+ - chinese-drama
14
+ pipeline_tag: image-to-video
15
+ language:
16
+ - en
17
+ - zh
18
+ ---
19
+
20
+ # LTX-Video 2.3 IC-LoRA: Dual-Character (English mirror)
21
+
22
+ > ⚠️ **This is an English-language mirror of [fxj1131's LTX2.3 IC-LoRA Dual-Character on ModelScope](https://www.modelscope.cn/models/fxj1131/LTX2.3-IC-LORA-Dual-Character).**
23
+ > All credit for the model weights belongs to the original author, **麻雀 AI (Maque AI)**.
24
+ > This mirror exists to make the model + documentation accessible to HuggingFace users who cannot easily access ModelScope, and to share field-tested usage notes from a production deployment.
25
+ > **The `.safetensors` weights file is unmodified and byte-identical to the ModelScope upload.**
26
+
27
+ ---
28
+
29
+ ## What this LoRA does
30
+
31
+ An **In-Context LoRA (IC-LoRA)** trained on top of `Lightricks/LTX-2.3` (22B distilled), specifically tuned for:
32
+
33
+ 1. **Two-character dialogue scenes** — significantly reduces character drift when two people appear in the same frame
34
+ 2. **Cinematic shot composition** — reinforced for dialogue-driven framing (close-up ↔ medium ↔ wide)
35
+ 3. **Multi-shot narrative continuity** — better understanding of multi-segment prompts (storyboard-style descriptions)
36
+ 4. **Style compatibility** — works well across 古风仙侠 (ancient Chinese fantasy), 现代都市 (modern urban), and 3D 动漫 styles
37
+
38
+ This is an **IC-LoRA** (in-context LoRA), so it expects reference images to be passed through the parallel-canvas conditioning mechanism, NOT as pixel-pinned frames. See the [Lightricks `ltx_pipelines.ic_lora.ICLoraPipeline`](https://github.com/Lightricks/LTX-2) for the upstream pipeline.
39
+
40
+ ---
41
+
42
+ ## Model card
43
+
44
+ | Field | Value |
45
+ |---|---|
46
+ | Base model | `Lightricks/LTX-2.3` (22B distilled) |
47
+ | LoRA type | IC-LoRA (video-to-video conditioning) |
48
+ | File | `LTX2.3-IC-LORA-Dual-Character.safetensors` (~313 MB) |
49
+ | License | Apache 2.0 |
50
+ | Original author | 麻雀 AI / fxj1131 (on ModelScope) |
51
+ | Trigger word | None — no special token required |
52
+
53
+ ---
54
+
55
+ ## Field-tested production usage
56
+
57
+ The notes below are from running this LoRA in production as part of a multi-shot Chinese drama video generation pipeline. They go beyond what's in the original model card.
58
+
59
+ ### Recommended LoRA stack
60
+
61
+ For cinematic Chinese-drama output we found this stack works well, totalling 1.4 strength (under the 1.5 over-baking ceiling):
62
+
63
+ | LoRA | Strength | Role |
64
+ |---|---|---|
65
+ | **LTX2.3-IC-LORA-Dual-Character** (this) | **0.6** | Multi-character identity from refs |
66
+ | `LTX2.3_Fantasy_Realism` (vrgamedevgirl84) | 0.4 | Cinematic style |
67
+ | `Motion_Stability` | 0.4 | Temporal coherence helper |
68
+
69
+ If using standalone: 0.7–0.9 works well. If stacking with multiple other LoRAs: drop to 0.3–0.5.
70
+
71
+ ### Resolution
72
+
73
+ - **Recommended:** 1280×704 (16:9, native LTX-2.3 distilled training resolution)
74
+ - **Faster preview:** 960×544 (~40% faster, slightly less detail)
75
+ - **Avoid portrait (9:16)** — this LoRA was trained on landscape; identity quality degrades noticeably in portrait orientation
76
+ - Width and height must each be divisible by 64
77
+
78
+ ### Number of frames
79
+
80
+ LTX-2.3 requires `num_frames` to satisfy `8k + 1` (e.g., 121, 145, 193, 241, 361). At 24 fps:
81
+ - 5s shot = 121 frames
82
+ - 8s shot = 193 frames
83
+ - 15s shot = 361 frames
84
+
85
+ ### Prompt structure that works well
86
+
87
+ Use a 3-block structure: `[场景] / [角色] / [镜头与情节]`.
88
+
89
+ ```text
90
+ [场景] 古风皇宫御花园桃花径,午后金色阳光透过盛开桃花斜射,
91
+ 粉色花瓣随风飘落,朱红宫墙翠竹环绕。
92
+
93
+ [角色] 沈月华:年轻女子,长黑发半扎绿玉簪,鬓边一朵小白花,
94
+ 柔和圆润大眼,肤色白皙。身穿浅蓝色丝绸汉服宫装,白色云鹤刺绣。
95
+ 萧云霄:年轻男子,黑发束起金冠玉饰,剑眉星目。身穿深红色丝绸金线龙纹宫袍。
96
+
97
+ [镜头与情节] 中景两人画面。沈月华手中持翠绿玉佩,萧云霄从右侧朱红
98
+ 宫墙转角缓步走出停下,拱手轻施一礼,目光温和注视沈月华手中玉佩。
99
+ 电影级布光,浅景深虚化,35mm 双人中景,温暖色调。
100
+ ```
101
+
102
+ ### Production tips earned the hard way
103
+
104
+ These are quirks of this LoRA + the LTX-2.3 distilled backbone that aren't documented in the original model card but matter in practice:
105
+
106
+ #### 1. Static-image reference: use a SHORT video wrap (≤ 8 frames)
107
+
108
+ If you wrap a single PNG character ref into a video for IC-LoRA conditioning, **use 8 frames (≈ 0.33 s) — NOT 30 frames**. Longer static wraps cause a "first second stuck on the ref image" beat at the start of every clip. The IC-LoRA's per-frame matching dominates motion onset when the static wrap is too long.
109
+
110
+ #### 2. Repeat color tokens for dark-clothed characters
111
+
112
+ This LoRA + Fantasy_Realism stack has a light-wuxia-robe bias. Dark outfits drift toward white at low ref-image-strength. Recipe: **repeat the color token glued to each clothing noun**:
113
+
114
+ ```text
115
+ BAD: black fedora and black suit
116
+ GOOD: BLACK fedora, white shirt, BLACK suit jacket, BLACK trousers,
117
+ ... BLACK suit, BLACK trousers throughout
118
+ ```
119
+
120
+ Also bump `ref_image_strength` to 0.55 (action) or 0.85 (medium-slow) for color fidelity.
121
+
122
+ #### 3. **Never use quoted dialogue in prompts**
123
+
124
+ This LoRA was trained on Chinese drama clips with burned-in Chinese subtitles. **Any quoted dialogue (`「…」` or `"…"`) in the prompt causes the LoRA to hallucinate subtitle characters at the bottom of the frame.** This is the single biggest gotcha.
125
+
126
+ ```text
127
+ BAD: 低声警告 「此茶不可饮!」 ← produces fake on-screen subtitles
128
+ GOOD: 低声急切警告她茶水有毒 ← clean output, indirect narration
129
+ ```
130
+
131
+ If your application needs actual subtitles, burn them post-hoc via `ffmpeg drawtext`, not via the prompt.
132
+
133
+ #### 4. Avoid "object detaches" prompts during action
134
+
135
+ At high motion intensity (cas/ris ≤ 0.40), the model loses object tracking. A directive like "fedora flies off mid-spin and tumbles to the floor" produces broken output — the hat dematerialises. Either:
136
+ - Keep the object attached and say so explicitly ("the fedora STAYS ON his head throughout the spin")
137
+ - Or render attach + detach as two clips and concat
138
+
139
+ #### 5. Cross-shot identity drift
140
+
141
+ For multi-shot dialogue scenes, character identity drifts across cuts. Workaround: chain shots by passing a **12-frame tail clip** of shot N as `ref_videos=[(tail.mp4, 0.7)]` for shot N+1. Significantly improves continuity.
142
+
143
+ ### Render performance
144
+
145
+ - **Resolution:** 1280×704, 121 frames @ 24 fps (~5 s output)
146
+ - **Stack:** the production stack above (3 LoRAs, total 1.4)
147
+ - **Hardware:** NVIDIA A800 80GB
148
+ - **Time:** ~70 s per shot (8-step distilled + 3-step spatial upscaler + audio decode)
149
+ - **Output:** mp4 with ambient audio track (no TTS)
150
+
151
+ On consumer hardware (RTX 4090 24GB), expect ~3–4 minutes per shot due to memory pressure from the 22B model.
152
+
153
+ ---
154
+
155
+ ## Limitations
156
+
157
+ From the original author + our field testing:
158
+
159
+ 1. **Subtitle hallucination** with quoted dialogue (see tip #3 above)
160
+ 2. **Complex physical interactions** (wrestling, hugging, intricate hand-on-hand) can deform
161
+ 3. **Tail-frame artifact** of LTX-2.3 — last 6–8 frames may smear; trim post-hoc if needed
162
+ 4. **Action complexity ceiling** — the 8-step distilled budget caps motion complexity at action peaks
163
+ 5. **Portrait orientation** degrades identity (LoRA trained on landscape only)
164
+
165
+ ---
166
+
167
+ ## Original Chinese README (preserved)
168
+
169
+ The original Chinese model card from ModelScope is reproduced below for users who want the unmodified original documentation.
170
+
171
+ <details>
172
+ <summary>点击展开原版中文模型卡片 (click to expand original Chinese README)</summary>
173
+
174
+ ### LTX-Video (2.3) IC-LoRA: 双人分镜头对话增强模型
175
+
176
+ 本模型是基于 Lightricks LTX-2.3 底模训练的 IC-LoRA,专为双人同框对话、角色互动及分镜头视频生成场景深度优化。
177
+
178
+ **一、模型核心提升**
179
+
180
+ 1. 角色参考稳定性:显著提升双人同框时的人物特征一致性,减少角色漂移。
181
+ 2. 分镜构图稳定性:针对影视化对话构图进行了加固,支持更精准的镜头控制。
182
+ 3. 叙事连贯性:增强了对多段描述的理解力,使分镜间的过渡衔接更自然。
183
+ 4. 风格兼容性:完美支持古风仙侠、现代都市、3D 动漫等主流视觉风格。
184
+
185
+ **二、模型基本信息**
186
+
187
+ 1. 基础模型:Lightricks/LTX-2.3
188
+ 2. 许可证:Apache-2.0
189
+ 3. 管道标签:image-to-video, text-to-video
190
+ 4. 模型用途:仅供学习交流使用
191
+ 5. 开发者:麻雀 AI
192
+
193
+ **三、运行指南**
194
+
195
+ 1. 推荐平台:ComfyUI
196
+ 2. 支持工作流:ComfyUI 官方 LTX 工作流、KJ-LTX 插件工作流
197
+ 3. 生成模式:文生视频 (T2V) 与 图生视频 (I2V) 均支持
198
+ 4. 硬件参考:RTX 5090 显卡在 720P 分辨率下,单条视频生成耗时约 2 分钟
199
+
200
+ **四、推荐参数配置**
201
+
202
+ 1. 分辨率:建议使用 16:9 (如 1280x720)
203
+ 2. 时长与帧率:建议时长 ≥10 秒,帧率设定为 24 FPS
204
+ 3. LoRA 权重设定:
205
+ - 独立使用建议:0.6 - 1.0
206
+ - 叠加其他 LoRA 使用时建议:0.3 - 0.5
207
+
208
+ **五、Prompt 编写规范**
209
+
210
+ 1. 编写逻辑:需包含完整的场景描述 + 角色设定 + 分镜设计 + 镜头语言,强化双人对话互动逻辑。
211
+ 2. 触发词说明:无需特定触发词。
212
+
213
+ **六、效果说明与局限性**
214
+
215
+ 1. 优势风格:在古风、现代、3D 动漫类双人对话场景中表现最佳。
216
+ 2. 已知限制:受限于 LTX-2.3 底模性能,极其复杂的双人肢体互动(如缠绕、打斗)可能出现形变。
217
+ 3. 运动幅度:建议以对话和微动作为主,大动态动作的连贯性仍有提升空间。
218
+
219
+ </details>
220
+
221
+ ---
222
+
223
+ ## How to use
224
+
225
+ ### With the upstream Lightricks pipeline
226
+
227
+ ```python
228
+ from ltx_pipelines.ic_lora import ICLoraPipeline
229
+ from ltx_core.loader import LoraPathStrengthAndSDOps
230
+ from ltx_core.loader import sd_ops as _sd_ops_mod
231
+ import torch
232
+
233
+ # Use the IC-LoRA's standard SDOps mapping
234
+ lora = LoraPathStrengthAndSDOps(
235
+ "LTX2.3-IC-LORA-Dual-Character.safetensors",
236
+ 0.6, # strength
237
+ _sd_ops_mod.LTXV_LORA_COMFY_RENAMING_MAP,
238
+ )
239
+
240
+ pipe = ICLoraPipeline(
241
+ distilled_checkpoint_path="ltx-2.3-22b-distilled-1.1.safetensors",
242
+ spatial_upsampler_path="ltx-2.3-spatial-upscaler-x2-1.1.safetensors",
243
+ gemma_root="google/gemma-3-12b-it-qat-q4_0-unquantized",
244
+ loras=[lora],
245
+ device=torch.device("cuda:0"),
246
+ )
247
+
248
+ video, audio = pipe(
249
+ prompt="...", # your structured 3-block prompt
250
+ seed=42,
251
+ height=704, width=1280,
252
+ num_frames=121, # 5s @ 24fps, satisfies 8k+1
253
+ frame_rate=24,
254
+ video_conditioning=[("char_ref.mp4", 0.85)], # 8-frame static wrap of the character portrait
255
+ enhance_prompt=False,
256
+ conditioning_attention_strength=0.85,
257
+ )
258
+ ```
259
+
260
+ ### Hardware requirements
261
+
262
+ | GPU | VRAM | Works? |
263
+ |---|---|---|
264
+ | A100 / A800 80GB | 80 GB | ✅ ~70 s per 5s shot |
265
+ | RTX 4090 / 3090 | 24 GB | ✅ ~3–4 min per 5s shot |
266
+ | RTX 4080 / 4070 Ti Super | 16 GB | ❌ won't fit 22B in bf16 |
267
+ | anything < 24 GB | — | ❌ no |
268
+
269
+ ---
270
+
271
+ ## Acknowledgements
272
+
273
+ - **麻雀 AI (Maque AI)** — original author of this LoRA, [original ModelScope repository](https://www.modelscope.cn/models/fxj1131/LTX2.3-IC-LORA-Dual-Character)
274
+ - **[Lightricks](https://www.lightricks.com/)** — for the LTX-Video 2.3 base model and the IC-LoRA framework
275
+
276
+ ---
277
+
278
+ ## License
279
+
280
+ Apache License 2.0 — same as the original. See `LICENSE` and `NOTICE`.