fix: sora fetch task route

This commit is contained in:
feitianbubu
2025-10-10 15:25:29 +08:00
parent 2479da4986
commit 4c1f138c0a

View File

@@ -19,7 +19,7 @@ func SetVideoRouter(router *gin.Engine) {
// docs: https://platform.openai.com/docs/api-reference/videos/create // docs: https://platform.openai.com/docs/api-reference/videos/create
{ {
videoV1Router.POST("/videos", controller.RelayTask) videoV1Router.POST("/videos", controller.RelayTask)
videoV1Router.GET("/videos/:id", controller.RelayTask) videoV1Router.GET("/videos/:task_id", controller.RelayTask)
} }
klingV1Router := router.Group("/kling/v1") klingV1Router := router.Group("/kling/v1")