feat: 注册图生图 API 路由
This commit is contained in:
parent
40d5e597f6
commit
e834029f6a
@ -173,6 +173,8 @@ func SetupRouter(userClient *client.Client, socialClient *client.Client, assetCl
|
||||
assets.POST("/mints", assetCtrl.CreateMintOrder) // 创建铸造订单
|
||||
assets.GET("/mints/:order_id", assetCtrl.GetMintOrder) // 查询铸造订单状态
|
||||
assets.DELETE("/mints/:order_id", assetCtrl.CancelMintOrder) // 取消铸造订单
|
||||
assets.POST("/mints/image/generation", assetCtrl.ImageGeneration) // 图生图
|
||||
assets.GET("/mints/image/generation/:job_id", assetCtrl.GetImageJob) // 查询任务
|
||||
assets.GET("/me/items", assetCtrl.GetMyAssets) // 获取我的藏品列表
|
||||
assets.GET("/:asset_id", assetCtrl.GetAsset) // 获取资产详情
|
||||
assets.GET("/:asset_id/status", assetCtrl.GetAssetStatus) // 查询上链状态
|
||||
|
||||
Loading…
Reference in New Issue
Block a user