ai-stories-factory / src /app /server /aitube /editClapStoryboards.ts
jbilcke-hf's picture
jbilcke-hf HF staff
add toggle for video orientation
93ad82e
raw
history blame
469 Bytes
"use server"
import { ClapProject } from "@aitube/clap"
import { editClapStoryboards as apiEditClapStoryboards, ClapCompletionMode } from "@aitube/client"
import { getToken } from "./getToken"
export async function editClapStoryboards({
clap,
}: {
clap: ClapProject
}): Promise<ClapProject> {
const newClap: ClapProject = await apiEditClapStoryboards({
clap,
completionMode: ClapCompletionMode.FULL,
token: await getToken()
})
return newClap
}