maoda-commander-tt 0.0.56 → 0.0.57
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 +13 -2
- package/dist/{chunk-D2Y2LM4Q.js → chunk-BVS6VOMU.js} +206 -184
- package/dist/chunk-BVS6VOMU.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-D2Y2LM4Q.js.map +0 -1
package/README.md
CHANGED
|
@@ -407,8 +407,19 @@ XYQ 优先使用 artifact 的 `image.url` 无水印原图,缺失时才回退
|
|
|
407
407
|
写入生成上下文,XYQ 实现先上传图片,再把对应 `pippitAssetId` 按顺序放进
|
|
408
408
|
`pippit_asset_ids` 槽位。因此切换 source 时调用命令和“图1/图2”提示词都不用变化。
|
|
409
409
|
旧的“直接把绝对路径写进提示词”仍只作为本地实现的兼容用法。
|
|
410
|
-
两种实现都提供 2K 图片,无需在 prompt 中声明分辨率。XYQ
|
|
411
|
-
`
|
|
410
|
+
两种实现都提供 2K 图片,无需在 prompt 中声明分辨率。XYQ 默认模型为
|
|
411
|
+
`gpt_image_2_5_sunburst`(image2.5 Sunburst),可用 `--model-id` 切换模型。
|
|
412
|
+
`--effort` 的可选值和默认值按模型区分,非法组合会在上传参考图或提交任务前报错:
|
|
413
|
+
|
|
414
|
+
| `--model-id` | `--effort` 可选值 | 默认 effort |
|
|
415
|
+
| --- | --- | --- |
|
|
416
|
+
| `gpt_image_2`(image2) | `medium`、`high` | `high` |
|
|
417
|
+
| `gpt_image_2_5_sunburst`(image2.5 Sunburst,默认模型) | `high`、`xhigh`、`max` | `max` |
|
|
418
|
+
|
|
419
|
+
例如 `tt ai image '兔子'` 默认使用 Sunburst + max;
|
|
420
|
+
`tt ai image '兔子' --model-id gpt_image_2` 使用 image2 + high。
|
|
421
|
+
其他模型 ID 仍允许透传,其 effort 不校验,省略时沿用 `medium`。
|
|
422
|
+
支持的比例为 `21:9`、`16:9`、`3:2`、
|
|
412
423
|
`4:3`、`1:1`、`3:4`、`2:3`、`9:16` 和 `auto`。XYQ 未设置时默认 `16:9`;
|
|
413
424
|
非 XYQ 未设置时不追加比例。修图时使用
|
|
414
425
|
`--aspect-ratio auto`,无需在 prompt 重复比例;需要枚举外的特殊比例时使用
|