返回 AiToEarn
draft-generation-data.interface.ts
根目录 / project / aitoearn-backend / libs / aitoearn-queue / src / interfaces / draft-generation-data.interface.ts
1 import { UserType } from '@yikart/common'
2
3 export interface DraftGenerationData {
4 aiLogId: string
5 userId: string
6 userType: UserType
7 groupId: string
8 version: 'v2' | 'v2-image-text'
9 prompt?: string
10 captionPrompt?: string
11 imageUrls?: string[]
12 model?: string
13 duration?: number
14 resolution?: string
15 aspectRatio?: string
16 videoUrls?: string[]
17 audioUrls?: string[]
18 imageModel?: string
19 imageCount?: number
20 imageSize?: string
21 draftType?: 'draft' | 'video'
22 imageTextDraftType?: 'draft' | 'image'
23 platforms?: string[]
24 plannerModel?: string
25 disableMemory?: boolean
26 queuePriority?: number
27 }
28
28 lines TYPESCRIPT