Browse Source

fix: sora fetch task route

feitianbubu 3 months ago
parent
commit
4c1f138c0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      router/video-router.go

+ 1 - 1
router/video-router.go

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