File size: 808 Bytes
bda5f6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9658ad9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bda5f6b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export interface Shot {
  shotId: string
  index: number
  lastGenerationAt: string
  videoPrompt: string
  audioPrompt: string
  duration: number // no more than 3 (we don't have the ressources for it)
  fps: number // typically 8, 12, 24
}

export interface Sequence {
  sequenceId: string
  skip: boolean
  lastGenerationAt: string
  videoPrompt: string
  audioPrompt: string
  channel: string
  tags: string[]
  shots: Shot[]
}

export interface Database {
  version: number
  startAtShotId: string
  sequences: Sequence[]
}


export interface MakeShot {
  token: string
  shotPrompt: string
  // inputVideo?: string

  audioPrompt?: string
  seed?: number
  upscale?: boolean

  duration?: number
  steps?: number

  fps?: number // 8, 12, 24, 30, 60

  resolution?: number // 256, 512, 576, 720, 1080
}