Skip to content

Commit 4990b27

Browse files
committed
feat: update image default model
1 parent b1908fa commit 4990b27

20 files changed

Lines changed: 57 additions & 32 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
2626

2727
- **Text chat** — Qwen3.8-max: major gains in agentic coding, frontend coding, and vibe coding
2828
- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video
29-
- **Image generation & editing** — Qwen-Image 2.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
29+
- **Image generation & editing** — Qwen-Image 3.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
3030
- **Video generation & editing** — happyhorse-1.1 series: text-/image-/reference-to-video and natural-language video editing (up to 9-image reference)
3131
- **Speech synthesis & recognition** — CosyVoice streaming TTS, voice cloning from 5–20s samples; FunAudio-ASR covers 30 languages including 7 Chinese dialects and 20+ Mandarin accents
3232
- **Image & video understanding** — Qwen-VL: long-form video analysis, chart/document parsing, visual reasoning, multilingual OCR

README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
2626

2727
- **文本对话** — Qwen3.8-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
2828
- **全模态对话** — 文本 + 图像 + 音频 + 视频全模态支持
29-
- **图像生成与编辑** — Qwen-Image 2.0:专业文字渲染、真实质感、强语义遵循、多图合成
29+
- **图像生成与编辑** — Qwen-Image 3.0:专业文字渲染、真实质感、强语义遵循、多图合成
3030
- **视频生成与编辑** — happyhorse-1.1 系列,支持文生 / 图生 / 参考生(最多 9 张图参考)/ 自然语言视频编辑
3131
- **语音合成与识别** — CosyVoice 实时流式合成,5-20s 样本即可克隆;FunAudio-ASR 覆盖 30 种语种,含汉语七大方言与 20+ 口音官话
3232
- **图像与视频理解** — Qwen-VL:长视频解析、复杂图表与文档识别、视觉推理、多语种 OCR

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
2626

2727
- **Text chat** — Qwen3.8-max: major gains in agentic coding, frontend coding, and vibe coding
2828
- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video
29-
- **Image generation & editing** — Qwen-Image 2.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
29+
- **Image generation & editing** — Qwen-Image 3.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
3030
- **Video generation & editing** — happyhorse-1.1 series: text-/image-/reference-to-video and natural-language video editing (up to 9-image reference)
3131
- **Speech synthesis & recognition** — CosyVoice streaming TTS, voice cloning from 5–20s samples; FunAudio-ASR covers 30 languages including 7 Chinese dialects and 20+ Mandarin accents
3232
- **Image & video understanding** — Qwen-VL: long-form video analysis, chart/document parsing, visual reasoning, multilingual OCR

packages/cli/README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
2626

2727
- **文本对话** — Qwen3.8-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
2828
- **全模态对话** — 文本 + 图像 + 音频 + 视频全模态支持
29-
- **图像生成与编辑** — Qwen-Image 2.0:专业文字渲染、真实质感、强语义遵循、多图合成
29+
- **图像生成与编辑** — Qwen-Image 3.0:专业文字渲染、真实质感、强语义遵循、多图合成
3030
- **视频生成与编辑** — happyhorse-1.1 系列,支持文生 / 图生 / 参考生(最多 9 张图参考)/ 自然语言视频编辑
3131
- **语音合成与识别** — CosyVoice 实时流式合成,5-20s 样本即可克隆;FunAudio-ASR 覆盖 30 种语种,含汉语七大方言与 20+ 口音官话
3232
- **图像与视频理解** — Qwen-VL:长视频解析、复杂图表与文档识别、视觉推理、多语种 OCR

