Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

502 B
Raw Blame
// The words a two-step "From text" adds to the prompt of its picture, locally
// (hooks/useCreate.ts) and in the cloud (lib/three/cloud-picture-first.ts).

/** Steers the picture towards what an image-to-3D model reads best: one
 *  object, whole, on a plain ground. */
export function threeDPicturePrompt(prompt: string): string {
  const p = prompt.trim().replace(/[.,;\s]+$/, '')
  return `${p}, a single object, whole and centered, plain light background, soft studio light, three-quarter view`
}