免費試用語音服務Try Speech Services for free

開始使用語音服務相當簡單,且價格合理。Getting started with the Speech Services is easy and affordable. 30 天免費試用版可讓您探索服務可以執行哪些作業,以及判斷它是否符合您的應用程式需求。A 30-day free trial lets you discover what the service can do and decide whether it's right for your application's needs.

如果您需要更多時間,請註冊 Microsoft Azure 帳戶,其隨附 $200 美元的服務額度,您可以將此額度應用於長達 30 天的付費語音服務訂用帳戶。If you need more time, sign up for a Microsoft Azure account—it comes with $200 in service credit that you can apply toward a paid Speech Services subscription for up to 30 days.

最後,語音服務會提供適用於開發應用程式的免費少量定價層。Finally, the Speech Services offers a free, low-volume tier that's suitable for developing applications. 即使在服務額度到期後,您仍可保留此免費訂用帳戶。You can keep this free subscription even after your service credit expires.

免費試用Free trial

30 天免費試用可讓您在有限的時間內存取標準定價層。The 30-day free trial gives you access to the standard pricing tier for a limited time.

若要註冊 30 天免費試用:To sign up for a 30-day free trial:

  1. 請移至試用認知服務Go to Try Cognitive Services.

  2. 選取 [語音識別 API] 索引標籤。Select the Speech APIs tab.

    語音服務索引標籤

  3. 在 [語音服務] 底下, 選取 [取得 API 金鑰]。Under Speech Services, select Get API Key.

    API 金鑰

  4. 同意條款,並從下拉式功能表中選取您的地區設定。Agree to the terms and select your locale from the drop-down menu.

    同意條款

  5. 使用 Microsoft、Facebook、LinkedIn 或 GitHub 帳戶登入。Sign in by using your Microsoft, Facebook, LinkedIn, or GitHub account.

    您可以在 Microsoft 帳戶入口網站註冊免費的 Microsoft 帳戶。You can sign up for a free Microsoft account at the Microsoft account portal. 若要開始使用, 請選取 [使用 Microsoft 帳戶登入], 然後在系統要求您登入時, 選取 [建立一個]。To get started, select Sign in with Microsoft and then, when asked to sign in, select Create one. 依照步驟來建立及驗證新的 Microsoft 帳戶。Follow the steps to create and verify your new Microsoft account.

登入「試用認知服務」之後,您的免費試用便開始啟用。After you sign in to Try Cognitive Services, your free trial begins. 顯示的網頁會列出您目前有試用訂用帳戶的所有 Azure 認知服務。The displayed webpage lists all the Azure Cognitive Services services for which you currently have trial subscriptions. 語音服務旁邊會列出兩個訂用帳戶金鑰。Two subscription keys are listed beside Speech Services. 您可以在應用程式中使用任一金鑰。You can use either key in your applications.

注意

所有免費試用訂用帳戶都位於美國西部區域。All free trial subscriptions are in the West US region. 當您提出要求時,務必使用 westus 端點。When you make requests, be sure to use the westus endpoint.

新的 Azure 帳戶New Azure account

新的 Azure 帳戶會收到可用 30 天的 $200 美元服務額度。New Azure accounts receive a $200 service credit that is available for up to 30 days. 您可以使用此額度來進一步探索語音服務,或開始進行應用程式開發。You can use this credit to further explore the Speech Services or to begin application development.

若要註冊新的 Azure 帳戶, 請前往Azure 註冊頁面, 選取 [開始免費], 然後使用您的 Microsoft 帳戶建立新的 Azure 帳戶。To sign up for a new Azure account, go to the Azure sign-up page, select Start Free, and create a new Azure account using your Microsoft account.

您可以在 Microsoft 帳戶入口網站註冊免費的 Microsoft 帳戶。You can sign up for a free Microsoft account at the Microsoft account portal. 若要開始使用, 請選取 [使用 Microsoft 帳戶登入], 然後在系統要求您登入時, 選取 [建立一個]。To get started, select Sign in with Microsoft and then, when asked to sign in, select Create one. 依照步驟來建立及驗證新的 Microsoft 帳戶。Follow the steps to create and verify your new Microsoft account.

建立 Azure 帳戶後,請遵循下一節中的步驟,以啟用語音服務的訂用帳戶。After creating your Azure account, follow the steps in the next section to start a subscription to the Speech Services.

在 Azure 中建立語音資源Create a Speech resource in Azure

