@optima-chat/comfy-cli 0.3.0 → 0.3.1
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.
- package/README.md +9 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,13 +44,14 @@ comfy model list --type checkpoints
|
|
|
44
44
|
```bash
|
|
45
45
|
comfy generate "a beautiful sunset over mountains"
|
|
46
46
|
comfy generate "cyberpunk city" --width 1024 --height 768
|
|
47
|
-
comfy generate "a cat"
|
|
47
|
+
comfy generate "a cat" # 默认等待完成并显示实时进度
|
|
48
|
+
comfy generate "a cat" --no-wait # 提交后立即返回
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
**选项**:
|
|
51
52
|
- `--width <number>`: 图像宽度(默认:1024)
|
|
52
53
|
- `--height <number>`: 图像高度(默认:1024)
|
|
53
|
-
- `--
|
|
54
|
+
- `--no-wait`: 提交后立即返回(默认等待完成并显示实时进度)
|
|
54
55
|
- `--json`: 输出 JSON 格式
|
|
55
56
|
|
|
56
57
|
#### 图像编辑(图生图)
|
|
@@ -58,11 +59,12 @@ comfy generate "a cat" --watch # 实时监听生成进度
|
|
|
58
59
|
```bash
|
|
59
60
|
comfy edit input.png "add more details"
|
|
60
61
|
comfy edit photo.jpg "make it anime style"
|
|
61
|
-
comfy edit image.png "stylize"
|
|
62
|
+
comfy edit image.png "stylize" # 默认等待完成并显示实时进度
|
|
63
|
+
comfy edit image.png "stylize" --no-wait # 提交后立即返回
|
|
62
64
|
```
|
|
63
65
|
|
|
64
66
|
**选项**:
|
|
65
|
-
- `--
|
|
67
|
+
- `--no-wait`: 提交后立即返回(默认等待完成并显示实时进度)
|
|
66
68
|
- `--json`: 输出 JSON 格式
|
|
67
69
|
|
|
68
70
|
#### 视频生成(图生视频)
|
|
@@ -70,7 +72,8 @@ comfy edit image.png "stylize" --watch # 实时监听编辑进度
|
|
|
70
72
|
```bash
|
|
71
73
|
comfy video portrait.png --prompt "smooth motion"
|
|
72
74
|
comfy video scene.jpg --width 512 --height 512
|
|
73
|
-
comfy video image.png --prompt "dancing"
|
|
75
|
+
comfy video image.png --prompt "dancing" # 默认等待完成并显示实时进度
|
|
76
|
+
comfy video image.png --prompt "dancing" --no-wait # 提交后立即返回
|
|
74
77
|
```
|
|
75
78
|
|
|
76
79
|
**选项**:
|
|
@@ -78,7 +81,7 @@ comfy video image.png --prompt "dancing" --watch # 实时监听生成进度
|
|
|
78
81
|
- `-n, --negative <text>`: 负向提示词
|
|
79
82
|
- `--width <number>`: 视频宽度(默认:512)
|
|
80
83
|
- `--height <number>`: 视频高度(默认:512)
|
|
81
|
-
- `--
|
|
84
|
+
- `--no-wait`: 提交后立即返回(默认等待完成并显示实时进度)
|
|
82
85
|
- `--json`: 输出 JSON 格式
|
|
83
86
|
|
|
84
87
|
---
|