CapCut Mate API - 最新版
CapCut Mate API 是一款完全开源免费、基于 FastAPI构建的剪映草稿自动化助手,支持独立部署。本项目专注于为大模型赋能基础视频编辑能力,提供开箱即用的视频剪辑 Skills,已将剪映核心功能全流程自动化。可直接对接大模型实现多样化智能视频剪辑,让普通用户也能快速制作出专业高级的视频作品。


tela 是 sfumato‑ai 推出的原生推理引擎,主打不依赖 Python、单二进制分发,专门针对 MiniMax‑H3 系列模型(Ref2VA、FL2VA、MiniMax‑H3‑Image、pi‑H3)做视频、音频、千万像素静态图推理,面向 Agent 与后端生产场景设计,替代节点图式工作流。
582MB0 人已下载 手机查看
tela 是一款专为 MiniMax-H3 模型系列(Ref2VA, FL2VA, H3-Image, pi-H3)打造的高性能推理引擎。它摒弃了传统的 Python 节点图架构,采用纯 C++20 和 CUDA 编写,提供单文件二进制分发。
tela 为智能体(Agents)和生产环境提供可预测的 CLI 接口、持久的 HTTP 服务器以及极致的推理速度,支持从 6GB 到 96GB VRAM 的广泛硬件配置,并原生支持 Blackwell 架构的 NVFP4 量化。

dit=nvfp4a8,在同一 NVFP4 检查点上使用 8 位 MXFP8 激活,显著提升 PSNR 和 SSIM。tela render, tela serve, tela doctor),无需复杂的 Python 环境配置。NVFP4 不仅大幅降低显存占用(约减少 7.5 GB),还保持了极高的保真度(平均 Ref2VA 保真度 24.67 dB PSNR)。
| 工作负载 | INT8 DiT | NVFP4 DiT | 加速 | VRAM 节省 | PSNR (dB) |
|---|---|---|---|---|---|
| Ref2VA crush (73帧) | 19.56 s | 17.82 s | 1.10× | -7.6 GiB | 21.58 |
| H3-Image 16.82 MP | 9.12 s | 8.14 s | 1.12× | -7.5 GiB | 14.79 |
开启 Spark 稀疏注意力后,长视频推理效率显著提升。
| 模式 | DiT 大小 | 3s 视频 DiT 耗时 | 冷加载耗时 |
|---|---|---|---|
| ComfyUI 0.45 INT8 | 21.0 GB | 34.6 s | 4.41 s |
| tela W4A8 + Spark | 11.8 GB | 33.4 s | 1.13 s |
tela 提供预构建的 Linux 和 Windows fatbin(支持 sm_86/89/120)。
# 下载并解压
tar -xzf tela-linux-x86_64.tar.gz -C ~/.local
export PATH="$HOME/.local/bin:$PATH"
# 检查环境
tela doctor
tela 默认搜索 ~/.tela/models,也可符号链接 ComfyUI 的 models 目录。
export TELA_MODELS="${TELA_MODELS:-$HOME/.tela/models}"
mkdir -p "$TELA_MODELS"/{diffusion_models,text_encoders,vae}
# 下载基础栈 (Qwen3-VL, VAEs)
huggingface-cli download Comfy-Org/MiniMax-H3 \
text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors \
vae/minimax_h3_video_vae_fp16.safetensors \
--local-dir "$TELA_MODELS"
# 下载 INT4/W4A8 检查点 (通用)
huggingface-cli download sfumato-ai/MiniMax-H3-INT4 \
dit/minimax-h3-ref2va-int4.safetensors \
dit/minimax-h3-image-int4.safetensors \
--local-dir "$TELA_MODELS/diffusion_models"
生成 16.82 MP 静态图像:
tela render \
--checkpoint minimax-h3-image-int4.safetensors --quant dit=w4a8 \
--ref face.png:640x768 --size 3552x4736 \
--prompt "Candid 35mm portrait of the woman from <Picture 1>." \
-o portrait_16mp.png
Ref2VA 角色交换(带音频):
tela render \
--checkpoint minimax-h3-ref2va-int4.safetensors --quant dit=w4a8 \
--ref sheet.png:0.92mp --ref guide.mp4 --audio forced \
--prompt "Replace the person in <Video 1> with the woman from <Picture 1>." \
-o swap.mp4
启动持久 HTTP 服务器供智能体调用:
tela serve \
--checkpoint minimax-h3-ref2va-int4.safetensors --quant dit=w4a8 \
--listen 127.0.0.1:8765
tela为需要稳定、高速且资源可控的生产环境提供了一个强有力的新选择,特别是对于构建基于 MiniMax-H3 的智能体应用而言,tela 提供了无可比拟的工程优势。