mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 02:33:42 +08:00
add luma api service
This commit is contained in:
@@ -28,7 +28,3 @@ type SunoJob struct {
|
||||
PlayTimes int `json:"play_times"` // 播放次数
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
|
||||
func (SunoJob) TableName() string {
|
||||
return "chatgpt_suno_jobs"
|
||||
}
|
||||
|
||||
20
api/store/vo/video_job.go
Normal file
20
api/store/vo/video_job.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package vo
|
||||
|
||||
type VideoJob struct {
|
||||
Id uint `json:"id"`
|
||||
UserId int `json:"user_id"`
|
||||
Channel string `json:"channel"`
|
||||
Type string `json:"type"`
|
||||
TaskId string `json:"task_id"`
|
||||
Prompt string `json:"prompt"` // 提示词
|
||||
PromptExt string `json:"prompt_ext"` // 提示词
|
||||
CoverURL string `json:"cover_url"` // 封面图 URL
|
||||
VideoURL string `json:"video_url"` // 无水印视频 URL
|
||||
WaterURL string `json:"water_url"` // 有水印视频 URL
|
||||
Progress int `json:"progress"` // 任务进度
|
||||
Publish bool `json:"publish"` // 是否发布
|
||||
ErrMsg string `json:"err_msg"` // 错误信息
|
||||
RawData map[string]interface{} `json:"raw_data"` // 原始数据 json
|
||||
Power int `json:"power"` // 消耗算力
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user