Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Produktivität · SKILL.md

janus

janus

Routes Janus, Janus-Pro, and JanusFlow workflows for multimodal understanding, text-to-image generation, and demo or service adaptation.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: janus description: "Routes Janus, Janus-Pro, and JanusFlow workflows for multimodal understanding, text-to-image generation, and demo or service adaptation." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

Janus

Use this skill for the DeepSeek Janus family:

  • Janus / Janus-Pro multimodal understanding and autoregressive text-to-image generation.
  • JanusFlow understanding and rectified-flow text-to-image generation.
  • Demo/service adaptation for Gradio, FastAPI, and client workflows.

Start here when the task names Janus, Janus-Pro, JanusFlow, image question answering, OCR/formula conversion, text-to-image generation, or a local demo/server.

Quick install

Read references/installation-and-models.md for the verified install variants and model-family notes. The usual starting point is:

pip install -e .

Use one of the extra installs only when the task needs it:

  • pip install -e .[gradio] for the Gradio demos.
  • pip install diffusers[torch] or another compatible diffusers build for JanusFlow generation.

If import behavior is unclear, run scripts/check_janus_environment.py from any working directory.

Routes

Minimal verification

When you only need to confirm that the package is importable and the public APIs are visible, use the environment check script first, then inspect the relevant sub-skill:

  1. Import the package and confirm the installed distribution.
  2. Verify the route-specific classes or helpers you need.
  3. Choose the sub-skill that matches the user request instead of guessing from file names.

What this skill covers

  • Prompt formatting and image placeholder handling.
  • janus.utils.io.load_pil_images for file-path and data:image/... inputs.
  • VLMImageProcessor, VLChatProcessor, and MultiModalityCausalLM for Janus / Janus-Pro understanding.
  • Janus generation loops that use classifier-free guidance and VQ decoding.
  • JanusFlow's rectified-flow generation path, including its diffusers/VAE dependency.
  • Gradio and FastAPI demo adaptation without depending on the original checkout.

What this skill does not do

  • It does not run the large model downloads or demos automatically.
  • It does not tell future agents to open source-checkout files.
  • It does not replace route-specific troubleshooting; read the nearest sub-skill reference when something fails.

Provenance

Read references/repo-provenance.md before using this skill on a different checkout or before refreshing it.

Gespeicherte Skills