[{"data":1,"prerenderedAt":538},["ShallowReactive",2],{"docs-nav:docs_zh":3,"docs-page:\u002Fdocs\u002Fguides\u002Fr2":155,"docs-surround:\u002Fdocs\u002Fguides\u002Fr2":533},[4],{"title":5,"path":6,"stem":7,"children":8,"page":70},"Docs","\u002Fdocs","docs",[9,71,130],{"title":10,"icon":11,"path":12,"stem":13,"children":14,"page":70},"指南","i-lucide-book-open","\u002Fdocs\u002Fguides","docs\u002F1.guides",[15,20,25,30,35,40,45,50,55,60,65],{"title":16,"path":17,"stem":18,"icon":19},"简介","\u002Fdocs\u002Fguides\u002Fintroduction","docs\u002F1.guides\u002F01.introduction","i-lucide-info",{"title":21,"path":22,"stem":23,"icon":24},"快速上手","\u002Fdocs\u002Fguides\u002Fquick-start","docs\u002F1.guides\u002F02.quick-start","i-lucide-play",{"title":26,"path":27,"stem":28,"icon":29},"把办公室的电脑加进来","\u002Fdocs\u002Fguides\u002Foffice","docs\u002F1.guides\u002F03.office","i-lucide-building-2",{"title":31,"path":32,"stem":33,"icon":34},"在 GPU 租用平台渲染","\u002Fdocs\u002Fguides\u002Fcloud","docs\u002F1.guides\u002F04.cloud","i-lucide-cloud",{"title":36,"path":37,"stem":38,"icon":39},"配置 Cloudflare R2 存储","\u002Fdocs\u002Fguides\u002Fr2","docs\u002F1.guides\u002F05.r2","i-lucide-database",{"title":41,"path":42,"stem":43,"icon":44},"把主机放到 NAS 上","\u002Fdocs\u002Fguides\u002Fnas","docs\u002F1.guides\u002F06.nas","i-lucide-hard-drive",{"title":46,"path":47,"stem":48,"icon":49},"设备不在一处","\u002Fdocs\u002Fguides\u002Fremote","docs\u002F1.guides\u002F07.remote","i-lucide-globe",{"title":51,"path":52,"stem":53,"icon":54},"拿到成片","\u002Fdocs\u002Fguides\u002Ffilm","docs\u002F1.guides\u002F08.film","i-lucide-film",{"title":56,"path":57,"stem":58,"icon":59},"改了文件怎么办","\u002Fdocs\u002Fguides\u002Fupdate","docs\u002F1.guides\u002F09.update","i-lucide-refresh-cw",{"title":61,"path":62,"stem":63,"icon":64},"主机坏了或要换主机","\u002Fdocs\u002Fguides\u002Fhost","docs\u002F1.guides\u002F10.host","i-lucide-server-cog",{"title":66,"path":67,"stem":68,"icon":69},"常见问题","\u002Fdocs\u002Fguides\u002Ffaq","docs\u002F1.guides\u002F11.faq","i-lucide-circle-help",false,{"title":72,"icon":73,"path":74,"stem":75,"children":76,"page":70},"概念","i-lucide-box","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[77,82,86,91,96,101,105,110,115,120,125],{"title":78,"path":79,"stem":80,"icon":81},"工作区和主机","\u002Fdocs\u002Fconcepts\u002Fworkspace","docs\u002F2.concepts\u002F01.workspace","i-lucide-network",{"title":83,"path":84,"stem":85,"icon":44},"存储","\u002Fdocs\u002Fconcepts\u002Fstorage","docs\u002F2.concepts\u002F02.storage",{"title":87,"path":88,"stem":89,"icon":90},"资产、解包与按需拉取","\u002Fdocs\u002Fconcepts\u002Fassets","docs\u002F2.concepts\u002F03.assets","i-lucide-images",{"title":92,"path":93,"stem":94,"icon":95},"项目、任务和版本","\u002Fdocs\u002Fconcepts\u002Ftasks","docs\u002F2.concepts\u002F04.tasks","i-lucide-list-checks",{"title":97,"path":98,"stem":99,"icon":100},"镜头和分段","\u002Fdocs\u002Fconcepts\u002Fshots","docs\u002F2.concepts\u002F05.shots","i-lucide-clapperboard",{"title":102,"path":103,"stem":104,"icon":54},"成片","\u002Fdocs\u002Fconcepts\u002Ffilm","docs\u002F2.concepts\u002F06.film",{"title":106,"path":107,"stem":108,"icon":109},"Blender 和 FFmpeg","\u002Fdocs\u002Fconcepts\u002Fruntimes","docs\u002F2.concepts\u002F07.runtimes","i-lucide-package",{"title":111,"path":112,"stem":113,"icon":114},"加入与权限","\u002Fdocs\u002Fconcepts\u002Fjoining","docs\u002F2.concepts\u002F08.joining","i-lucide-key-round",{"title":116,"path":117,"stem":118,"icon":119},"渲染名额","\u002Fdocs\u002Fconcepts\u002Fseats","docs\u002F2.concepts\u002F09.seats","i-lucide-gauge",{"title":121,"path":122,"stem":123,"icon":124},"备份和接管","\u002Fdocs\u002Fconcepts\u002Fbackup","docs\u002F2.concepts\u002F10.backup","i-lucide-life-buoy",{"title":126,"path":127,"stem":128,"icon":129},"插件","\u002Fdocs\u002Fconcepts\u002Fplugins","docs\u002F2.concepts\u002F11.plugins","i-lucide-puzzle",{"title":131,"icon":132,"path":133,"stem":134,"children":135,"page":70},"参考","i-lucide-library","\u002Fdocs\u002Freference","docs\u002F3.reference",[136,141,146,151],{"title":137,"path":138,"stem":139,"icon":140},"命令行","\u002Fdocs\u002Freference\u002Fcli","docs\u002F3.reference\u002F1.cli","i-lucide-terminal",{"title":142,"path":143,"stem":144,"icon":145},"本机配置","\u002Fdocs\u002Freference\u002Fconfig","docs\u002F3.reference\u002F2.config","i-lucide-sliders",{"title":147,"path":148,"stem":149,"icon":150},"HTTP 接口","\u002Fdocs\u002Freference\u002Fapi","docs\u002F3.reference\u002F3.api","i-lucide-code-xml",{"title":152,"path":153,"stem":154,"icon":129},"插件开发","\u002Fdocs\u002Freference\u002Fplugins","docs\u002F3.reference\u002F4.plugins",{"id":156,"title":36,"body":157,"description":527,"extension":528,"meta":529,"navigation":530,"path":37,"seo":531,"stem":38,"__hash__":532},"docs_zh\u002Fdocs\u002F1.guides\u002F05.r2.md",{"type":158,"value":159,"toc":513},"minimark",[160,165,174,182,216,220,258,262,265,341,345,348,353,363,419,423,426,456,460,463,477,484,488,496],[161,162,164],"h2",{"id":163},"为什么首选-cloudflare-r2","为什么首选 Cloudflare R2",[166,167,168,169,173],"p",{},"当你的渲染机不在同一个办公室（例如美术在家办公、或租用 ",[170,171,172],"a",{"href":32},"RunPod \u002F Vast.ai 云端算力","）时，工作区必须使用对象存储。",[166,175,176,177,181],{},"在所有 S3 兼容存储中，",[178,179,180],"strong",{},"Cloudflare R2 是最推荐的选择","：",[183,184,185,196,210],"ol",{},[186,187,188,191,192,195],"li",{},[178,189,190],{},"0 出网流量费（Zero Egress Fees）","：\n传统云厂商（如 AWS S3、阿里云 OSS）通常按每 GB 收取高昂的下行流量费。当几台 4090 节点并发从存储中拉取数十 GB 的贴图资产包时，流量账单往往超过服务器算力本身的租用费用。",[178,193,194],{},"Cloudflare R2 完全不收取任何出网流量费","。",[186,197,198,206,207,209],{},[178,199,200,201,205],{},"完整支持 HTTP ",[202,203,204],"code",{},"Range"," 分段读取","：\ndanio 采用 Pack 数据包技术，渲染机只需拉取指定镜头用到的具体文件条目。R2 完美支持标准 S3 的 ",[202,208,204],{}," 字节偏移读取，避免无意义的整包下载。",[186,211,212,215],{},[178,213,214],{},"全球 Anycast 边缘网络","：\n无论你的算力实例位于北美、欧洲还是亚洲，均可通过 Cloudflare 的全球边缘节点就近低延迟访问。",[161,217,219],{"id":218},"步骤-1在-cloudflare-创建存储桶","步骤 1：在 Cloudflare 创建存储桶",[183,221,222,231,238,244],{},[186,223,224,225,195],{},"登录 ",[170,226,230],{"href":227,"rel":228},"https:\u002F\u002Fdash.cloudflare.com\u002F",[229],"nofollow","Cloudflare 控制台",[186,232,233,234,237],{},"在左侧侧边栏中点击 ",[178,235,236],{},"R2 对象存储","（首次使用需开通 R2 服务，绑定信用卡或 PayPal，每月提供 10 GB 免费存储额度）。",[186,239,240,241,195],{},"点击 ",[178,242,243],{},"创建存储桶（Create bucket）",[186,245,246,247,250,251,254,255,195],{},"输入存储桶名称（例如 ",[202,248,249],{},"danio-render-store","），存储桶位置（Location）建议保持为 ",[178,252,253],{},"自动（Automatic）","，随后点击 ",[178,256,257],{},"创建存储桶",[161,259,261],{"id":260},"步骤-2生成-s3-兼容-api-凭据","步骤 2：生成 S3 兼容 API 凭据",[166,263,264],{},"为了让 danio 能读写 R2，需要生成一对具有 S3 兼容协议的 API 凭证：",[183,266,267,273,278,307,313],{},[186,268,269,270,195],{},"在 R2 对象存储概览页面，点击右侧的 ",[178,271,272],{},"管理 R2 API 令牌（Manage R2 API Tokens）",[186,274,240,275,195],{},[178,276,277],{},"创建 API 令牌（Create API Token）",[186,279,280,281],{},"配置权限：\n",[282,283,284,293,301],"ul",{},[186,285,286,289,290,195],{},[178,287,288],{},"权限","：选择 ",[178,291,292],{},"对象读和写（Object Read & Write）",[186,294,295,298,299,195],{},[178,296,297],{},"指定存储桶","：可以选择“所有存储桶”或仅限刚才创建的 ",[202,300,249],{},[186,302,303,306],{},[178,304,305],{},"TTL","：根据你的安全策略选择有效期，或保持为永久有效。",[186,308,309,310,195],{},"点击底部 ",[178,311,312],{},"创建 API 令牌",[186,314,315,316,319,320],{},"页面会展示凭据，请",[178,317,318],{},"立即复制保存","（离开页面后 Secret 将无法再次查看）：\n",[282,321,322,327,332],{},[186,323,324],{},[178,325,326],{},"访问密钥 ID（Access Key ID）",[186,328,329],{},[178,330,331],{},"机密访问密钥（Secret Access Key）",[186,333,334,337,338,195],{},[178,335,336],{},"S3 API 终结点（Endpoint）","：格式类似于 ",[202,339,340],{},"https:\u002F\u002F\u003Caccount_id>.r2.cloudflarestorage.com",[161,342,344],{"id":343},"步骤-3在-danio-中配置存储","步骤 3：在 danio 中配置存储",[166,346,347],{},"打开 danio 主机界面：",[349,350,352],"h3",{"id":351},"场景-a新建工作区时配置","场景 A：新建工作区时配置",[166,354,355,356,362],{},"在首次启动或「新建工作区」向导中，存储类型选择 ",[178,357,358],{},[359,360,361],"ui",{},"S3","，填入以下参数：",[282,364,365,376,386,397,411],{},[186,366,367,372,373,195],{},[178,368,369],{},[359,370,371],{},"Endpoint","：填入刚才复制的 R2 Endpoint，例如 ",[202,374,375],{},"https:\u002F\u002Fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.cloudflarestorage.com",[186,377,378,383,384,195],{},[178,379,380],{},[359,381,382],{},"存储桶","：填入存储桶名称，如 ",[202,385,249],{},[186,387,388,393,394,195],{},[178,389,390],{},[359,391,392],{},"区域（Region）","：必须填写 ",[202,395,396],{},"auto",[186,398,399,404,405,410],{},[178,400,401],{},[359,402,403],{},"Access Key"," 与 ",[178,406,407],{},[359,408,409],{},"Secret Key","：填入对应的令牌凭证。",[186,412,413,418],{},[178,414,415],{},[359,416,417],{},"路径风格（Path style）","：保持关闭（R2 默认支持虚拟主机风格与路径风格）。",[349,420,422],{"id":421},"场景-b已有工作区迁移到-r2","场景 B：已有工作区迁移到 R2",[166,424,425],{},"如果你的工作区原来使用共享目录或本地存储：",[183,427,428,437,444,450],{},[186,429,430,431,434,435,195],{},"打开 ",[359,432,433],{},"工作区详情"," → ",[359,436,83],{},[186,438,439,440,443],{},"点击右侧的 ",[359,441,442],{},"迁移到…"," 按钮。",[186,445,446,447,449],{},"存储类型选 ",[359,448,361],{},"，填入上述 R2 的各项参数后点击确认。",[186,451,452,453,195],{},"danio 会在后台平滑同步已有数据包，迁移期间",[178,454,455],{},"无需停机，可正常提交与渲染",[161,457,459],{"id":458},"步骤-4连通性测试与验证","步骤 4：连通性测试与验证",[166,461,462],{},"点击保存或迁移前，danio 会自动对填写的 S3 终结点发起完整的兼容性与权限校验：",[282,464,465,468,471,474],{},[186,466,467],{},"签名验证（Signature v4）",[186,469,470],{},"分片上传（Multipart Upload，超过 16MB 的大包分片上传）",[186,472,473],{},"字节范围读取（HTTP Range，按需精准拉取条目）",[186,475,476],{},"预签名 URL 生成与 SHA-256 完整性核验",[166,478,479,480,483],{},"全部测试通过后，存储状态显示为 ",[359,481,482],{},"正常","，工作区即可无缝接入云端节点。",[161,485,487],{"id":486},"进阶配置受限的渲染节点凭证可选","进阶：配置受限的渲染节点凭证（可选）",[166,489,490,491,181],{},"为保障资产安全，danio 支持在工作区存储设置中额外填写一对 ",[178,492,493],{},[359,494,495],{},"渲染机用的密钥",[183,497,498,504,510],{},[186,499,500,501,195],{},"在 Cloudflare 中再生成一枚 API 令牌，权限只赋予 ",[178,502,503],{},"对象只读（Object Read）",[186,505,506,507,509],{},"在 danio ",[359,508,83],{}," 设置中展开“渲染机密钥”，填入该只读凭证。",[186,511,512],{},"这样加入工作区的云端临时渲染机仅能读取渲染所需的 pack，无法擅自删除或覆写存储桶中的其他资产，进一步提升安全性。",{"title":514,"searchDepth":515,"depth":516,"links":517},"",2,3,[518,519,520,521,525,526],{"id":163,"depth":515,"text":164},{"id":218,"depth":515,"text":219},{"id":260,"depth":515,"text":261},{"id":343,"depth":515,"text":344,"children":522},[523,524],{"id":351,"depth":516,"text":352},{"id":421,"depth":516,"text":422},{"id":458,"depth":515,"text":459},{"id":486,"depth":515,"text":487},"为工作区配置 Cloudflare R2 对象存储：免出网流量费，完美兼容 S3 API，适合跨地域与云端渲染。","md",{},{"icon":39},{"title":36,"description":527},"Byqv2FxRQKNu1T3rR99HqgUyV7TdZ-SftU-IV5GmV3U",[534,536],{"title":31,"path":32,"stem":33,"description":535,"icon":34,"children":-1},"在 RunPod、Vast.ai 或 AutoDL 按需租用 RTX 4090 算力节点，用一条命令接入工作区。",{"title":41,"path":42,"stem":43,"description":537,"icon":44,"children":-1},"用 Docker 在 NAS 上运行主机，存储就是 NAS 上的共享文件夹。",1794619223479]