feat(api): migrate volces client to gateway

This commit is contained in:
2026-05-10 23:14:10 +08:00
parent d59756a27c
commit 0fc23d7eb8
5 changed files with 830 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ WHERE p.status = 'enabled'
OR ($2 = 'text_generate' AND m.model_type IN ('chat', 'responses', 'text'))
OR ($2 = 'image_generate' AND m.model_type IN ('image', 'images.generations'))
OR ($2 = 'image_edit' AND m.model_type IN ('images.edits'))
OR ($2 = 'video_generate' AND m.model_type IN ('video', 'videos.generations'))
OR ($2 = 'video_generate' AND m.model_type IN ('video', 'videos.generations', 'video_generate', 'text_to_video', 'image_to_video', 'omni_video', 'video_edit', 'video_reference', 'video_first_last_frame'))
)
AND (p.cooldown_until IS NULL OR p.cooldown_until <= now())
AND (