mirror of
https://github.com/TheSmallHanCat/flow2api.git
synced 2026-05-07 22:43:16 +08:00
fix(model): 移除 veo 2.1 和 2.0 模型入口
This commit is contained in:
@@ -174,10 +174,6 @@ python main.py
|
||||
|---------|---------|--------|
|
||||
| `veo_3_1_t2v_fast_portrait` | 文生视频 | 竖屏 |
|
||||
| `veo_3_1_t2v_fast_landscape` | 文生视频 | 横屏 |
|
||||
| `veo_2_1_fast_d_15_t2v_portrait` | 文生视频 | 竖屏 |
|
||||
| `veo_2_1_fast_d_15_t2v_landscape` | 文生视频 | 横屏 |
|
||||
| `veo_2_0_t2v_portrait` | 文生视频 | 竖屏 |
|
||||
| `veo_2_0_t2v_landscape` | 文生视频 | 横屏 |
|
||||
| `veo_3_1_t2v_fast_portrait_ultra` | 文生视频 | 竖屏 |
|
||||
| `veo_3_1_t2v_fast_ultra` | 文生视频 | 横屏 |
|
||||
| `veo_3_1_t2v_fast_portrait_ultra_relaxed` | 文生视频 | 竖屏 |
|
||||
@@ -200,10 +196,6 @@ python main.py
|
||||
|---------|---------|--------|
|
||||
| `veo_3_1_i2v_s_fast_portrait_fl` | 图生视频 | 竖屏 |
|
||||
| `veo_3_1_i2v_s_fast_fl` | 图生视频 | 横屏 |
|
||||
| `veo_2_1_fast_d_15_i2v_portrait` | 图生视频 | 竖屏 |
|
||||
| `veo_2_1_fast_d_15_i2v_landscape` | 图生视频 | 横屏 |
|
||||
| `veo_2_0_i2v_portrait` | 图生视频 | 竖屏 |
|
||||
| `veo_2_0_i2v_landscape` | 图生视频 | 横屏 |
|
||||
| `veo_3_1_i2v_s_fast_portrait_ultra_fl` | 图生视频 | 竖屏 |
|
||||
| `veo_3_1_i2v_s_fast_ultra_fl` | 图生视频 | 横屏 |
|
||||
| `veo_3_1_i2v_s_fast_portrait_ultra_relaxed` | 图生视频 | 竖屏 |
|
||||
|
||||
@@ -130,14 +130,6 @@ VIDEO_BASE_MODELS = {
|
||||
"landscape": "veo_3_1_t2v_fast_landscape",
|
||||
"portrait": "veo_3_1_t2v_fast_portrait",
|
||||
},
|
||||
"veo_2_1_fast_d_15_t2v": {
|
||||
"landscape": "veo_2_1_fast_d_15_t2v_landscape",
|
||||
"portrait": "veo_2_1_fast_d_15_t2v_portrait",
|
||||
},
|
||||
"veo_2_0_t2v": {
|
||||
"landscape": "veo_2_0_t2v_landscape",
|
||||
"portrait": "veo_2_0_t2v_portrait",
|
||||
},
|
||||
"veo_3_1_t2v_fast_ultra": {
|
||||
"landscape": "veo_3_1_t2v_fast_ultra",
|
||||
"portrait": "veo_3_1_t2v_fast_portrait_ultra",
|
||||
@@ -159,14 +151,6 @@ VIDEO_BASE_MODELS = {
|
||||
"landscape": "veo_3_1_i2v_s_fast_fl",
|
||||
"portrait": "veo_3_1_i2v_s_fast_portrait_fl",
|
||||
},
|
||||
"veo_2_1_fast_d_15_i2v": {
|
||||
"landscape": "veo_2_1_fast_d_15_i2v_landscape",
|
||||
"portrait": "veo_2_1_fast_d_15_i2v_portrait",
|
||||
},
|
||||
"veo_2_0_i2v": {
|
||||
"landscape": "veo_2_0_i2v_landscape",
|
||||
"portrait": "veo_2_0_i2v_portrait",
|
||||
},
|
||||
"veo_3_1_i2v_s_fast_ultra_fl": {
|
||||
"landscape": "veo_3_1_i2v_s_fast_ultra_fl",
|
||||
"portrait": "veo_3_1_i2v_s_fast_portrait_ultra_fl",
|
||||
|
||||
@@ -244,38 +244,6 @@ MODEL_CONFIG = {
|
||||
"supports_images": False
|
||||
},
|
||||
|
||||
# veo_2_1_fast_d_15_t2v (需要新增横竖屏)
|
||||
"veo_2_1_fast_d_15_t2v_portrait": {
|
||||
"type": "video",
|
||||
"video_type": "t2v",
|
||||
"model_key": "veo_2_1_fast_d_15_t2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
|
||||
"supports_images": False
|
||||
},
|
||||
"veo_2_1_fast_d_15_t2v_landscape": {
|
||||
"type": "video",
|
||||
"video_type": "t2v",
|
||||
"model_key": "veo_2_1_fast_d_15_t2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
|
||||
"supports_images": False
|
||||
},
|
||||
|
||||
# veo_2_0_t2v (需要新增横竖屏)
|
||||
"veo_2_0_t2v_portrait": {
|
||||
"type": "video",
|
||||
"video_type": "t2v",
|
||||
"model_key": "veo_2_0_t2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
|
||||
"supports_images": False
|
||||
},
|
||||
"veo_2_0_t2v_landscape": {
|
||||
"type": "video",
|
||||
"video_type": "t2v",
|
||||
"model_key": "veo_2_0_t2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
|
||||
"supports_images": False
|
||||
},
|
||||
|
||||
# veo_3_1_t2v_fast_ultra (横竖屏)
|
||||
"veo_3_1_t2v_fast_portrait_ultra": {
|
||||
"type": "video",
|
||||
@@ -366,46 +334,6 @@ MODEL_CONFIG = {
|
||||
"max_images": 2
|
||||
},
|
||||
|
||||
# veo_2_1_fast_d_15_i2v (需要新增横竖屏)
|
||||
"veo_2_1_fast_d_15_i2v_portrait": {
|
||||
"type": "video",
|
||||
"video_type": "i2v",
|
||||
"model_key": "veo_2_1_fast_d_15_i2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
|
||||
"supports_images": True,
|
||||
"min_images": 1,
|
||||
"max_images": 2
|
||||
},
|
||||
"veo_2_1_fast_d_15_i2v_landscape": {
|
||||
"type": "video",
|
||||
"video_type": "i2v",
|
||||
"model_key": "veo_2_1_fast_d_15_i2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
|
||||
"supports_images": True,
|
||||
"min_images": 1,
|
||||
"max_images": 2
|
||||
},
|
||||
|
||||
# veo_2_0_i2v (需要新增横竖屏)
|
||||
"veo_2_0_i2v_portrait": {
|
||||
"type": "video",
|
||||
"video_type": "i2v",
|
||||
"model_key": "veo_2_0_i2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_PORTRAIT",
|
||||
"supports_images": True,
|
||||
"min_images": 1,
|
||||
"max_images": 2
|
||||
},
|
||||
"veo_2_0_i2v_landscape": {
|
||||
"type": "video",
|
||||
"video_type": "i2v",
|
||||
"model_key": "veo_2_0_i2v",
|
||||
"aspect_ratio": "VIDEO_ASPECT_RATIO_LANDSCAPE",
|
||||
"supports_images": True,
|
||||
"min_images": 1,
|
||||
"max_images": 2
|
||||
},
|
||||
|
||||
# veo_3_1_i2v_s_fast_ultra (横竖屏)
|
||||
"veo_3_1_i2v_s_fast_portrait_ultra_fl": {
|
||||
"type": "video",
|
||||
|
||||
@@ -200,10 +200,6 @@ const FALLBACK_MODELS = {
|
||||
"veo_3_1_r2v_fast": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_3_1_r2v_fast_ultra": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_3_1_r2v_fast_ultra_relaxed": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_2_1_fast_d_15_t2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_2_0_t2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_2_1_fast_d_15_i2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_2_0_i2v": "Video generation (alias) - supports landscape/portrait via generationConfig",
|
||||
"veo_3_1_upsampler_1080p": "Video upsample - 1080p",
|
||||
"veo_3_1_upsampler_4k": "Video upsample - 4k",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user