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.

825 B
Raw Blame
import { describe, it, expect } from 'vitest'
import { macTalkingPrompt } from '../mac-talking'

describe('the prompt of a talking run on a Mac', () => {
  it('quotes what the voice says and tells the model to move the lips', () => {
    expect(macTalkingPrompt('Hello there.')).toBe(
      'A person talks directly to the camera and says: "Hello there." Their lips move clearly with every word, natural expression, slight head movement, static camera.',
    )
  })

  it('goes on the voice alone without words, and keeps one quote with them', () => {
    expect(macTalkingPrompt('   ')).toBe('A person talks directly to the camera. Their lips move clearly with every word, natural expression, slight head movement, static camera.')
    expect(macTalkingPrompt('say  "hi"\n now')).toContain('says: "say \'hi\' now"')
  })
})