Add Depth Anything 3 and Bernini-R tutorial pages#1148
Conversation
- 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
📝 WalkthroughWalkthroughTwo 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 ChangesTutorial Documentation and Navigation
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify 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. Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (9)
docs.jsonja/tutorials/utility/depth-anything-3.mdxja/tutorials/video/bernini-r.mdxko/tutorials/utility/depth-anything-3.mdxko/tutorials/video/bernini-r.mdxtutorials/utility/depth-anything-3.mdxtutorials/video/bernini-r.mdxzh/tutorials/utility/depth-anything-3.mdxzh/tutorials/video/bernini-r.mdx
| - **Small**과 **Base**는 `dualdpt` 헤드 유형을 사용하며, 신뢰도 추정 및 카메라 디코더를 지원합니다(다중 뷰 애플리케이션용)。 | ||
| - **Mono-Large**와 **Metric-Large**는 `dpt` 헤드 유형을 사용하며, 하늘 감지를 지원합니다。Metric-Large는 미터 단위의 원시 깊이를 출력합니다。 |
There was a problem hiding this comment.
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
| 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 | | ||
|
|
There was a problem hiding this comment.
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.
| 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.
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)Bernini-R (
tutorials/video/bernini-r.mdx)Languages
docs.jsontranslationSourceHash / translationFromfor sync trackingRelated
utility_depth_anything3_image_depth_estimation,utility_depth_anything3_video_depth_estimation,video_bernini_r_image_editing,video_bernini_r_video_editing