feat: vidu video add starEnd and reference gen video

This commit is contained in:
feitianbubu
2025-09-19 17:44:58 +08:00
parent 3c70617060
commit 8f9960bcc7
3 changed files with 16 additions and 2 deletions

View File

@@ -111,6 +111,10 @@ func (a *TaskAdaptor) BuildRequestURL(info *relaycommon.RelayInfo) (string, erro
switch info.Action {
case constant.TaskActionGenerate:
path = "/img2video"
case constant.TaskActionFirstTailGenerate:
path = "/start-end2video"
case constant.TaskActionReferenceGenerate:
path = "/reference2video"
default:
path = "/text2video"
}