MCPcopy Create free account
hub / github.com/TanStack/ai / createAdapter

Function createAdapter

packages/ai-fal/tests/speech-adapter.test.ts:46–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44const REFERENCE_AUDIO = 'https://example.com/reference-voice.wav'
45
46const createAdapter = () =>
47 falSpeech('fal-ai/index-tts-2/text-to-speech', { apiKey: 'test-key' })
48
49function createMockSpeechResponse(audioUrl: string, contentType?: string) {
50 return {

Callers 1

Calls 1

falSpeechFunction · 0.90

Tested by

no test coverage detected