Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 1,389 Bytes
bda5f6b 9658ad9 a65e95e 9658ad9 a65e95e 9658ad9 a65e95e 9658ad9 a65e95e 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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
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 ShotQuery {
token: string
shotPrompt: string
// inputVideo?: string
// describe the background audio (crowd, birds, wind, sea etc..)
backgroundAudioPrompt?: string
// describe the foreground audio (cars revving, footsteps, objects breaking, explosion etc)
foregroundAudioPrompt?: string
// describe the main actor visible in the shot (optional)
actorPrompt?: string
// describe the main actor voice (man, woman, old, young, amused, annoyed.. etc)
actorVoicePrompt?: string
// describe the main actor dialogue line
actorDialoguePrompt?: string
seed?: number
upscale?: boolean
noise?: boolean // add movie noise
duration?: number
steps?: number
fps?: number // 8, 12, 24, 30, 60
resolution?: number // 256, 512, 576, 720, 1080
}
export interface Job {
startedAt: string
query: ShotQuery
} |