若要將語音服務資源 (免費或付費層) 新增至您的 Azure 帳戶:To add a Speech Services resource (free or paid tier) to your Azure account:

  1. 使用您的 Microsoft 帳戶,登入 Azure 入口網站Sign in to the Azure portal using your Microsoft account.

  2. 選取入口網站左上方的 [建立資源]。Select Create a resource at the top left of the portal.

    建立資源

  3. 在 [新增] 視窗中,搜尋 speechIn the New window, search for speech.

  4. 在搜尋結果中,選取 [Speech]。In the search results, select Speech.

    選取 Speech

  5. 在 [Speech] 底下選取 [建立] 按鈕。Under Speech, select the Create button.

    選取 [建立] 按鈕

  6. 在 [建立] 底下輸入:Under Create, enter:

    • 新資源的名稱。A name for the new resource. 此名稱可協助您區分相同服務的多個訂用帳戶。The name helps you distinguish among multiple subscriptions to the same service.

    • 選擇與新資源相關聯的 Azure 訂用帳戶來決定費用的計費方式。Choose the Azure subscription that the new resource is associated with to determine how the fees are billed.

    • 選擇將使用資源的區域Choose the region where the resource will be used.

    • 選擇免費或付費的定價層。Choose either a free or paid pricing tier. 如需有關每一層的定價和使用量配額的完整資訊, 請選取 [查看完整定價詳細資料]。Select View full pricing details for complete information about pricing and usage quotas for each tier.

    • 為此語音訂用帳戶建立新的資源群組,或將該訂用帳戶指派給現有的資源群組。Create a new resource group for this Speech subscription or assign the subscription to an existing resource group. 資源群組可協助組織各種 Azure 訂用帳戶。Resource groups help you keep your various Azure subscriptions organized.

    • 為了方便未來存取您的訂用帳戶,請選取 [釘選到儀表板] 核取方塊。For convenient access to your subscription in the future, select the Pin to dashboard check box.

    • 選取 [建立]。Select Create.

      選取 [建立] 按鈕

      建立和部署新的語音資源可能需要一些時間。It takes a moment to create and deploy your new Speech resource. 選取 [快速入門] 可查看新資源的相關資訊。Select Quickstart to see information about your new resource.

      快速入門面板

  7. 在 [快速入門] 下, 選取步驟1底下的 [金鑰] 連結, 以顯示您的訂用帳戶金鑰Under Quickstart, select the Keys link under step 1 to display your subscription keys. 每個訂用帳戶都有兩個金鑰,您可以在應用程式中使用任一個金鑰。Each subscription has two keys; you can use either key in your application. 選取每個金鑰旁邊的按鈕,將它複製到剪貼簿,以便貼到您的程式碼中。Select the button next to each key to copy it to the clipboard for pasting into your code.

注意

您可以在一或多個區域中建立無限數量的標準層訂用帳戶。You can create an unlimited number of standard-tier subscriptions in one or multiple regions. 不過,您可以建立只有一個免費層的訂用帳戶。However, you can create only one free-tier subscription. 免費層上的模型部署若持續 7 天未使用,將會自動解除委任。Model deployments on the free tier that remain unused for 7 days will be decomissioned automatically.

切換至新的訂用帳戶Switch to a new subscription

若要從一個訂用帳戶切換至另一個,例如免費試用版到期時或發佈您的應用程式時,請將程式碼中的區域和訂用帳戶金鑰取代為新 Azure 資源的區域和訂用帳戶金鑰。To switch from one subscription to another, for example when your free trial expires or when you publish your application, replace the region and subscription key in your code with the region and subscription key of the new Azure resource.

注意

免費試用版金鑰會建立在美國西部 (westus) 區域。Free trial keys are created in the West US (westus) region. 透過 Azure 儀表板建立的訂用帳戶可能會位在其他某些區域中 (如果您選擇的話)。A subscription created via the Azure dashboard may be in some other region if you so choose.

  • 如果您的應用程式使用語音 SDK,您會在建立語音設定時提供區域程式碼,例如 westusIf your application uses a Speech SDK, you provide the region code, such as westus, when creating a speech configuration.
  • 如果您的應用程式使用其中一個語音服務 REST API,則該區域會是您提出要求時所用之端點 URI 的一部分。If your application uses one of the Speech Services's REST APIs, the region is part of the endpoint URI you use when making requests.

為某區域建立的金鑰,就只能在該區域中使用。Keys created for a region are valid only in that region. 若嘗試在其他區域使用,將會導致驗證錯誤。Attempting to use them with other regions will result in authentication errors.

後續步驟Next steps

完成個我們的任何一個 10 分鐘快速入門,或查看我們的 SDK 範例:Complete one of our 10-minute quickstarts or check out our SDK samples: