模型介绍
中文整理Templates-结构控制(FLUX.2-klein-base-4B)
本模型是 DiffSynth-Studio 开源的 Diffusion Templates 系列模型之一。该模型为 ControlNet 控制模型,能够通过输入的参考图对生成图像的空间结构、物体轮廓与透视进行精准的条件引导。
开源代码:DiffSynth-Studio
技术报告:arXiv
项目主页:GitHub
文档参考:English Version、中文版
在线体验:魔搭社区创空间
模型集:ModelScope、ModelScope 国际站、HuggingFace
数据集:ModelScope、ModelScope 国际站、HuggingFace
效果展示
Condition Prompt: A cat is sitting on a stone, bathed in bright sunshine. Prompt: A cat is sitting on a stone, surrounded by colorful magical particles.
- - -
Condition Prompt: A lovely fox wearing a casual green shirt, sitting in a cafe bar, smiling gently, peaceful anime aesthetic. Prompt: A cute 3D rendered anthropomorphic fox character wearing a bright green shirt, sitting in a cozy magical tavern, smiling happily.
- - -
Condition Prompt: A photorealistic glass crystal ball containing a tiny, dreamy scene of a castle, a large tree, and a girl, soft warm lighting, detailed texture. Prompt: A cute 3D Pixar style scene inside a crystal ball, featuring a girl standing by a large tree with a castle in the background.
- - -
推理代码
安装 DiffSynth-Studio
直接推理,需 40G 显存
开启惰性加载和显存管理,需 24G 显存
训练代码
安装 DiffSynth-Studio 后,使用以下脚本可开启训练,更多信息请参考 DiffSynth-Studio 文档。
优先采用原作者提供的中文模型卡片;仅有英文说明时由闲社AI翻译整理。重要参数、许可证和商用范围请以原文为准。
你将获得什么
完整仓库方式包含该固定版本中的权重、配置、分词器及说明文件;指定版本方式只下载所选文件或整组分片。多模态模型的投影文件、配置等依赖,请按作者说明配齐。
完整仓库可能包含多个权重格式,因此需要的磁盘空间可能大于单一格式的模型大小。下载文件不等于完成模型部署。
使用前须知
运行模型需要的设备、工具与依赖,以原作者说明为准。
是否允许商用、修改和分发,请查看模型许可证。
闲社提供资料与镜像下载方法,不代表已运行模型或完成安全审计。下载的代码应先检查,再执行。
资料或下载有问题?
登录后可提交反馈。
