Phai-M1 / README_zh.md
PhaiModelLab's picture
Update README_zh.md
775f571 verified
|
Raw History Blame Contribute Delete
14.4 kB
> 基座模型 / Base model: LTX-2.5
> 模型类型 / Model type: 视频生成模型(监督微调后训练) / Video generation model (supervised post-training)
---
[English](./README.md) | **中文**
## 1. 模型简介
**Phai-M1** 是基于 **LTX-2.5** 进行后训练的视频生成模型,面向多种条件下的视频内容创作。模型采用监督微调(Supervised Fine-Tuning, SFT)方式,使用总时长**超过 150 小时**的训练视频切片构建后训练数据。训练任务涵盖视觉推理(Visual Reasoning, VR)、图生视频(Image-to-Video, I2V)和文生视频(Text-to-Video, T2V),旨在增强模型对多样化生成任务的适应能力,并拓展其对特定视觉风格的表现范围。
Phai-M1 的后训练特别关注原始基座模型相对薄弱的内容类型。在 I2V 和 T2V 数据中,有针对性地增加了**中国 3D 动画、中国 2D 动画、风格化 CG** 等风格的训练样本,以丰富模型对相关风格的学习覆盖与生成表现。
## 2. 模型信息
| 项目 | 说明 |
| --- | --- |
| 模型名称 | Phai-M1 |
| 基座模型 | LTX-2.5 |
| 后训练方法 | 监督微调(SFT) |
| 后训练数据规模 | 超过 150 小时的视频切片 |
| 任务构成 | VR 约 20%;I2V 约 30%;T2V 约 50% |
| 试用平台(有限算力) | [在线体验 Phai-M1](https://phai.phanthy.com/console) |
| 许可证与使用条件 | 与基座模型 LTX-2.5 保持一致,详见 [LICENSE](./LICENSE) |
## 3. 数据组成与训练策略
后训练数据以视频切片为单位组织,按任务划分为三个部分:
1. **视觉推理(约 20%)**:通过视觉推理相关的监督任务,引入对视觉内容理解与推理能力的训练信号。
2. **图生视频(约 30%)**:以参考图像及配套条件作为生成约束,学习静态视觉内容向动态视频的扩展。训练样本中增加了中国 2D/3D 动画及风格化 CG 等视觉表现形式。
3. **文生视频(约 50%)**:以文本描述作为生成条件,覆盖多样场景与视觉风格,并针对基座模型此前表现不足的动画及 CG 风格补充样本。
模型采用监督微调开展后训练。风格数据的引入不仅关注题材覆盖,还关注生成结果中的造型语言、画面质感、色彩风格与镜头表达等视觉特征;这些是数据设计所希望支持的表现维度,不构成尚未测量的性能保证。
## 4. 使用方法
可以在任何使用原始LTX-2.5模型的管路、工作流中,将相应的diffusion_models权重替换成Phai-M1的权重,例如:
```
diffusion_models/ltx-2.5-22b-dev-transformer-bf16.safetensors -> diffusion_models/Phai-M1-22b-dev-transformer-bf16.safetensors
```
如果您想直接使用完整模型,您可以使用如下代码来获得完整的模型权重:
```bash
hf download PhaiModelLab/Phai-M1 --local-dir /phai-m1/diffusion_models
hf download Lightricks/LTX-2.5 --local-dir /phai-m1 --exclude="diffusion_models/*"
```
更高质量的提示词可以生成更好的视频,我们推荐您使用我们总结的[提示词增强指令](prompt_enhancement/enhancement_instructions_zh.md)。您可以将指令和提示词拼接之后发送给任意的通用语言模型来获取增强后的提示词。
## 5. 视频样片展示
<table width="100%">
<tr><th colspan="2">样片 01 · [风格 / 场景]</th><th colspan="2">样片 02 · [风格 / 场景]</th></tr>
<tr><th>LTX-2.5</th><th>Phai-M1</th><th>LTX-2.5</th><th>Phai-M1</th></tr>
<tr>
<td><video src="_assets_/video-01/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-01/phai.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-02/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-02/phai.mp4" controls width="100%"></video></td>
</tr>
<tr><td colspan="2"><strong>Prompt 01:</strong> A continuous aerial shot skims above rows of tea bushes on a misty hillside in Fujian. The camera follows a narrow stone path uphill, passing a farmer with a woven basket. It rises over the ridge and tilts gently down, revealing overlapping terraces and red roofs in the valley. The shot holds as low sunlight spreads across the terraces and the far hills remain under mist. A breeze moves through the tea bushes, with thin morning birdsong farther down the slope.</td><td colspan="2"><strong>Prompt 02:</strong> A floor-height medium shot frames a small golden dog lying on the mat inside a green door. A distant pair of footsteps grows louder and the dog lifts its chin, then raises both ears and looks toward the handle. The steps stop outside and the dog waits with its tail making one slow sweep across the mat. The quiet room tone continues after the footsteps.</td></tr>
<tr><th colspan="2">样片 03 · [风格 / 场景]</th><th colspan="2">样片 04 · [风格 / 场景]</th></tr>
<tr><th>LTX-2.5</th><th>Phai-M1</th><th>LTX-2.5</th><th>Phai-M1</th></tr>
<tr>
<td><video src="_assets_/video-03/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-03/phai.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-04/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-04/phai.mp4" controls width="100%"></video></td>
</tr>
<tr><td colspan="2"><strong>Prompt 03:</strong> A vertical medium close-up frames an adult East Asian woman in a black coat beside a warm station entrance light. An offscreen companion says softly in Mandarin, “准备好了吗?” She listens, looks toward the voice and answers, “走吧。” Her mouth relaxes into a small smile after the line. The same amber light holds on her face under faint street ambience.</td><td colspan="2"><strong>Prompt 04:</strong> A medium shot frames a person's hand waving. The hand waves left to right once, then freezes completely still for one second, then continues waving left to right again. The camera remains static. Quiet ambient sound.</td></tr>
<tr><th colspan="2">样片 05 · [风格 / 场景]</th><th colspan="2">样片 06 · [风格 / 场景]</th></tr>
<tr><th>LTX-2.5</th><th>Phai-M1</th><th>LTX-2.5</th><th>Phai-M1</th></tr>
<tr>
<td><video src="_assets_/video-05/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-05/phai.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-06/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-06/phai.mp4" controls width="100%"></video></td>
</tr>
<tr><td colspan="2"><strong>Prompt 05:</strong> A vertical side view frames a swimmer standing at the end of a low diving platform above a deep blue pool. The swimmer takes a breath, bends both knees and pushes off with arms extending overhead. The camera tilts down with the body as the fingertips enter first, followed by a narrow splash. The view continues below the surface, following a trail of bubbles as the swimmer straightens into a glide across bands of refracted sunlight. As the bubbles rise out of frame, the swimmer slows and extends one hand toward the light. The splash peaks at entry and gives way abruptly to muffled bubbles below the surface.</td><td colspan="2"><strong>Prompt 06:</strong> Chinese ink-wash painting animation, traditional shuimo watercolor aesthetics, elegant brush strokes, textured xuan paper background, generous negative space. A medium shot frames a single ink-wash crane standing among pale gray reeds in shallow misty water, its body painted in soft white washes, its neck and tail in bold black strokes, a small vermilion crown on its head. The crane stands perfectly still on one leg. It slowly lowers its long neck, dips its beak into the water, and a thin ripple of diluted ink spreads outward. It lifts its head, a water drop falling from its beak, then suddenly spreads its wings wide, the wing feathers rendered in layered flying-white brush strokes, droplets of ink scattering from the wingtips. It holds the wing-spread pose, then folds its wings back gracefully and returns to standing on one leg. Reeds sway once in the wind. The camera tilts up slightly when the wings spread, then returns. A distant crane call, soft wind through reeds, dripping water.</td></tr>
<tr><th colspan="2">样片 07 · [风格 / 场景]</th><th colspan="2">样片 08 · [风格 / 场景]</th></tr>
<tr><th>LTX-2.5</th><th>Phai-M1</th><th>LTX-2.5</th><th>Phai-M1</th></tr>
<tr>
<td><video src="_assets_/video-07/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-07/phai.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-08/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-08/phai.mp4" controls width="100%"></video></td>
</tr>
<tr><td colspan="2"><strong>Prompt 07:</strong> 2D anime-style animation with cel-shaded characters, sparkling magical girl aesthetic, vivid rainbow colors, clean line art. A medium shot frames an anime girl with short pink hair standing in a dark magical space filled with floating soft light orbs. She raises a small heart-shaped brooch, closes her eyes, and shouts silently. The brooch bursts into brilliant light that wraps around her body like glowing ribbons. Ribbons of pink and white light spiral around her from head to toe, forming a frilly magical girl costume piece by piece: gloves first, then boots, then the dress. Sparkles rain down around her as her hair grows longer and turns a brighter pink, tied by two ribbons that materialize in glowing flashes. She lands in a confident pose, wand in hand, pink heart effects popping behind her as the last sparkle falls. The camera spins around her once during the ribbon spiral, then stops on her final pose. Rising magical chime, twinkling star sounds, a dramatic final note.</td><td colspan="2"><strong>Prompt 08:</strong> Chinese 3D animation in a xianxia setting. A wide establishing shot frames a young cultivator in white and blue Chinese traditional robes sitting cross-legged on a round stone platform above a sea of clouds at dawn, muted blue and gold colors, glowing particles floating in the air. He sits still, eyes closed, hands resting on his knees. Wisps of golden light begin to spiral slowly around his body. The spirals grow faster and brighter, his long hair and loose sleeves fluttering without wind. His eyebrows tighten and his fists clench. Suddenly he opens his eyes, golden light shining in his pupils, and a ring of energy bursts outward from his body, sweeping the clouds away and snapping his robes straight. The camera pushes in from the wide view to a close-up of his glowing eyes as the energy explodes. Deep rumbling, rising wind, one final deep boom.</td></tr>
<tr><th colspan="2">样片 09 · [风格 / 场景]</th><th colspan="2">样片 10 · [风格 / 场景]</th></tr>
<tr><th>LTX-2.5</th><th>Phai-M1</th><th>LTX-2.5</th><th>Phai-M1</th></tr>
<tr>
<td><video src="_assets_/video-09/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-09/phai.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-10/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-10/phai.mp4" controls width="100%"></video></td>
</tr>
<tr><td colspan="2"><strong>Prompt 09:</strong> A cinematic shot frames two men playing chess at a wooden table in a quiet study, warm lamp light over the board. The older man in gray stares at the board, confident. Across from him, the younger man in black leans forward, thinking hard, hand hovering over his pieces. Suddenly his eyes sharpen. He picks up his knight, moves it decisively across the board, and places it down with a firm tap. 'Checkmate.' The camera cuts closer: the older man's confident smile fades, his eyebrows rise in disbelief as he scans the board. The younger man leans back slowly, crossing his arms with a quiet, satisfied smile. Clock ticking, the tap of the chess piece, a long silence.</td><td colspan="2"><strong>Prompt 10:</strong> A medium shot frames a red rubber ball dropping from above onto a hardwood floor. The ball bounces three times, each bounce lower than the last, then rolls to a stop. The camera remains static. Natural indoor lighting. The sound of ball impacts and rolling.</td></tr>
<tr><th colspan="2">样片 11 · [风格 / 场景]</th><th colspan="2">样片 12 · [风格 / 场景]</th></tr>
<tr><th>LTX-2.5</th><th>Phai-M1</th><th>LTX-2.5</th><th>Phai-M1</th></tr>
<tr>
<td><video src="_assets_/video-11/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-11/phai.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-12/ltx.mp4" controls width="100%"></video></td>
<td><video src="_assets_/video-12/phai.mp4" controls width="100%"></video></td>
</tr>
<tr><td colspan="2"><strong>Prompt 11:</strong> A close-up shot frames a glass jar of golden honey tilted over a white plate. Thick honey pours out in a slow, continuous stream, coiling into a growing spiral pile on the plate. The stream remains unbroken and glossy. The camera remains static. Natural lighting. Quiet ambient sound.</td><td colspan="2"><strong>Prompt 12:</strong> A medium shot frames an empty table surface. A hand places a blue wooden block on the table. The hand returns and places a red block on top of the blue block. The hand returns again and places a yellow block on top of the red block, creating a stable three-block tower. The camera remains static. Soft block placement sounds.</td></tr>
</table>
## 6. 模型局限性
作为生成式视频模型,Phai-M1 在复杂场景中仍可能出现人物或物体形态变化、跨帧不一致、物理运动不合理、复杂指令遗漏及特定风格失真等情况。生成结果也可能随提示词、参考图像和生成参数的变化而不同。建议在正式作品中对生成内容进行人工筛选与必要的后期处理。
## 7. 负责任使用与发布信息
使用者应注意虚构或误导性视频传播、真实人物肖像与隐私、版权、训练数据授权以及可能具有偏见的生成内容。建议对 AI 生成内容进行适当标注,并在适用场景下进行人工审核。模型的具体使用许可、限制条款、训练数据来源及过滤政策将在公开发布前补充。