@optima-chat/comfy-cli 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,9 +34,9 @@ comfy video <图像路径> [-p "运动描述"] [-n "负面提示"] [--width 512]
34
34
 
35
35
  **下载结果:**
36
36
  ```bash
37
- comfy download <PROMPT_ID> [-o ./comfy-output] [--pretty]
37
+ comfy download <PROMPT_ID> [-o ./output] [--pretty]
38
38
  ```
39
- - 下载生成的图像/视频到本地目录
39
+ - 下载生成的图像/视频到本地目录(默认:./output)
40
40
 
41
41
  ### 工作流管理
42
42
 
@@ -85,7 +85,7 @@ comfy config set server http://localhost:8188 # 更改服务器地址(
85
85
  ```bash
86
86
  comfy generate "a cute cat"
87
87
  ```
88
- 返回包含 `prompt_id` `outputs`(图像文件路径)的 JSON
88
+ 返回包含 `prompt_id` 和状态的 JSON,等待完成后使用 `comfy download <prompt_id>` 下载
89
89
 
90
90
  ### 示例 2:高分辨率图像
91
91
  ```bash
@@ -114,15 +114,23 @@ comfy queue status
114
114
  ```bash
115
115
  # 1. 生成图像
116
116
  comfy generate "a portrait of a woman"
117
- # 输出:./comfy-output/image_001.png
117
+ # 返回 prompt_id,等待完成后使用 comfy download 下载
118
118
 
119
- # 2. 编辑图像
120
- comfy edit ./comfy-output/image_001.png "add cinematic lighting"
121
- # 输出:./comfy-output/image_002.png
119
+ # 2. 下载第一张图像
120
+ comfy download <prompt_id_1>
121
+ # 输出:./output/comfy-cli_00001_.png
122
122
 
123
- # 3. 生成视频
124
- comfy video ./comfy-output/image_002.png --prompt "slow motion"
125
- # 输出:./comfy-output/video_001.mp4
123
+ # 3. 编辑图像
124
+ comfy edit ./output/comfy-cli_00001_.png "add cinematic lighting"
125
+ # 返回 prompt_id,等待完成后下载
126
+
127
+ # 4. 下载编辑后的图像
128
+ comfy download <prompt_id_2>
129
+ # 输出:./output/comfy-cli_00002_.png
130
+
131
+ # 5. 生成视频
132
+ comfy video ./output/comfy-cli_00002_.png --prompt "slow motion"
133
+ # 返回 prompt_id,等待完成后下载
126
134
  ```
127
135
 
128
136
  ### 示例 7:检查状态和下载
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/comfy-cli",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "A CLI tool for ComfyUI designed for LLM interactions",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",