Loading...
Loading...
Compare original and translation side by side
undefinedundefined
CLI deep dive: [`runcomfy-cli`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/runcomfy-cli) skill.
---
CLI深度解析:[`runcomfy-cli`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/runcomfy-cli) 功能。
---qwen/qwen-edit-2509/lora/relightPurpose-built relighting LoRA on Qwen Edit 2509. Tuned specifically for changing lighting direction, color temperature, intensity, and mood while preserving subject identity, pose, and framing. Pick for: precise lighting control ("golden hour key light from left, soft fill from right, no rim"), brand product relighting, portrait mood shifts. Avoid for: edits that aren't really about lighting — use generic image edit.
google/nano-banana-2/editIdentity-preserving edit driven by spatial / prose language. Lighting changes via prompt:. Pick for: lighting change as part of a broader edit pass (also swapping background, adding objects). Avoid for: relighting-only when you want maximum lighting fidelity — use Qwen Edit Relight."convert to golden hour with warm key light from the left"
openai/gpt-image-2/editMulti-ref edit; can reference an image with the target lighting style and apply it. Pick for: "match the lighting of this reference photo" workflows with explicit reference images. Avoid for: pure prose lighting description — Qwen Edit Relight wins.
blackforestlabs/flux-1-kontext/pro/editSingle-instruction, high-preservation. Use form:Pick for: surgical lighting tweak on one image without affecting anything else."Keep everything exactly. Change the lighting to soft window light from the left, late-afternoon warm temperature."
qwen/qwen-edit-2509/lora/relight基于Qwen Edit 2509打造的专用重打光LoRA。专为调整灯光方向、色温、强度和氛围而训练,同时保留主体特征、姿态和构图。 适用场景:精准灯光控制(如“左侧45°方向的黄金时刻主光,右侧柔和补光,无轮廓光”)、品牌产品重打光、人像氛围转换。 不适用场景:非灯光相关的编辑——请使用通用图像编辑功能。
google/nano-banana-2/edit基于空间/文字描述的保留主体特征编辑。可通过提示词实现灯光调整:。 适用场景:灯光调整作为更广泛编辑流程的一部分(同时更换背景、添加物体)。 不适用场景:仅需重打光且追求最高灯光还原度——请使用Qwen Edit Relight。"convert to golden hour with warm key light from the left"
openai/gpt-image-2/edit多参考图编辑;可参考目标灯光风格的图片并应用该风格。 适用场景:需要“匹配参考照片灯光”的工作流,且提供明确参考图。 不适用场景:仅通过文字描述灯光——Qwen Edit Relight效果更佳。
blackforestlabs/flux-1-kontext/pro/edit单指令、高保留度编辑。使用格式:适用场景:对单张图片进行精细化灯光调整,且不影响其他内容。"Keep everything exactly. Change the lighting to soft window light from the left, late-afternoon warm temperature."
runcomfy run qwen/qwen-edit-2509/lora/relight \
--input '{
"image": "https://your-cdn.example/product.jpg",
"prompt": "Relight as golden-hour studio: warm 3200K key light from camera-left at 45°, soft cool fill from right, no rim light, preserve product orientation and color identity."
}' \
--output-dir ./outruncomfy run qwen/qwen-edit-2509/lora/relight \
--input '{
"image": "https://your-cdn.example/product.jpg",
"prompt": "Relight as golden-hour studio: warm 3200K key light from camera-left at 45°, soft cool fill from right, no rim light, preserve product orientation and color identity."
}' \
--output-dir ./out"golden hour""studio softbox""overcast diffuse""single hard spotlight""window light""blue hour""warm 3200K""neutral 5500K""cool 6500K""camera-left at 45°""top-down""3/4 from right""behind subject (rim)""soft""hard""high-contrast""flat""preserve subject pose, framing, and color identity""key light from left, soft fill from right, hair rim from behind""golden hour""blue hour""high-noon""overcast afternoon""golden hour""studio softbox""overcast diffuse""single hard spotlight""window light""blue hour""warm 3200K""neutral 5500K""cool 6500K""camera-left at 45°""top-down""3/4 from right""behind subject (rim)""soft""hard""high-contrast""flat""preserve subject pose, framing, and color identity""key light from left, soft fill from right, hair rim from behind""golden hour""blue hour""high-noon""overcast afternoon"runcomfy run google/nano-banana-2/edit \
--input '{
"prompt": "Keep the subject and pose exactly. Relight as soft window light from the left, late-afternoon warm color temperature. Add subtle shadow on the right side of the face.",
"image_urls": ["https://your-cdn.example/portrait.jpg"]
}' \
--output-dir ./outimage-editruncomfy run google/nano-banana-2/edit \
--input '{
"prompt": "Keep the subject and pose exactly. Relight as soft window light from the left, late-afternoon warm color temperature. Add subtle shadow on the right side of the face.",
"image_urls": ["https://your-cdn.example/portrait.jpg"]
}' \
--output-dir ./outimage-edit"warm window light from camera-left, soft shadow on counter, late-afternoon temperature, preserve product orientation""warm window light from camera-left, soft shadow on counter, late-afternoon temperature, preserve product orientation""golden hour rim from behind, warm soft key from front-left, preserve identity""golden hour rim from behind, warm soft key from front-left, preserve identity"images: [source, lighting-reference]"Apply the lighting (direction, color temperature, contrast) of image 2 to image 1. Preserve image 1's subject identity."images: [source, lighting-reference]"Apply the lighting (direction, color temperature, contrast) of image 2 to image 1. Preserve image 1's subject identity."image_urlsimage_urlsai-image-generationai-image-generationqwen-imagebest-image-editing-modelsqwen-imagebest-image-editing-models| code | meaning |
|---|---|
| 0 | success |
| 64 | bad CLI args |
| 65 | bad input JSON / schema mismatch |
| 69 | upstream 5xx |
| 75 | retryable: timeout / 429 |
| 77 | not signed in or token rejected |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 64 | CLI参数错误 |
| 65 | 输入JSON错误/ schema不匹配 |
| 69 | 上游服务5xx错误 |
| 75 | 可重试:超时/429错误 |
| 77 | 未登录或令牌被拒绝 |
--output-dir--output-dirnpm i -g @runcomfy/clinpx -y @runcomfy/cliruncomfy login~/.config/runcomfy/token.jsonRUNCOMFY_TOKEN--inputmodel-api.runcomfy.net*.runcomfy.net*.runcomfy.comBash(runcomfy *)npm i -g @runcomfy/clinpx -y @runcomfy/cliruncomfy login~/.config/runcomfy/token.jsonRUNCOMFY_TOKEN--inputmodel-api.runcomfy.net*.runcomfy.net*.runcomfy.comBash(runcomfy *)runcomfy-cliimage-editai-image-generationimage-inpaintingruncomfy-cliimage-editai-image-generationimage-inpainting