packages/commands/src/commands/config/shared.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const UI_BOOLEAN_KEYS = new Set<string>(["telemetry"]);
6161
// without persisting a value that would pin the model.
6262
export const UI_MODEL_DEFAULTS: Record<string, string> = {
6363
default_text_model: "qwen3.8-max",
64-
default_image_model: "qwen-image-2.0",
64+
default_image_model: "qwen-image-3.0",
6565
default_video_model: "happyhorse-1.1-t2v",
6666
default_speech_model: "cosyvoice-v3-flash",
6767
default_omni_model: "qwen3.5-omni-plus",
@@ -86,7 +86,8 @@ export const UI_MODEL_CATALOG: Record<string, ModelOption[]> = {
8686
{ id: "qwen3.6-flash", role: "fast · advisor intent" },
8787
],
8888
default_image_model: [
89-
{ id: "qwen-image-2.0", role: "image/generate default · sync" },
89+
{ id: "qwen-image-3.0", role: "image/generate default · sync" },
90+
{ id: "qwen-image-2.0", role: "image/generate · sync" },
9091
{ id: "qwen-image-max", role: "image/generate · sync" },
9192
{ id: "qwen-image-edit-2.0", role: "image/edit · sync" },
9293
{ id: "wanx2.x", role: "image/generate · async series" },

packages/commands/src/commands/file/upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineCommand({
2323
"--file photo.jpg --model qwen3-vl-plus",
2424
"--file video.mp4 --model wan2.1-t2v-plus",
2525
"--file audio.wav --model qwen3-asr-flash",
26-
"--file cat.png --model qwen-image-2.0",
26+
"--file cat.png --model qwen-image-3.0",
2727
],
2828
async run(ctx) {
2929
const { settings, flags } = ctx;

packages/commands/src/commands/image/edit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const EDIT_FLAGS = {
4747
model: {
4848
type: "string",
4949
valueHint: "<model>",
50-
description: "Model ID (default: qwen-image-2.0)",
50+
description: "Model ID (default: qwen-image-3.0)",
5151
},
5252
size: {
5353
type: "string",
@@ -123,7 +123,7 @@ export default defineCommand({
123123
}
124124
const prompt = flags.prompt;
125125

126-
const model = flags.model || settings.defaultImageModel || "qwen-image-2.0";
126+
const model = flags.model || settings.defaultImageModel || "qwen-image-3.0";
127127
const route = resolveImageEditApi(model);
128128

129129
// Auto-upload local files (resolve all images in parallel)

packages/commands/src/commands/image/generate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const GENERATE_FLAGS = {
3535
model: {
3636
type: "string",
3737
valueHint: "<model>",
38-
description: "Model ID (default: qwen-image-2.0)",
38+
description: "Model ID (default: qwen-image-3.0)",
3939
},
4040
size: {
4141
type: "string",
@@ -105,7 +105,7 @@ export default defineCommand({
105105
const { settings, flags } = ctx;
106106
const prompt = flags.prompt;
107107

108-
const model = flags.model || settings.defaultImageModel || "qwen-image-2.0";
108+
const model = flags.model || settings.defaultImageModel || "qwen-image-3.0";
109109
const route = resolveImageGenerateApi(model);
110110
const defaultSize = "1:1";
111111
const sizeInput = flags.size || defaultSize;

packages/commands/tests/config-ui.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ test("GET /api/config 返回全部 profile、明文密钥与持久化激活项",
8989
expect(res.json.enums.console_site).toEqual(["domestic", "international"]);
9090
expect(res.json.booleanKeys).toContain("telemetry");
9191
// Default field hints are surfaced as prefilled values in the UI.
92-
expect(res.json.fieldDefaults.default_image_model).toBe("qwen-image-2.0");
92+
expect(res.json.fieldDefaults.default_image_model).toBe("qwen-image-3.0");
9393
expect(res.json.fieldDefaults.default_text_model).toBe("qwen3.8-max");
9494
expect(res.json.fieldDefaults.output_dir).toContain("bailian-output");
9595
expect(res.json.fieldDefaults.timeout).toBe("300");
9696
expect(res.json.fieldDefaults.base_url).toBe("https://dashscope.aliyuncs.com");
9797
// Per-category model catalog (click-to-fill suggestions) is exposed too.
98-
expect(res.json.modelCatalog.default_image_model[0]).toMatchObject({ id: "qwen-image-2.0" });
98+
expect(res.json.modelCatalog.default_image_model[0]).toMatchObject({ id: "qwen-image-3.0" });
9999
expect(res.json.modelCatalog.default_video_model.map((m: { id: string }) => m.id)).toContain(
100100
"happyhorse-1.1-i2v",
101101
);

packages/commands/tests/e2e/image-edit.e2e.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,13 @@ describe.skipIf(!isBailianE2EMediaEnabled() || !isDashScopeE2EReady())("e2e: ima
194194
expect(stderr).toMatch(/--prompt|Usage:/i);
195195
});
196196

197-
test("【qwen-image-2.0】图片编辑", async () => {
197+
test("【qwen-image-3.0】图片编辑", async () => {
198198
const outDir = makeE2eOutputDir(e2eLabelFromMetaUrl(import.meta.url));
199199
const gen = await runCommandE2e(IMAGE_ROUTES, [
200200
"image",
201201
"generate",
202202
"--model",
203-
"qwen-image-2.0",
203+
"qwen-image-3.0",
204204
"--prompt",
205205
"一只简笔画小猫,白底",
206206
"--out-dir",
@@ -220,7 +220,7 @@ describe.skipIf(!isBailianE2EMediaEnabled() || !isDashScopeE2EReady())("e2e: ima
220220
"image",
221221
"edit",
222222
"--model",
223-
"qwen-image-2.0",
223+
"qwen-image-3.0",
224224
"--image",
225225
imagePath!,
226226
"--prompt",

0 commit comments

Comments
 (0)