@lobehub/chat 1.130.1 → 1.131.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 1.131.0](https://github.com/lobehub/lobe-chat/compare/v1.130.1...v1.131.0)
6
+
7
+ <sup>Released on **2025-09-19**</sup>
8
+
9
+ #### ✨ Features
10
+
11
+ - **misc**: Qwen provider add qwen-image-edit model support.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's improved
19
+
20
+ - **misc**: Qwen provider add qwen-image-edit model support, closes [#9311](https://github.com/lobehub/lobe-chat/issues/9311) ([a0074fc](https://github.com/lobehub/lobe-chat/commit/a0074fc))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.130.1](https://github.com/lobehub/lobe-chat/compare/v1.130.0...v1.130.1)
6
31
 
7
32
  <sup>Released on **2025-09-18**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "features": [
5
+ "Qwen provider add qwen-image-edit model support."
6
+ ]
7
+ },
8
+ "date": "2025-09-19",
9
+ "version": "1.131.0"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.130.1",
3
+ "version": "1.131.0",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -748,6 +748,7 @@ const qwenChatModels: AIChatModelCard[] = [
748
748
  id: 'qwen3-max-preview',
749
749
  maxOutput: 32_768,
750
750
  organization: 'Qwen',
751
+ /* eslint-disable sort-keys-fix/sort-keys-fix */
751
752
  pricing: {
752
753
  currency: 'CNY',
753
754
  units: [
@@ -792,6 +793,7 @@ const qwenChatModels: AIChatModelCard[] = [
792
793
  },
793
794
  ],
794
795
  },
796
+ /* eslint-enable sort-keys-fix/sort-keys-fix */
795
797
  releasedAt: '2025-09-05',
796
798
  settings: {
797
799
  searchImpl: 'params',
@@ -1558,6 +1560,29 @@ const qwenChatModels: AIChatModelCard[] = [
1558
1560
  ];
1559
1561
 
1560
1562
  const qwenImageModels: AIImageModelCard[] = [
1563
+ {
1564
+ description:
1565
+ 'Qwen Image Edit 是一款图生图模型,支持基于输入图像和文本提示进行图像编辑和修改,能够根据用户需求对原图进行精准调整和创意改造。',
1566
+ displayName: 'Qwen Image Edit',
1567
+ enabled: true,
1568
+ id: 'qwen-image-edit',
1569
+ organization: 'Qwen',
1570
+ parameters: {
1571
+ imageUrl: {
1572
+ default: '',
1573
+ },
1574
+ prompt: {
1575
+ default: '',
1576
+ },
1577
+ seed: { default: null },
1578
+ },
1579
+ pricing: {
1580
+ currency: 'USD',
1581
+ units: [{ name: 'imageGeneration', rate: 0.041, strategy: 'fixed', unit: 'image' }],
1582
+ },
1583
+ releasedAt: '2025-09-18',
1584
+ type: 'image',
1585
+ },
1561
1586
  {
1562
1587
  description:
1563
1588
  'Qwen-Image 是一款通用图像生成模型,支持多种艺术风格,尤其擅长复杂文本渲染,特别是中英文文本渲染。模型支持多行布局、段落级文本生成以及细粒度细节刻画,可实现复杂的图文混合布局设计。',
@@ -114,7 +114,7 @@ async function createImageEdit(
114
114
  },
115
115
  model,
116
116
  parameters: {
117
- // watermark defaults to false (no watermark) unless explicitly requested
117
+ ...(typeof params.seed === 'number' ? { seed: params.seed } : {}),
118
118
  },
119
119
  }),
120
120
  headers: {