generation
Guides Zero123Plus single-image to multi-view generation, ControlNet variants, model choices, camera outputs, and postprocessing workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- generation
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guides Zero123Plus single-image to multi-view generation, ControlNet variants, model choices, camera outputs, and postprocessing workflows.
- disable-model-invocation
- true
02 资源文件 8
- 参考文档references/api-reference.md4.1 KB
- 参考文档references/model-and-camera.md2.6 KB
- 参考文档references/troubleshooting.md6.2 KB
- 参考文档references/workflows.md6.5 KB
- 脚本scripts/matting_postprocess.py5.8 KB
- 脚本scripts/run_depth_controlnet.py9.8 KB
- 脚本scripts/run_img_to_mv.py9.3 KB
- 脚本scripts/run_normal_gen.py11.7 KB
03 SKILL.md 正文
Zero123Plus Generation
Use this sub-skill when the task is about producing, adapting, or debugging Zero123Plus multiview outputs from a single image: base v1.1/v1.2 runs, depth ControlNet, normal ControlNet, six-view grid interpretation, matting postprocess, or reference-only upstream image synthesis for inputs.
Do not use this sub-skill for serving or deployment surfaces such as
Streamlit, Gradio, Docker/Gitpod, or Cog. Route those questions to
../deployment/SKILL.md instead.
Read first
references/workflows.md: copyable recipes for the base, depth ControlNet, normal ControlNet, matting, and the optional text-to-image input helper.references/api-reference.md: verified pipeline and helper signatures, parameter notes, and call behavior.references/model-and-camera.md: model ids, six fixed views, camera poses, field of view, and license notes.references/troubleshooting.md: cache, CUDA, VRAM, image-shape, diffusers version, and matting dependency failures.
Bundled scripts
scripts/run_img_to_mv.py: v1.1 base single-image-to-six-view runner.scripts/run_depth_controlnet.py: v1.1 depth ControlNet runner.scripts/run_normal_gen.py: v1.2 normal generator runner with bundled matting postprocess.scripts/matting_postprocess.py: CPU-safe alpha/normal postprocess helper and CLI.
Routing procedure
- Identify the requested flow: base multiview generation, depth ControlNet, normal ControlNet, postprocess-only work, or optional image synthesis before Zero123Plus.
- Check GPU and cache readiness before a real run. The bundled scripts default
to local-cache-only loading; pass
--allow-downloadonly when network access and model fetches are approved. - For a standard six-view grid, use the bundled script that matches the requested model family. The scripts already encode the source defaults for scheduler choice, width, height, and output layout.
- For camera layout, view ordering, and license questions, use the model-and-camera reference. For exact callable signatures and preprocessing details, use the API reference.
- If the user asks about Streamlit, Gradio, Docker, or Cog rather than the core generation path, switch to the deployment sub-skill instead of duplicating those details here.
Stop conditions
- No CUDA GPU is available for a real generation run.
- The requested model or custom pipeline is not already cached and downloads are not approved.
- The user is asking about training or finetuning, which this repository does not expose.
- The issue is really about serving or deployment rather than generation.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).