Text-to-Speech는 Google의 인공지능(AI) 기술을 기반으로 한 API입니다. API 호출에서 스크립트 데이터를 Text-to-Speech로 전송한 후 자연스럽게 합성된 인간 음성을 재생 가능한 오디오로 수신합니다. Text-to-Speech 작동 방식에 대한 자세한 내용은 기본 페이지를 참조하세요.
Google에서는 API에 요청하고 응답을 수신하는 방법을 보여주는 코드 샘플을 제공합니다. Text-to-Speech 빠른 시작 및 안내 가이드에 따라 이러한 샘플을 사용하는 방법을 알아보세요.
이 가이드에서는 Text-to-Speech API로 요청을 보내는 방법을 단계별로 알아보겠습니다.
개요
Text-to-Speech를 사용하려면 먼저 Google Cloud Platform Console에서 API를 사용 설정해야 합니다. 아래 단계는 다음 작업을 안내합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-11(UTC)"],[],[],null,["# Before You Begin\n\nText-to-Speech is an API that is powered by Google's artificial intelligence\n(AI) technology. You send your transcript data to Text-to-Speech in an API\ncall, then receive natural-sounding, synthetic human speech as playable audio in\nresponse. For more information on how Text-to-Speech works, see the\n[basics](/text-to-speech/docs/basics) page.\n\nWe provide [code samples](/text-to-speech/docs/samples) that show you how to\nmake a request to the API and receive a response. You can learn how to use\nthese samples by following the Text-to-Speech\n[quickstarts](/text-to-speech/docs/quickstarts) and\n[how-to guides](/text-to-speech/docs/how-to).\n\nThis guide walks you through the steps necessary to start sending requests to\nthe Text-to-Speech API.\n\nOverview\n--------\n\nBefore you can begin using Text-to-Speech, you must enable the API in the\nGoogle Cloud Platform Console. The steps below walk you through the\nfollowing actions:\n\n- Enable Text-to-Speech on a project.\n- Make sure billing is enabled for Text-to-Speech.\n- Set up authentication for your development environment.\n\nSet up your Google Cloud Platform project\n-----------------------------------------\n\n1. [Sign in to Google Cloud console](https://console.cloud.google.com/)\n\n2. [Go to the project selector page](https://console.cloud.google.com/projectselector2/home/dashboard)\n\n You can either choose an existing project or create a new one. For more\n details about creating a project, please see the\n [Google Cloud Platform documentation](/resource-manager/docs/creating-managing-projects).\n3. If you create a new project, you will be prompted to link a billing account\n to this project. If you are using a pre-existing project, make sure that you\n have billing enabled.\n\n [Learn how to confirm that billing is enabled for your project](/billing/docs/how-to/modify-project)\n | **Note:** You must enable billing to use Text-to-Speech API, however you will not be charged unless you exceed the free quota. See the [pricing](/text-to-speech/pricing) page for more details.\n4. Once you have selected a project and linked it to a billing account, you\n can enable the Text-to-Speech API. Go to the **Search products and\n resources** bar at the top of the page and type in **\"speech\"** . Select the\n **Cloud Text-to-Speech API** from the list of results.\n\n5. To try Text-to-Speech without linking it to your project, choose\n the **TRY THIS API** option. To enable the Text-to-Speech API for use\n with your project, click **ENABLE**.\n\n6. Set up authentication for your development environment. For instructions, see\n [Set up authentication for Text-to-Speech](/text-to-speech/docs/authentication#authn-how-to).\n\nDisable the Text-to-Speech API\n------------------------------\n\nTo disable the Text-to-Speech API, navigate to your Google Cloud Platform\ndashboard and click on the **Go to APIs overview** link in the **APIs** box.\nClick on the Text-to-Speech API, then select the **DISABLE API** button at the top\nof the page.\n\nWhat's next\n-----------\n\nLearn how to send a transcription request to the Text-to-Speech API using\n[client libraries](/text-to-speech/docs/create-audio-text-client-libraries) or the\n[command line](/text-to-speech/docs/create-audio-text-command-line)."]]