FutureAi
  • Documentation
  • 🔵Introduction
    • Introduction
    • Key Feature
  • 🔵Installation
    • Server Requirement
    • Shared Hosting Install
    • Installation Steps
    • Installation with Apache
    • AI Keys for Features
  • 🔵Developer Guide
    • Developer Guide
  • 🔵AI Feature
    • Chat
    • Image
    • Image Editor
    • Audio
    • Ai Resume
    • AI Plagiarism
    • AI Detector
    • AI Pdf To Audio
    • Text To Video
    • Image To Video
    • Image To 3D Generator
    • Text to 3D model Generator
    • Text To voxel To 3D model Generator
    • Voice Over
    • Name Generator
    • AI Code
    • AI Writer
    • Email Campagin
    • Itinerary
    • Cron Job
  • 🔵SETTING UP FutureAi
    • PWA Setup
    • Mail Settings
    • ReCaptcha Setting
    • Setting Up Multicurrency
    • Open AI API Keys
    • Novita AI API Keys
    • Meshy AI API Keys
    • Stability AI API Keys
    • PlagiarismCheck AI API Keys
    • Google Text-to-Speech (TTS) Settings
    • Social Login Settings
      • Facebook Login Setting
      • Google Login Setting
      • GitLab Login Setting
      • Amazon Login Setting
      • LinkedIn Login Setting
      • Twitter Login Setting
    • Payment Gateways
      • PayPal Payment Gateway
      • Stripe Payment Gateway
      • Paytm Payment Gateway
      • PayU Money Payment Gateway
      • Paystack Payment Gateway
      • Flutterwave Payment Gateway
      • Razorpay Payment Gateway
      • Omise Payment Gateway
      • AmarPay Payment Gateway
      • Iyzicopay Payment Gateway
      • SSLCOMMERZ Payment Gateway
  • 🔵FAQ'S
    • Installation FAQ's
    • General Faq's
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • 🔵UPDATE DETAILS
    • Changelog
    • Update Process
  • 🔵conclusion
    • Support
    • Source & Credits
    • Conclusion
Powered by GitBook
On this page
  1. SETTING UP FutureAi

Google Text-to-Speech (TTS) Settings

How to Setup Google Text-to-Speech (TTS) Settings

PreviousPlagiarismCheck AI API KeysNextSocial Login Settings

Last updated 1 year ago

Create a Service Account on Google Cloud To interact with the Text-to-speech API, you are required to create a service account in the cloud console. Follow the steps below. You can also get instructions on .

On Google Cloud Platform (For Developers):

  1. Set Up a Google Cloud Platform Project:

    • Log in to your Google Cloud Platform (GCP) account. In the Cloud Console, go to the page.

    • Create a new project or use an existing one.

  2. Enable Text-to-Speech API:

    • Go to the GCP Console and navigate to the API & Services > Library.

    • Search for "Text-to-Speech API" and enable it for your project.

  3. Create Service Account and Obtain Credentials:

    • Create a service account for your project and download the JSON file containing the credentials.

    • This JSON file will be used to authenticate your application when using the Text-to-Speech API.

  4. Use the API:

    • Implement the Text-to-Speech API in your code by using the provided credentials and API endpoints.

    • Refer to Google's official documentation and code samples for guidance on using the Text-to-Speech API.

Next, set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the path of this downloaded JSON file.

GOOGLE_APPLICATION_CREDENTIALS=/home/user_name/public_html/project-name/public/googletts/client_secret.json

Google Cloud:

🔵
this page
Create service account
Before You Begin | Cloud Text-to-Speech API | Google Cloud