File::get(storage_path('app/public/tts/'.$this->option('text').'.txt')), 'speaker_id' => null, 'style_wav' => null, 'language_id' => null, ]); File::put(storage_path('app/public/tts/'.$this->option('text').'.wav'), $response->body()); event(new AudioTextToSpeechChangedEvent(url('storage/tts/'.$this->option('text').'.wav'))); } }