Sulphur 2 base

提供商SulphurAI
分类text-to-video
许可证Apache-2.0
下载量357.4K
星标0

简介

Sulphur 2 base 是由 SulphurAI 推出的文本生成视频基础模型。它采用了开放的 Apache-2.0 协议,旨在为开发者提供一个灵活的底层能力池。与许多闭源的视频生成工具不同,该模型更侧重于作为“基座”,允许用户在特定领域进行微调以提升生成质量。对于习惯使用 Runway 或 Pika 的用户来说,Sulphur 2 base 提供了更高的可定制性,适合需要构建自有视频管线、追求生成可控性的技术团队,上手门槛主要在于对模型部署和调优的工程能力。

核心亮点

  • Apache-2.0 协议,支持商业化自由定制
  • 强大的基座能力,适配多样化视频微调
  • 文本驱动视频生成,支持灵活的创作流
  • 适合开发者构建专属的 AI 视频应用

使用方法

安装依赖
# 安装 Hugging Face transformers
pip install transformers torch
SDK 使用
# 使用 transformers 加载模型
from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("SulphurAI/Sulphur-2-base")
tokenizer = AutoTokenizer.from_pretrained("SulphurAI/Sulphur-2-base")

Hugging Face 下载

我们推荐使用命令行或者 Hugging Face Hub SDK 来进行模型的下载。

操作指引:在下载前,请先通过如下命令安装 huggingface_hub:

操作指引
pip install -U huggingface_hub

命令行下载

下载完整模型库

下载完整模型库
huggingface-cli download SulphurAI/Sulphur-2-base

下载单个文件到指定本地文件夹(以下载 config.json 到当前路径下 ./dir 目录为例)

下载单个文件到指定本地文件夹(以下载 config.json 到当前路径下 ./dir 目录为例)
huggingface-cli download SulphurAI/Sulphur-2-base config.json --local-dir ./dir

更多命令行下载选项,可参见官方文档

SDK 下载

SDK 下载
# 模型下载
from huggingface_hub import snapshot_download
model_dir = snapshot_download('SulphurAI/Sulphur-2-base')

Git 下载

请确保 lfs 已经被正确安装

Git 下载
git lfs install
git clone https://huggingface.co/SulphurAI/Sulphur-2-base

如果您希望跳过 lfs 大文件下载,可以使用如下命令

跳过 LFS
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/SulphurAI/Sulphur-2-base

模型文件托管在 Hugging Face Hub,使用 HF CLI / SDK / Git 直接下载,不经过本站。

PyTorch / Transformers 使用

安装 Transformers

安装 Transformers
pip install -U transformers torch

模型加载和推理

模型加载和推理
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained('SulphurAI/Sulphur-2-base')
tokenizer = AutoTokenizer.from_pretrained('SulphurAI/Sulphur-2-base')

完整文档

来源: HuggingFace

---
base_model:
- Lightricks/LTX-2.3
library_name: diffusers
pipeline_tag: text-to-video
---

Sulphur 2

An uncensored video generation model based on LTX 2.3 supporting both t2v and i2v natively, as well as all of the other ltx 2.3 formats.

Follow us on X

Join our Discord

Support the next version of the project, even just a few dollars would go a long way: Kofi

As a note, official inference for the model is coming soon.

---

Get Started:
To get started with the model, I recommend downloading either of the dev versions, (fp8mixed or bf16) and downloading the distill lora provided. By the way, I'm aware the workflows contain sulphur_final right now, just use the lora or use the full models, don't use both at the same time.

This model contains a prompt enhancer. The easiest way to get started with the prompt enhancer is by using it on lmstudio. The way to accomplish this is by going to your model folder inside lmstudio, then opening it up in your file explorer. Create a folder named "Sulphur", then a folder inside that called "promptenhancer". Inside that folder, place the gguf file and the mmproj file. Once you've done that, you should be able to load the prompt enhancer in lmstudio. There is no system prompt for it, just send the text (and an image) you'd like to be enhanced.

*As a note, this readme will contain better setup instructions and how to train on top of the model soon.

---

Links


Credits

  • @s1lv3rc01n — Testing & model merging/quantizing (silveroxides)
  • @mov7162 — Musubi Tuner guidance
  • And many others, if you'd like to be on the credits and I didn't place you here, message me I likely assumed you didn't want to be here.

Funders

  • Anonymous funder #1 — Supported the original Sulphur
  • Anonymous funder #2 — Made Sulphur 2 possible; this model wouldn't exist without them

---

Thank you to everyone who contributed.