mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 02:33:42 +08:00
feat: midjourney image upscale function is ready
This commit is contained in:
19
api/store/model/mj_job.go
Normal file
19
api/store/model/mj_job.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type MidJourneyJob struct {
|
||||
Id uint `gorm:"primarykey;column:id"`
|
||||
UserId uint
|
||||
ChatId string
|
||||
MessageId string
|
||||
Hash string
|
||||
Content string
|
||||
Prompt string
|
||||
Image string
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
func (MidJourneyJob) TableName() string {
|
||||
return "chatgpt_mj_jobs"
|
||||
}
|
||||
Reference in New Issue
Block a user