Skip to content

Commit bf13d44

Browse files
authored
Merge pull request #38 from Daren-star/main
更新部分模型
2 parents 58be4ee + c08d1d4 commit bf13d44

File tree

2 files changed

+72
-42
lines changed

2 files changed

+72
-42
lines changed

README.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,37 @@ _觉得有点意思的话 别忘了点个 ⭐_
2323
## 功能
2424

2525
- [x] 支持对话接口(流式/非流式)(`/chat/completions`)(请求非以下列表的模型会触发`Mixture-of-Agents`模式)
26+
- **gpt-5-minimal**
27+
- **gpt-5**
28+
- **gpt-5-high**
29+
- **gpt-5-pro**
2630
- **gpt-4.1**
2731
- **o1**
28-
- **o3**,
29-
- **o3-pro**,
32+
- **o3**
33+
- **o3-pro**
3034
- **o4-mini-high**
3135
- **claude-3-7-sonnet-thinking**
3236
- **claude-3-7-sonnet**
37+
- **claude-sonnet-4-5**
38+
- **claude-sonnet-4-thinking**
39+
- **claude-sonnet-4**
40+
- **claude-opus-4-1**
41+
- **claude-opus-4**
3342
- **gemini-2.5-pro**
43+
- **gemini-2.5-flash**
3444
- **gemini-2.0-flash**
3545
- **deep-seek-v3**
3646
- **deep-seek-r1**
37-
- **claude-sonnet-4-thinking**
38-
- **claude-sonnet-4**
47+
- **grok-4-0709**
3948
- [x] 支持**联网搜索**,在模型名后添加`-search`即可(如:`gpt-4o-search`)
4049
- [x] 支持识别**图片**/**文件**多轮对话
4150
- [x] 支持文生图接口(`/images/generations`)
42-
- **flux**
43-
- **flux-speed**
51+
- **fal-ai/nano-banana**
52+
- **fal-ai/bytedance/seedream/v4**
53+
- **gpt-image-1**
4454
- **flux-pro/ultra**
45-
- **ideogram**
46-
- **ideogram/V_2A**
47-
- **recraft-v3**
48-
- **dall-e-3**
49-
- **imagen3**
55+
- **flux-pro/kontext/pro**
5056
- **imagen4**
51-
- **gpt-image-1**
5257
- [x] 支持文/图生视频接口(`/videos/generations`),详情查看[文/图生视频请求格式](#生视频请求格式)
5358
- [x] 支持自定义请求头校验值(Authorization)
5459
- [x] 支持cookie池(随机)
@@ -326,7 +331,7 @@ Genspark官方服务不可用,请稍后再试。
326331

327332
| 字段 Field | 类型 Type | 必填 Required | 描述 Description | 可选值 Accepted Values |
328333
|--------------|---------|-------------|---------------------------|-------------------------------------------------------------------------------------------------|
329-
| model | string || 使用的视频生成模型 | 模型列表: `kling/v1.6/standard`\|`pixverse/v3.5/turbo`\|`lumadream/ray-2`\|`gemini/veo2`\|`hunyuan` |
334+
| model | string || 使用的视频生成模型 | 模型列表: `sora-2`\|`sora-2-pro`\|`gemini/veo3`\|`gemini/veo3/fast`\|`kling/v2.5-turbo/pro`\|`fal-ai/bytedance/seedance/v1/pro`\|`minimax/hailuo-02/standard`\|`pixverse/v5`\|`fal-ai/bytedance/seedance/v1/lite`\|`gemini/veo2`\|`wan/v2.2`\|`hunyuan`\|`vidu/start-end-to-video`\|`runway/gen4_turbo` |
330335
| aspect_ratio | string || 视频宽高比 | `9:16` \| `16:9` \| `3:4` \|`1:1` \| `4:3` |
331336
| duration | int || 视频时长(单位:秒) | 正整数 |
332337
| prompt | string || 生成视频的文本描述 | - |

common/constants.go

Lines changed: 54 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,72 +3,97 @@ package common
33
import "time"
44

55
var StartTime = time.Now().Unix() // unit: second
6-
var Version = "v1.12.6" // this hard coding will be replaced automatically when building, no need to manually change
6+
7+
var Version = "v1.12.6" // this hard coding will be replaced automatically when building, no need to manually change
78

89
var DefaultOpenaiModelList = []string{
10+
"gpt-5-minimal",
11+
"gpt-5",
12+
"gpt-5-high",
13+
"gpt-5-pro",
914
"gpt-4.1",
1015
"o3-pro",
1116
"o4-mini-high",
12-
"gemini-2.5-pro",
13-
"gemini-2.0-flash",
1417
"deep-seek-r1",
18+
"claude-sonnet-4-5",
1519
"claude-sonnet-4",
20+
"claude-opus-4-1",
1621
"claude-opus-4",
22+
"gemini-2.5-pro",
23+
"gemini-2.5-flash",
24+
"gemini-2.0-flash",
1725
"grok-4-0709",
18-
19-
"flux",
20-
"flux-speed",
21-
"flux-pro/ultra",
22-
"ideogram",
23-
"ideogram/V_2A",
24-
"recraft-v3",
25-
"dall-e-3",
26-
"imagen4",
26+
"fal-ai/nano-banana",
27+
"fal-ai/bytedance/seedream/v4",
2728
"gpt-image-1",
29+
"flux-pro/ultra",
2830
"flux-pro/kontext/pro",
29-
"flux-pro/kontext/max",
31+
"imagen4",
32+
"sora-2",
33+
"sora-2-pro",
34+
"gemini/veo3",
35+
"gemini/veo3/fast",
36+
"kling/v2.5-turbo/pro",
37+
"fal-ai/bytedance/seedance/v1/pro",
38+
"minimax/hailuo-02/standard",
39+
"pixverse/v5",
40+
"fal-ai/bytedance/seedance/v1/lite",
41+
"gemini/veo2",
42+
"wan/v2.2",
43+
"hunyuan",
44+
"vidu/start-end-to-video",
45+
"runway/gen4_turbo",
3046
}
3147

3248
var TextModelList = []string{
49+
"gpt-5-minimal",
50+
"gpt-5",
51+
"gpt-5-high",
52+
"gpt-5-pro",
3353
"gpt-4.1",
3454
"o3-pro",
3555
"o4-mini-high",
36-
"gemini-2.5-pro",
37-
"gemini-2.0-flash",
3856
"deep-seek-r1",
57+
"claude-sonnet-4-5",
3958
"claude-sonnet-4",
59+
"claude-opus-4-1",
4060
"claude-opus-4",
61+
"gemini-2.5-pro",
62+
"gemini-2.5-flash",
63+
"gemini-2.0-flash",
4164
"grok-4-0709",
4265
}
4366

4467
var MixtureModelList = []string{
45-
"gpt-4o",
46-
"claude-3-7-sonnet",
47-
"gemini-2.0-flash",
68+
"gpt-5",
69+
"claude-sonnet-4",
70+
"gemini-2.5-flash",
4871
}
4972

5073
var ImageModelList = []string{
51-
"flux",
52-
"flux-speed",
53-
"flux-pro/ultra",
54-
"ideogram",
55-
"ideogram/V_2A",
56-
"recraft-v3",
57-
"dall-e-3",
58-
"imagen4",
74+
"fal-ai/nano-banana",
75+
"fal-ai/bytedance/seedream/v4",
5976
"gpt-image-1",
77+
"flux-pro/ultra",
6078
"flux-pro/kontext/pro",
61-
"flux-pro/kontext/max",
79+
"imagen4",
6280
}
6381

6482
var VideoModelList = []string{
83+
"sora-2",
84+
"sora-2-pro",
6585
"gemini/veo3",
6686
"gemini/veo3/fast",
67-
"kling/v2.1/master",
87+
"kling/v2.5-turbo/pro",
6888
"fal-ai/bytedance/seedance/v1/pro",
6989
"minimax/hailuo-02/standard",
70-
"pixverse/v4.5/turbo",
90+
"pixverse/v5",
7191
"fal-ai/bytedance/seedance/v1/lite",
92+
"gemini/veo2",
93+
"wan/v2.2",
94+
"hunyuan",
95+
"vidu/start-end-to-video",
96+
"runway/gen4_turbo",
7297
}
7398

7499
//

0 commit comments

Comments
 (0)