61 lines
3.4 KiB
Go
61 lines
3.4 KiB
Go
package aichangefacevidmod
|
|
|
|
import (
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
type AiChangeMod struct {
|
|
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` // AI模版ID
|
|
Title string `json:"title" bson:"title"` // 模版标题
|
|
SourceURL string `json:"sourceURL" bson:"sourceURL"` // 视频资源地址
|
|
Status int `json:"status" bson:"status"` // 状态,0 未激活 1 激活
|
|
PlayTime uint `json:"playTime" bson:"playTime"` // 影片长度
|
|
Cover string `json:"cover" bson:"cover"` // 封面大图
|
|
Type string `json:"type" bson:"type"` // 类型
|
|
ModuleType int `json:"moduleType" bson:"moduleType"` // 模块属性
|
|
HotValue int `json:"hotValue" bson:"hotValue"` // 热门值
|
|
HotMark string `json:"hotMark" bson:"hotMark"` // 热门标签
|
|
Coin uint `json:"coin" bson:"coin"` // 价格(金币)
|
|
VipCoin uint `json:"vipCoin" bson:"vipCoin"` // vip价格(金币)
|
|
}
|
|
|
|
type AiUndressMod struct {
|
|
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` // AI模版ID
|
|
Cover string `json:"cover" bson:"cover"` // AI模版图
|
|
}
|
|
|
|
type AiChangeFaceMod struct {
|
|
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` // AI模版ID
|
|
Title string `json:"title" bson:"title"` // 模版标题
|
|
Cover string `json:"cover" bson:"cover"` // AI模版图
|
|
HotValue int `json:"hotValue" bson:"hotValue"` // 热门值
|
|
HotMark string `json:"hotMark" bson:"hotMark"` // 热门标签
|
|
Coin uint `json:"coin" bson:"coin"` // 价格(金币)
|
|
VipCoin uint `json:"vipCoin" bson:"vipCoin"` // vip价格(金币)
|
|
}
|
|
|
|
type AiImgToVideoMod struct {
|
|
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` // AI模版ID
|
|
Cover string `json:"cover" bson:"cover"` // AI模版图
|
|
NewUrl string `json:"newUrl" bson:"newUrl"` // AI图生视频链接
|
|
Title string `json:"title" bson:"title"` // 模版标题
|
|
SceneType int `json:"sceneType" bson:"sceneType"` // 场景类型
|
|
}
|
|
|
|
type AiTextToImgMod struct {
|
|
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` // AI模版ID
|
|
Title string `json:"title" bson:"title"` // 模版标题
|
|
Cover string `json:"cover" bson:"cover"` // AI模版图
|
|
StyleType int `json:"styleType" bson:"styleType"` // AI绘图风格类型
|
|
ModuleType int `json:"moduleType" bson:"moduleType"` // AI模块属性类型
|
|
}
|
|
|
|
type AppResponse struct {
|
|
AiUndressMod []AiUndressMod `json:"aiUndressMod" bson:"aiUndressMod"` // AI脱衣模版
|
|
AiChangeFaceVideoMod []AiChangeMod `json:"aiChangeFaceVideoMod" bson:"aiChangeFaceVideoMod"` // AI视频换脸模型
|
|
AiChangeFaceMod []AiChangeFaceMod `json:"aiChangeFaceMod" bson:"aiChangeFaceMod"` // Ai换脸模型
|
|
AiImgToVideoMod []AiImgToVideoMod `json:"aiImgToVideoMod" bson:"aiImgToVideoMod"` // AI图生视频模型
|
|
AiTextToImgMod []AiTextToImgMod `json:"aiTextToImgMod" bson:"aiTextToImgMod"` // AI绘图模型
|
|
|
|
}
|