File size: 291 Bytes
a99b4ac
 
07ae658
a99b4ac
 
07ae658
a99b4ac
07ae658
a99b4ac
07ae658
1
2
3
4
5
6
7
8
9
10
11
import { callZeroscope } from './callZeroscope.mts'
import { downloadVideo } from './downloadVideo.mts'

export const generateVideo = async (prompt: string): Promise<string> => {
  const { url } = await callZeroscope(prompt)

  const rawVideo = await downloadVideo(url)

  return rawVideo
}