Skip to content

Add Depth Anything 3 and Bernini-R tutorial pages#1148

Open
lin-bot23 wants to merge 1 commit into
Comfy-Org:mainfrom
lin-bot23:docs/berninger-depth3-tutorials
Open

Add Depth Anything 3 and Bernini-R tutorial pages#1148
lin-bot23 wants to merge 1 commit into
Comfy-Org:mainfrom
lin-bot23:docs/berninger-depth3-tutorials

Conversation

@lin-bot23

Copy link
Copy Markdown
Contributor

Summary

This PR adds tutorial documentation for two new open-source templates added in commit 65c22bbd (New Templates #938):

Depth Anything 3 (tutorials/utility/depth-anything-3.mdx)

  • Image and video depth estimation using Depth Anything 3 (ByteDance Seed)
  • Covers all four model variants: Small, Base, Mono-Large, Metric-Large
  • Both image depth estimation and video depth estimation workflows
  • Combined into one doc (same model family, different input types)

Bernini-R (tutorials/video/bernini-r.mdx)

  • Image and video editing using Bernini-R (ByteDance Wan2.2 renderer-only model)
  • Covers all six task types: t2v, v2v, rv2v, r2v, ads2v, img
  • Both image editing and video editing workflows
  • Combined into one doc (same model, different task modes)

Languages

  • English (original), Chinese, Japanese, Korean translations
  • Sidebar navigation updated for all 4 languages in docs.json
  • Translations marked with translationSourceHash / translationFrom for sync tracking

Related

  • Templates: utility_depth_anything3_image_depth_estimation, utility_depth_anything3_video_depth_estimation, video_bernini_r_image_editing, video_bernini_r_video_editing
  • Closes documentation gap for both open-source models

- New: tutorials/utility/depth-anything-3.mdx — Image and video depth
  estimation using Depth Anything 3 (ByteDance Seed)
- New: tutorials/video/bernini-r.mdx — Image and video editing using
  Bernini-R (ByteDance Wan2.2 renderer-only)
- Translated: ZH/JA/KO versions of both tutorials
- Updated: docs.json sidebar navigation for all 4 languages
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Two new MDX tutorial pages are added — one for Bernini-R (a renderer-only Wan 2.2 video model) and one for Depth Anything 3 (a depth-estimation utility) — each covering model installation, example workflows, and community resources. All pages are provided in English, Chinese, Japanese, and Korean, and their routes are registered in docs.json navigation across all four language sections.

Changes

Tutorial Documentation and Navigation

Layer / File(s) Summary
docs.json navigation registration
docs.json
Registers tutorials/video/bernini-r and tutorials/utility/depth-anything-3 routes (and their zh/, ja/, ko/ equivalents) in the Kandinsky video subgroup and Utility subgroup respectively, plus a minor EOF tweak.
Bernini-R tutorial (English)
tutorials/video/bernini-r.mdx
Adds the full English Bernini-R tutorial: model overview with supported tasks (t2v/v2v/rv2v/r2v/ads2v), weight installation paths (text_encoders/vae/loras/diffusion_models), image-editing and video-editing workflow sections with download/Comfy Cloud cards and step-by-step run instructions, and community resource links.
Bernini-R tutorial (ZH/JA/KO)
zh/tutorials/video/bernini-r.mdx, ja/tutorials/video/bernini-r.mdx, ko/tutorials/video/bernini-r.mdx
Adds Chinese, Japanese, and Korean localizations of the Bernini-R tutorial, each with the same structure as the English source: frontmatter with translation metadata, overview, installation, image- and video-editing workflow sections, and community resources.
Depth Anything 3 tutorial (English)
tutorials/utility/depth-anything-3.mdx
Adds the full English Depth Anything 3 tutorial: DA3 overview with UpdateReminder callout, installation directory layout for Small/Base/Mono-Large/Metric-Large checkpoints, image-depth and video-depth workflow sections with download/Comfy Cloud cards and run steps, a model-variant comparison table, and community resource links.
Depth Anything 3 tutorial (ZH/JA/KO)
zh/tutorials/utility/depth-anything-3.mdx, ja/tutorials/utility/depth-anything-3.mdx, ko/tutorials/utility/depth-anything-3.mdx
Adds Chinese, Japanese, and Korean localizations of the Depth Anything 3 tutorial, each mirroring the English structure with locale-specific frontmatter and translated content throughout.
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ko/tutorials/utility/depth-anything-3.mdx`:
- Around line 118-119: Replace the full-width Chinese punctuation marks in lines
118-119 of the Korean document with standard Korean punctuation. On line 118,
replace the full-width Chinese parentheses ( ) with appropriate Korean
parentheses and replace the full-width Chinese period 。 with standard Korean
punctuation. On line 119, make the same punctuation replacements. This
normalizes the document's punctuation style for consistency with Korean UI copy
conventions.

In `@tutorials/video/bernini-r.mdx`:
- Around line 20-29: The task-type table in the Bernini-R documentation is
missing the `img` task row even though the page documents image editing
capabilities and localized versions include it. Add a new row to the table
(between the header and the existing t2v, v2v, rv2v, r2v, and ads2v entries, or
in the appropriate sorted position) for the `img` task with its corresponding
inputs and description to keep the documentation complete and consistent across
all language versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: ee15bd66-19e6-4646-81de-d6fde0528fdf

📥 Commits

Reviewing files that changed from the base of the PR and between d4426ad and 0d3921e.

📒 Files selected for processing (9)
  • docs.json
  • ja/tutorials/utility/depth-anything-3.mdx
  • ja/tutorials/video/bernini-r.mdx
  • ko/tutorials/utility/depth-anything-3.mdx
  • ko/tutorials/video/bernini-r.mdx
  • tutorials/utility/depth-anything-3.mdx
  • tutorials/video/bernini-r.mdx
  • zh/tutorials/utility/depth-anything-3.mdx
  • zh/tutorials/video/bernini-r.mdx

Comment on lines +118 to +119
- **Small**과 **Base**는 `dualdpt` 헤드 유형을 사용하며, 신뢰도 추정 및 카메라 디코더를 지원합니다(다중 뷰 애플리케이션용)。
- **Mono-Large**와 **Metric-Large**는 `dpt` 헤드 유형을 사용하며, 하늘 감지를 지원합니다。Metric-Large는 미터 단위의 원시 깊이를 출력합니다。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Normalize Korean punctuation on Lines 118-119.

These lines currently use full-width Chinese punctuation (( ), ), which reads inconsistent in Korean UI copy. Quick polish pass keeps the sentence rhythm clean — same meaning, better readability.

Suggested patch
-- **Small**과 **Base**는 `dualdpt` 헤드 유형을 사용하며, 신뢰도 추정 및 카메라 디코더를 지원합니다(다중 뷰 애플리케이션용)。
-- **Mono-Large**와 **Metric-Large**는 `dpt` 헤드 유형을 사용하며, 하늘 감지를 지원합니다。Metric-Large는 미터 단위의 원시 깊이를 출력합니다。
+- **Small**과 **Base**는 `dualdpt` 헤드 유형을 사용하며, 신뢰도 추정 및 카메라 디코더를 지원합니다(다중 뷰 애플리케이션용).
+- **Mono-Large**와 **Metric-Large**는 `dpt` 헤드 유형을 사용하며, 하늘 감지를 지원합니다. Metric-Large는 미터 단위의 원시 깊이를 출력합니다.
🧰 Tools
🪛 LanguageTool

[grammar] ~118-~118: Ensure spelling is correct
Context: ...dualdpt` 헤드 유형을 사용하며, 신뢰도 추정 및 카메라 디코더를 지원합니다(다중 뷰 애플리케이션용)。 - Mono-Large와 **Metric-...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~119-~119: Ensure spelling is correct
Context: ...유형을 사용하며, 하늘 감지를 지원합니다。Metric-Large는 미터 단위의 원시 깊이를 출력합니다。 ## 커뮤니티 리소스 - [Depth Anything 3 GitHub (By...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ko/tutorials/utility/depth-anything-3.mdx` around lines 118 - 119, Replace
the full-width Chinese punctuation marks in lines 118-119 of the Korean document
with standard Korean punctuation. On line 118, replace the full-width Chinese
parentheses ( ) with appropriate Korean parentheses and replace the full-width
Chinese period 。 with standard Korean punctuation. On line 119, make the same
punctuation replacements. This normalizes the document's punctuation style for
consistency with Korean UI copy conventions.

Source: Linters/SAST tools

Comment on lines +20 to +29
Bernini-R supports these task types:

| Task | Inputs | Description |
|------|--------|-------------|
| **t2v** | Text prompt | Text-to-video generation |
| **v2v** | Source video | Video-to-video restyling |
| **rv2v** | Source video + ref images(s) | Reference-guided video editing (relighting, subject insertion) |
| **r2v** | Reference image(s) only | Reference-to-video generation |
| **ads2v** | Source video + ref video | Insert image/video content into source video |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add the missing img task row in the EN task-type table.

Line 20 introduces supported task types, but Lines 24-29 omit img even though this page documents image editing and localized pages include it. Tiny table fix, big trust win — keep the docs in sync so users don’t think image mode took a vacation.

Suggested patch
 | Task | Inputs | Description |
 |------|--------|-------------|
 | **t2v** | Text prompt | Text-to-video generation |
 | **v2v** | Source video | Video-to-video restyling |
 | **rv2v** | Source video + ref images(s) | Reference-guided video editing (relighting, subject insertion) |
 | **r2v** | Reference image(s) only | Reference-to-video generation |
 | **ads2v** | Source video + ref video | Insert image/video content into source video |
+| **img** | Source image | Image editing |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Bernini-R supports these task types:
| Task | Inputs | Description |
|------|--------|-------------|
| **t2v** | Text prompt | Text-to-video generation |
| **v2v** | Source video | Video-to-video restyling |
| **rv2v** | Source video + ref images(s) | Reference-guided video editing (relighting, subject insertion) |
| **r2v** | Reference image(s) only | Reference-to-video generation |
| **ads2v** | Source video + ref video | Insert image/video content into source video |
Bernini-R supports these task types:
| Task | Inputs | Description |
|------|--------|-------------|
| **t2v** | Text prompt | Text-to-video generation |
| **v2v** | Source video | Video-to-video restyling |
| **rv2v** | Source video + ref images(s) | Reference-guided video editing (relighting, subject insertion) |
| **r2v** | Reference image(s) only | Reference-to-video generation |
| **ads2v** | Source video + ref video | Insert image/video content into source video |
| **img** | Source image | Image editing |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tutorials/video/bernini-r.mdx` around lines 20 - 29, The task-type table in
the Bernini-R documentation is missing the `img` task row even though the page
documents image editing capabilities and localized versions include it. Add a
new row to the table (between the header and the existing t2v, v2v, rv2v, r2v,
and ads2v entries, or in the appropriate sorted position) for the `img` task
with its corresponding inputs and description to keep the documentation complete
and consistent across all language versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant