Skip to content

Commit 748e5ec

Browse files
committed
fix(model): 移除 veo 2.1 和 2.0 模型入口
1 parent 298d294 commit 748e5ec

4 files changed

Lines changed: 0 additions & 100 deletions

File tree

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ python main.py
174174
|---------|---------|--------|
175175
| `veo_3_1_t2v_fast_portrait` | 文生视频 | 竖屏 |
176176
| `veo_3_1_t2v_fast_landscape` | 文生视频 | 横屏 |
177-
| `veo_2_1_fast_d_15_t2v_portrait` | 文生视频 | 竖屏 |
178-
| `veo_2_1_fast_d_15_t2v_landscape` | 文生视频 | 横屏 |
179-
| `veo_2_0_t2v_portrait` | 文生视频 | 竖屏 |
180-
| `veo_2_0_t2v_landscape` | 文生视频 | 横屏 |
181177
| `veo_3_1_t2v_fast_portrait_ultra` | 文生视频 | 竖屏 |
182178
| `veo_3_1_t2v_fast_ultra` | 文生视频 | 横屏 |
183179
| `veo_3_1_t2v_fast_portrait_ultra_relaxed` | 文生视频 | 竖屏 |
@@ -200,10 +196,6 @@ python main.py
200196
|---------|---------|--------|
201197
| `veo_3_1_i2v_s_fast_portrait_fl` | 图生视频 | 竖屏 |
202198
| `veo_3_1_i2v_s_fast_fl` | 图生视频 | 横屏 |
203-
| `veo_2_1_fast_d_15_i2v_portrait` | 图生视频 | 竖屏 |
204-
| `veo_2_1_fast_d_15_i2v_landscape` | 图生视频 | 横屏 |
205-
| `veo_2_0_i2v_portrait` | 图生视频 | 竖屏 |
206-
| `veo_2_0_i2v_landscape` | 图生视频 | 横屏 |
207199
| `veo_3_1_i2v_s_fast_portrait_ultra_fl` | 图生视频 | 竖屏 |
208200
| `veo_3_1_i2v_s_fast_ultra_fl` | 图生视频 | 横屏 |
209201
| `veo_3_1_i2v_s_fast_portrait_ultra_relaxed` | 图生视频 | 竖屏 |

src/core/model_resolver.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,6 @@
130130
"landscape": "veo_3_1_t2v_fast_landscape",
131131
"portrait": "veo_3_1_t2v_fast_portrait",
132132
},
133-
"veo_2_1_fast_d_15_t2v": {
134-
"landscape": "veo_2_1_fast_d_15_t2v_landscape",
135-
"portrait": "veo_2_1_fast_d_15_t2v_portrait",
136-
},
137-
"veo_2_0_t2v": {
138-
"landscape": "veo_2_0_t2v_landscape",
139-
"portrait": "veo_2_0_t2v_portrait",
140-
},
141133
"veo_3_1_t2v_fast_ultra": {
142134
"landscape": "veo_3_1_t2v_fast_ultra",
143135
"portrait": "veo_3_1_t2v_fast_portrait_ultra",
@@ -159,14 +151,6 @@
159151
"landscape": "veo_3_1_i2v_s_fast_fl",
160152
"portrait": "veo_3_1_i2v_s_fast_portrait_fl",
161153
},
162-
"veo_2_1_fast_d_15_i2v": {
163-
"landscape": "veo_2_1_fast_d_15_i2v_landscape",
164-
"portrait": "veo_2_1_fast_d_15_i2v_portrait",
165-
},
166-
"veo_2_0_i2v": {
167-
"landscape": "veo_2_0_i2v_landscape",
168-
"portrait": "veo_2_0_i2v_portrait",
169-
},
170154
"veo_3_1_i2v_s_fast_ultra_fl": {
171155
"landscape": "veo_3_1_i2v_s_fast_ultra_fl",
172156
"portrait": "veo_3_1_i2v_s_fast_portrait_ultra_fl",

src/services/generation_handler.py

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -244,38 +244,6 @@
244244
"supports_images": False
245245
},
246246

