计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
image-generation【效率与协作】Guides Janus and Janus-Pro text-to-image generation, classifier-free guidance, and image decoding workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about Janus or Janus-Pro text-to-image generation, classifier-free guidance, output image saving, or adapting the repo's generation scripts.
references/workflows.md for end-to-end generation recipes.references/api-reference.md for verified generation-loop parameters and helper calls.references/troubleshooting.md for CUDA, template, padding, and decode failures.scripts/janus_text_to_image.py for a safe dry-run helper and an optional real model run.For installation and model-family selection, use the root ../../references/installation-and-models.md.
Choose this route when the user asks to:
pad_id, past_key_values, or token/image shapes in generation.vl_chat_processor.image_start_tag to the prompt.prepare_gen_img_embeds.gen_vision_model.decode_code.Validate the prompt and generation parameters without downloading weights:
python sub-skills/image-generation/scripts/janus_text_to_image.py \
--family janus-pro \
--model-id deepseek-ai/Janus-Pro-1B \
--prompt "A glass of red wine on a reflective surface." \
--output-dir ./generated_samples
The default mode prints a plan and does not download model weights. Add --run-model only when you are ready for the real generation run.
../multimodal-understanding/SKILL.md for image+question tasks.../janusflow-workflows/SKILL.md for JanusFlow rectified-flow image generation.../demos-and-serving/SKILL.md for Gradio/FastAPI serving.