jbilcke-hf's picture
jbilcke-hf HF staff
let's use the AiTube API
a899dc1
raw
history blame
242 Bytes
"use server"
import { ClapProject } from "@aitube/clap"
import * as aitube from "@aitube/client"
export async function generateClap({
prompt = "",
}: {
prompt: string
}): Promise<ClapProject> {
return aitube.generateClap({ prompt })
}