Configuration

nuxt.config.ts
gpt: {
    apiKey: string;
    protectAPI: boolean;
    model?: string;
    voice?: string;
}
keyTypeDefaultDescription
apiKeystring (required)Your openAI API-Key. Typically starts with sk-proj-
protectAPIbooleantrueWether to use server middleware and tokens to protect ChatGPT Endpoints from external access. Read more
modelstringgpt-4o-miniModel to use. Find a full list here
voicestringalloyVoice to use for .toSpeech(). Find a full list here