From 641143a7d69f36d807fd25f8d4e21812bf4d323d Mon Sep 17 00:00:00 2001 From: ajaysi Date: Wed, 22 Apr 2026 11:38:15 +0530 Subject: [PATCH] fix: use aiApiClient for voice clone/design (180s timeout instead of 60s) --- frontend/src/api/brandAssets.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/api/brandAssets.ts b/frontend/src/api/brandAssets.ts index b7c1745a..784f9629 100644 --- a/frontend/src/api/brandAssets.ts +++ b/frontend/src/api/brandAssets.ts @@ -217,7 +217,7 @@ export const createVoiceClone = async ( formData.append('voice_name', 'My Voice Clone'); console.log('[VoiceClone] Sending request to /onboarding/assets/create-voice-clone'); - const response = await apiClient.post('/onboarding/assets/create-voice-clone', formData, { + const response = await aiApiClient.post('/onboarding/assets/create-voice-clone', formData, { headers: { 'Content-Type': 'multipart/form-data', }, @@ -243,7 +243,7 @@ export const createVoiceDesign = async ( params: VoiceDesignParams ): Promise => { try { - const response = await apiClient.post('/onboarding/assets/create-voice-design', { + const response = await aiApiClient.post('/onboarding/assets/create-voice-design', { text: params.text, voice_description: params.voiceDescription, language: params.language || 'auto',