LongLive-RAG-405 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
LongLive-RAG:一个通用检索增强框架,用于生成长视频
LongLive-RAG-405 是一款基于 Python 开发的开源工具,专注于 installable、autoregressive、diffusion-models 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
LongLive-RAG:一个通用检索增强框架,用于生成长视频
LongLive-RAG-405 是一款基于 Python 开发的开源工具,专注于 installable、autoregressive、diffusion-models 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install longlive-rag-405
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install longlive-rag-405
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Retrodraseparator/LongLive-RAG-405
cd LongLive-RAG-405
pip install -e .
# 验证安装
python -c "import longlive_rag_405; print('安装成功')"
# 命令行使用
longlive-rag-405 --help
# 基本用法
longlive-rag-405 input_file -o output_file
# Python 代码中调用
import longlive_rag_405
# 示例
result = longlive_rag_405.process("input")
print(result)
# longlive-rag-405 配置文件示例(config.yml) app: name: "longlive-rag-405" debug: false log_level: "INFO" # 运行时指定配置文件 longlive-rag-405 --config config.yml # 或通过环境变量配置 export LONGLIVE_RAG_405_API_KEY="your-key" export LONGLIVE_RAG_405_OUTPUT_DIR="./output"
<img src="assets/longliverag-logo.png" width="560" alt="LongLive-RAG logo"/>
At block t, a standard AR model attends to a sliding-window context. LongLive-RAG inserts retrieved historical entries M_t between the sink and local windows:
Sliding window: A_sw = [ C_sink ‖ C_loc ]
LongLive-RAG: A_rag = [ C_sink ‖ M_t ‖ C_loc ]
| Stage | What happens |
|---|---|
| **1. Indexing** | Encode each completed latent block into a compact embedding and store it. |
| **2. Retrieval** | Match the current block against past embeddings and pull in the top-K as extra context. |
| **3. Embedding training** | Train the encoder offline on self-generated latents, with the base generator frozen. |
LongLive-RAG shares its environment with LongLive. Just follow the upstream LongLive installation guide.
git clone https://github.com/Retrodraseparator/LongLive-RAG-405.git
cd LongLive-RAG-405
python setup.py
Qixin Hu · Shuai Yang · Wei Huang · Song Han · Yukang Chen
🌐 More results and video comparisons on the project page.
Long-horizon comparisons. The native sliding-window baseline (left) accumulates errors and drifts over time, while adding LongLive-RAG (right) preserves subject identity and visual quality.
| Native (baseline) | Native + LongLive-RAG (Ours) |
|---|---|
LongLive-RAG-405是一个通用检索增强框架,用于长视频生成,具有较好的性能和可扩展性,但仍需要进一步优化和测试
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,LongLive-RAG-405 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | LongLive-RAG-405 |
| 原始描述 | 开源AI工具:Official Implementation of LongLive-RAG: A general retrieval-augmented framework。⭐75 · Python |
| Topics | installableautoregressivediffusion-modelsgenerative-ailong-video-generationpytorchpython |
| GitHub | https://github.com/Retrodraseparator/LongLive-RAG-405 |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-04 · 更新时间:2026-06-04 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。