fix(scripts): ignore reference images in direct tests
This commit is contained in:
@@ -302,6 +302,7 @@ else:
|
||||
- 每次请求会落到 `outputs/image-demo-runs/<时间戳>/`。
|
||||
- 直接运行:`bash scripts/run_figma_direct_test.sh`
|
||||
- 只测 `https://api.aoixx.com/v1/images/generations` 时,运行 `bash scripts/run_aoixx_direct_test.sh`。
|
||||
- 这两个 direct test 会自动忽略 `.env` 里的 `REFERENCE_IMAGE` 和 `MASK_IMAGE`,默认走纯生成流程。
|
||||
- 如果要走 OpenAI-compatible 的 `gpt-image-2` 图生图,运行 `bash scripts/run_openai_gpt_image2_edit.sh`。
|
||||
- 如果要走多图参考生成多图,运行 `bash scripts/run_openai_gpt_image2_multi.sh`。
|
||||
- 图生图可通过环境变量传参考图:
|
||||
|
||||
Reference in New Issue
Block a user