Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

byok.ts

14 lines420 Bytes

1import { defineByokProvider } from '@tanstack/ai/byok'
2​
3export const byteplusByok = defineByokProvider({
4 id: 'byteplus',
5 label: 'BytePlus',
6 env: ['ARK_API_KEY', 'BYTEPLUS_API_KEY'],
7})
8​
9/** Seed Speech TTS/ASR. Different product and key from {@link byteplusByok}. */
10export const byteplusVoiceByok = defineByokProvider({
11 id: 'byteplus-voice',
12 label: 'BytePlus Seed Speech',
13 env: 'BYTEPLUS_VOICE_API_KEY',
14})