247-
# veo_2_1_fast_d_15_t2v (需要新增横竖屏)
248-
"veo_2_1_fast_d_15_t2v_portrait": {
249-
"type": "video",
250-
"video_type": "t2v",
251-
"model_key": "veo_2_1_fast_d_15_t2v",
252-
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
253-
"supports_images": False
254-
},
255-
"veo_2_1_fast_d_15_t2v_landscape": {
256-
"type": "video",
257-
"video_type": "t2v",
258-
"model_key": "veo_2_1_fast_d_15_t2v",
259-
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
260-
"supports_images": False
261-
},
262-
263-
# veo_2_0_t2v (需要新增横竖屏)
264-
"veo_2_0_t2v_portrait": {
265-
"type": "video",
266-
"video_type": "t2v",
267-
"model_key": "veo_2_0_t2v",
268-
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
269-
"supports_images": False
270-
},
271-
"veo_2_0_t2v_landscape": {
272-
"type": "video",
273-
"video_type": "t2v",
274-
"model_key": "veo_2_0_t2v",
275-
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
276-
"supports_images": False
277-
},
278-
279247
# veo_3_1_t2v_fast_ultra (横竖屏)
280248
"veo_3_1_t2v_fast_portrait_ultra": {
281249
"type": "video",
@@ -366,46 +334,6 @@
366334
"max_images": 2
367335
},
368336

369-
# veo_2_1_fast_d_15_i2v (需要新增横竖屏)
370-
"veo_2_1_fast_d_15_i2v_portrait": {
371-
"type": "video",
372-
"video_type": "i2v",
373-
"model_key": "veo_2_1_fast_d_15_i2v",
374-
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
375-
"supports_images": True,
376-
"min_images": 1,
377-
"max_images": 2
378-
},
379-
"veo_2_1_fast_d_15_i2v_landscape": {
380-
"type": "video",
381-
"video_type": "i2v",
382-
"model_key": "veo_2_1_fast_d_15_i2v",
383-
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
384-
"supports_images": True,
385-
"min_images": 1,
386-
"max_images": 2
387-
},
388-
389-
# veo_2_0_i2v (需要新增横竖屏)
390-
"veo_2_0_i2v_portrait": {
391-
"type": "video",
392-
"video_type": "i2v",
393-
"model_key": "veo_2_0_i2v",
394-
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
395-
"supports_images": True,
396-
"min_images": 1,
397-
"max_images": 2
398-
},
399-
"veo_2_0_i2v_landscape": {
400-
"type": "video",
401-
"video_type": "i2v",
402-
"model_key": "veo_2_0_i2v",
403-
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
404-
"supports_images": True,
405-
"min_images": 1,
406-
"max_images": 2
407-
},
408-
409337
# veo_3_1_i2v_s_fast_ultra (横竖屏)
410338
"veo_3_1_i2v_s_fast_portrait_ultra_fl": {
411339
"type": "video",

static/test.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,6 @@ <h3><span class="status-dot status-idle" id="statusDot"></span> <span id="status
200200
"veo_3_1_r2v_fast": "Video generation (alias) - supports landscape/portrait via generationConfig",
201201
"veo_3_1_r2v_fast_ultra": "Video generation (alias) - supports landscape/portrait via generationConfig",
202202
"veo_3_1_r2v_fast_ultra_relaxed": "Video generation (alias) - supports landscape/portrait via generationConfig",
203-
"veo_2_1_fast_d_15_t2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
204-
"veo_2_0_t2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
205-
"veo_2_1_fast_d_15_i2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
206-
"veo_2_0_i2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
207203
"veo_3_1_upsampler_1080p": "Video upsample - 1080p",
208204
"veo_3_1_upsampler_4k": "Video upsample - 4k",
209205
};

0 commit comments

Comments
 (0)