{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh-TW/develop/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"API Playground","description":"YouCam API documentation by Perfect Corp. Learn how to use Skin analysis API, Virtual try-on API, Image editing API, and Video generative AI APIs.","siteUrl":"https://docs.perfectcorp.com","keywords":"AI Skin Analysis, AI Clothes, AI Hairstyle, AI Outfits","image":"/assets/favicon.cd6fa4d833b2a573b3c6dae68386b293da205b203402cb0c97b80bd2acc07ea2.8351e24f.png"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"api-playground","__idx":0},"children":["API Playground"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["YouCam API 的 API Playground 提供了極佳的概覽，說明如何設定 AI 工作流程。您可以執行測試、驗證結果、排除問題，同時提供可直接複製到環境中的即用程式碼片段。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["網址：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://yce.makeupar.com/api-console/en/api-playground/ai-skin-analysis/"},"children":["https://yce.makeupar.com/api-console/en/api-playground/ai-skin-analysis/"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Playground_9dfea29a72.png","alt":"YouCam API - API Playground"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"使用者指南","__idx":1},"children":["使用者指南"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["請依下列步驟註冊、建立 API 金鑰，並執行您的第一個 AI 工作流程。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-註冊與登入","__idx":2},"children":["1. 註冊與登入"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["前往：https://yce.makeupar.com/ai-api"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["註冊新帳號，若已有帳號則直接登入。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-建立-api-key","__idx":3},"children":["2. 建立 API Key"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["前往 ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://yce.makeupar.com/api-console/en/"},"children":["API Console"]}," 並",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://yce.makeupar.com/api-console/en/api-keys/"},"children":["產生金鑰"]},"："," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Console_API_Keys_07f57942c7.png","alt":"API Keys"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-在-api-playground-中選擇功能","__idx":4},"children":["3. 在 API Playground 中選擇功能"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://yce.makeupar.com/api-console/en/api-playground/ai-skin-analysis/"},"children":["選擇要測試的 AI 功能"]},"。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-使用您的-api-key-授權","__idx":5},"children":["4. 使用您的 API Key 授權"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["在 playground 的 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]}," 欄位中，選取您建立的 API 金鑰。"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Playground_API_Key_d4854060be.png","alt":"API Key in Playground"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"5-選擇來源","__idx":6},"children":["5. 選擇來源"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定資料來源（例如本地檔案、檔案網址，或範例）。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"6-設定-ai-參數","__idx":7},"children":["6. 設定 AI 參數"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["調整參數以符合您的使用情境："," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Playground_Parameter_b253859dd5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"7-檢查請求內容與範例程式碼","__idx":8},"children":["7. 檢查請求內容與範例程式碼"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["檢視產生的請求內容（request payload）與範例程式碼是否正確。"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Playground_Request_Payload_and_Sample_Code_91cf726c91.png","alt":"Request Payload"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"8-開始處理","__idx":9},"children":["8. 開始處理"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["點擊 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Processing"]}," 以執行工作流程。"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Playground_Start_Processing_2c334b82f4.png","alt":"Start Processing"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"9-檢查結果","__idx":10},"children":["9. 檢查結果"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["檢視輸出，確認是否符合預期。"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_Playground_Result_bf2a4c4575.png","alt":"Results"},"children":[]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]}]},"headings":[{"value":"API Playground","id":"api-playground","depth":1},{"value":"使用者指南","id":"使用者指南","depth":2},{"value":"1. 註冊與登入","id":"1-註冊與登入","depth":3},{"value":"2. 建立 API Key","id":"2-建立-api-key","depth":3},{"value":"3. 在 API Playground 中選擇功能","id":"3-在-api-playground-中選擇功能","depth":3},{"value":"4. 使用您的 API Key 授權","id":"4-使用您的-api-key-授權","depth":3},{"value":"5. 選擇來源","id":"5-選擇來源","depth":3},{"value":"6. 設定 AI 參數","id":"6-設定-ai-參數","depth":3},{"value":"7. 檢查請求內容與範例程式碼","id":"7-檢查請求內容與範例程式碼","depth":3},{"value":"8. 開始處理","id":"8-開始處理","depth":3},{"value":"9. 檢查結果","id":"9-檢查結果","depth":3}],"frontmatter":{"seo":{"title":"API Playground"}},"lastModified":"2026-10-30T07:26:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh-tw/develop/api_playground","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}