FineToon Texttovideo

提供商AiCoderv2
分类text-to-video
许可证apache-2.0
下载量63
星标0

简介

FineToon 是一款专注于将文本转化为视频的开源生成模型。与追求极致写实的模型不同,它更侧重于风格化的视觉呈现,能够将简单的文字描述转化为具有艺术感或动漫风格的短视频。对于国内开发者而言,由于其采用 Apache-2.0 协议,部署门槛较低且商业友好。它适合用于快速制作社交媒体短视频素材、简单的动画分镜演示或作为 AI 视频管线中的风格化模块,是尝试轻量级视频生成方案的理想选择。

核心亮点

  • 开源 Apache-2.0 协议,商业部署无压力
  • 擅长风格化视频生成,视觉效果具有艺术感
  • 支持文本直接驱动视频,创作门槛极低
  • 适合快速产出短视频素材与动画分镜

使用方法

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

model = AutoModel.from_pretrained("AiCoderv2/FineToon-Texttovideo")
tokenizer = AutoTokenizer.from_pretrained("AiCoderv2/FineToon-Texttovideo")

Hugging Face 下载

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

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

操作指引
pip install -U huggingface_hub

命令行下载

下载完整模型库

下载完整模型库
huggingface-cli download AiCoderv2/FineToon-Texttovideo

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

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

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

SDK 下载

SDK 下载
# 模型下载
from huggingface_hub import snapshot_download
model_dir = snapshot_download('AiCoderv2/FineToon-Texttovideo')

Git 下载

请确保 lfs 已经被正确安装

Git 下载
git lfs install
git clone https://huggingface.co/AiCoderv2/FineToon-Texttovideo

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

跳过 LFS
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/AiCoderv2/FineToon-Texttovideo

模型文件托管在 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('AiCoderv2/FineToon-Texttovideo')
tokenizer = AutoTokenizer.from_pretrained('AiCoderv2/FineToon-Texttovideo')

完整文档

来源: HuggingFace

---
license: apache-2.0
library_name: transformers.js
---

Create a 8 second cinematic video ad for a job post titled “We’re Hiring – Videographer”.
Style: luxury, futuristic, minimal — color palette white, gold, and black.
Scene composition:

Dynamic intro with glowing gold geometric shapes and digital film strips.

Floating icons representing creativity and media: video camera, film reel, clapperboard, 💬 DM icon.

Soft glowing text transitions.

No humans, no faces.

Subtle background motion: abstract light rays, gold particles, or smooth camera panning over modern design elements.
Text sequence suggestion:
1️⃣ “🚀 We’re Hiring – Videographer!”
2️⃣ “Create. Edit. Inspire in the world of healthcare.”
3️⃣ “CV 📩 Contact us via DM!”
Typography: bold, modern sans-serif, animated with smooth fade and motion blur.
Soundtrack: ambient cinematic music with subtle beats (no lyrics).
Final mood: professional, elegant, and inspiring — perfect for Instagram Reels, LinkedIn post, or website hero section.