fix: HappyHorse t2v + image model name fix for upstream
This commit is contained in:
parent
dfca352aa6
commit
b4c00cfae3
12
scripts/ktv_uapi_migration_p6_happyhorse.sql
Normal file
12
scripts/ktv_uapi_migration_p6_happyhorse.sql
Normal file
@ -0,0 +1,12 @@
|
||||
-- ============================================================
|
||||
-- HappyHorse + image model name 修复
|
||||
-- upstream aliyun 不认识中文模型名,需用英文 model identifier
|
||||
-- ============================================================
|
||||
|
||||
-- t2v (HappyHorse 文生视频)
|
||||
UPDATE uapi SET data = REPLACE(data, '"model": "{{model}}"', '"model": "happyhorse-1.0-t2v"')
|
||||
WHERE name='t2v' AND upappid='tongyi-wan';
|
||||
|
||||
-- wan2.7-image-pro
|
||||
UPDATE uapi SET data = REPLACE(data, '"model": "{{model}}"', '"model": "wan2.7-image-pro"')
|
||||
WHERE name='wan2.7-image-sync' AND upappid='tongyi-wan';
|
||||
Loading…
x
Reference in New Issue
Block a user