Repository navigation
feat(tools): 接入 Qwen-Image 2.1 Pro 云端出图通道 - #3
Merged
Merged
Conversation
支持文生图与最多 10 张参考图的图生图,走 DashScope 同步接口。 密钥只从 DASHSCOPE_API_KEY 或 --key-file 读取,不写入任何文件。 提示词默认按原文投喂,需要模型扩写时加 --prompt-extend。 输出目录 out/ 加入 .gitignore。
README 新增云端出图一节与工具表条目。 主图与详情页两篇 tool-adaptation 更新 Qwen 能力行(按 2.1/3.0 版本区分参考图上限与负词支持), 并各增命令行出图通道说明。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
新增
tools/qwen_image.py,把 SOP 产出的提示词直接送到阿里云百炼的 Qwen-Image 2.1 Pro,省去手工复制到网页端。DASHSCOPE_API_KEY或--key-file读取,不写入任何文件--prompt-extendout/输出目录加入.gitignore文档同步:README 新增「云端出图」一节与工具表条目;主图与详情页两篇
tool-adaptation.md更新 Qwen 能力行(按 2.1/3.0 版本区分参考图上限与负词支持),并各增命令行出图通道说明。验证
-n 28.8s--key-file读取路径验证通过python tools/qwen_image.py --selftestexit 0(含prompt_extend默认值断言)python tools/lint_skills.py0 错 0 警,python evals/check_cases.py23/23sk-扫描 0 命中未验证
参数边界
size用宽*高,边长 512 到 2048,宽高比上限 8:1;-n1 到 6 张;2.1 系不支持negative_prompt,负面约束需用自然语言写进提示词。