clapper / packages /engine /src /prompts /getCharacterReferencePrompt.ts
shaw's picture
move packages and add file links
3e03786
raw
history blame contribute delete
656 Bytes
import { ClapEntity } from "@aitube/clap"
import { getCharacterPrompt } from "./getCharacterPrompt"
/**
* Return a prompt for a "formal" picture, centered, neutral etc
*
* @param entity
* @returns
*/
export function getCharacterReferencePrompt(entity: ClapEntity) {
const characterPrompt = [
`beautiful`,
`close-up`,
`photo portrait`,
`id photo`,
getCharacterPrompt(entity),
`neutral expression`,
`neutral background`,
`frontal`,
`photo studio`,
`crisp`,
`sharp`,
`intricate details`,
`centered`,
// `aligned`
].map(i => i.trim()).filter(i => i).join(", ")
return characterPrompt
}