{"items":[{"type":"link","label":"ネイルバーチャル試着","link":"/ja/reference/ai_nail_vto","routeSlug":"/ja/reference/ai_nail_vto","content":{"contentType":"overview","meta":{"name":"ネイルバーチャル試着"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"ai_nail_vto.json","url":"/_bundle/@l10n/ja/reference/ai_nail_vto.json?download"},{"kind":"download","label":"ai_nail_vto.yaml","url":"/_bundle/@l10n/ja/reference/ai_nail_vto.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"YouCamOnlineEditor_API@perfectcorp.com","label":"YouCamOnlineEditor_API@perfectcorp.com","withCopyButton":true,"copyContent":"YouCamOnlineEditor_API@perfectcorp.com"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"Privacy policy","url":"https://www.makeupar.com/perfectbeauty/youcam/privacy-policy-api"},{"kind":"externallink","label":"Terms of Service","labelTranslationKey":"info.termsOfService","url":"https://www.makeupar.com/perfectbeauty/youcam/terms-of-service-api"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://yce-api-01.makeupar.com"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"ネイルバーチャル試着","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[]}],"sectionId":"/ja/reference/ai_nail_vto"}],"sectionId":"/ja/reference/ai_nail_vto"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":1,"id":"section/概要"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"概要"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルバーチャル試着 (AI Nail Virtual Try-On) API で、ネイルのバーチャル試着を作成します。"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"天然爪にも人工爪にも、さまざまなネイルスタイルをビジュアライズできます。"},"children":[]}]}]}]}],"sectionId":"/ja/reference/ai_nail_vto/section/概要"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/概要/統合ガイド"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"統合ガイド"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"このガイドでは、次の内容について説明します:"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルバーチャル試着 API のワークフロー:"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"認証が必要:"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer YOUR_API_KEY"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ワークフロー手順:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"画像アップロードの準備:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"手の甲の画像を用意することから始めます。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ファイル管理 API の "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/s2s/v2.0/file"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を呼び出し、アップロード URL と関連する "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"file_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を取得します。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"提供されたアップロード URL を使用して、ネイルのある手の甲の画像をアップロードします。"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルデザインのセットアップオプション:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"まず、適したネイルカラーを選択します。お好みに合わせたカスタムシェイプも選択できます。"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"AI タスクの開始とタスク ID の取得:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"アップロードした画像と選択したエフェクト設定を、HTTP POST リクエストで "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/s2s/v2.0/task/nail-vto"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" に送信します。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"この操作を識別する一意のタスク ID をレスポンスで受け取ります。"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクステータスのポーリング（継続的なチェック）:"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"取得した "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"task_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を使用して、HTTP GET リクエスト（例: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /s2s/v2.0/task/nail-vto/${task_id}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"）で定期的にタスクステータスをポーリングします。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"以下を継続的に監視します:"},"children":[]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Task_status = \"success\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"（処理が完了）。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Task_status = \"error\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"（該当する場合、解決するか再試行）。"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ステータスが success に移行したら、ワークフローを適切に更新します。"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API プレイグラウンド"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API プレイグラウンドで API を対話的にテストします:"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API プレイグラウンド:"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"http://yce.makeupar.com/api-console/en/api-playground/ai-nail-virtual-try-on/"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"http://yce.makeupar.com/api-console/en/api-playground/ai-nail-virtual-try-on/"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"認証"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bearer Token"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を使用して、リクエストヘッダーに API キーを含めます:"},"children":[]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"Authorization: Bearer YOUR_API_KEY\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Authorization: Bearer YOUR_API_KEY\n"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API キーの確認場所: https://yce.makeupar.com/api-console/en/api-keys/."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"画像のアップロード"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ファイルをサーバーに直接アップロードするか、VTO タスクペイロードに有効な画像 URL を指定できます。"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"アップロードエンドポイント"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"POST /s2s/v2.0/file\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"POST /s2s/v2.0/file\n"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"すでに公開済みの画像 URL を持っている場合は、このステップをスキップできます。"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"start":2,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エフェクトテンプレートの準備"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"この目的のために、4 つの異なるセットアップモードが用意されています:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"カラーをカスタマイズし、現在のネイルルックに合わせる"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"プリセットデザインと特定のシェイプを使用して、イメージを実現する"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"プレスオンネイルを追加し、既存の元のネイル画像とリンクする"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"一致するプレッスオンネイル製品の画像リンクを提供する"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エフェクトテンプレートの JSON スキーマ"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n    \"version\": \"1.0\",\n    \"effect_type\": \"nail_polish\", // valid values: ['nail_polish', 'press_on_nails']\n    \"effects\": [],\n    \"ref_file_ids\": []\n}\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n    \"version\": \"1.0\",\n    \"effect_type\": \"nail_polish\", // valid values: ['nail_polish', 'press_on_nails']\n    \"effects\": [],\n    \"ref_file_ids\": []\n}\n"},"children":[]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エフェクト形式"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルポリッシュ - カラー"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n    \"sub_type\": \"color\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"color\": \"#ff0000\",\n    \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic', 'jelly', 'sheer', 'pearl', 'textured', 'shimmer_coarse', 'shimmer_fine']\n    \"transparency\": 0, // 0-100, for textures except metallic\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0, // 0-100\n    \"shimmer_opacity\": 0, // 0-100, for texture pearl\n    \"shimmer_size\": 0, // 0-100, for texture shimmer_coarse and shimmer_fine\n    \"textured_size\": 0, // 0-100, for texture textured\n}\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n    \"sub_type\": \"color\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"color\": \"#ff0000\",\n    \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic', 'jelly', 'sheer', 'pearl', 'textured', 'shimmer_coarse', 'shimmer_fine']\n    \"transparency\": 0, // 0-100, for textures except metallic\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0, // 0-100\n    \"shimmer_opacity\": 0, // 0-100, for texture pearl\n    \"shimmer_size\": 0, // 0-100, for texture shimmer_coarse and shimmer_fine\n    \"textured_size\": 0, // 0-100, for texture textured\n}\n"},"children":[]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルポリッシュ - デザイン"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n    \"sub_type\": \"design\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"ref_file_url\": \"\",  // Optional; Either ref_file_id or ref_file_url must be filled, but only one can be selected.\n    \"ref_file_index\": 0, // This field is optional unless uploading is selected. Index corresponding to ref_file_ids under the root node\n    \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic', 'jelly', 'sheer', 'pearl', 'textured', 'shimmer_coarse', 'shimmer_fine']\n    \"transparency\": 0, // 0-100, only for textures except metallic\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0, // 0-100\n    \"shimmer_opacity\": 0, // 0-100, for texture pearl\n    \"shimmer_size\": 0, // 0-100, for texture shimmer_coarse and shimmer_fine\n    \"textured_size\": 0, // 0-100, for texture textured\n}\n\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n    \"sub_type\": \"design\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"ref_file_url\": \"\",  // Optional; Either ref_file_id or ref_file_url must be filled, but only one can be selected.\n    \"ref_file_index\": 0, // This field is optional unless uploading is selected. Index corresponding to ref_file_ids under the root node\n    \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic', 'jelly', 'sheer', 'pearl', 'textured', 'shimmer_coarse', 'shimmer_fine']\n    \"transparency\": 0, // 0-100, only for textures except metallic\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0, // 0-100\n    \"shimmer_opacity\": 0, // 0-100, for texture pearl\n    \"shimmer_size\": 0, // 0-100, for texture shimmer_coarse and shimmer_fine\n    \"textured_size\": 0, // 0-100, for texture textured\n}\n\n"},"children":[]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"プレスオンネイル - カラー"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"最新のシェイプ値は、https://plugins-media.makeupar.com/wcm-saas/shapes/nails.json で確認できます。"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n    \"sub_type\": \"color\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"shape\": \"square_oval\", // Please check the nails.json. valid values: ['square_oval','square_square','square_squoval','squoval_oval','squoval_square','squoval_squoval','oval_oval','oval_square','oval_squoval','almond_oval','almond_square','almond_squoval','stiletto_oval','stiletto_square','stiletto_squoval],\n    \"length\": 1.0, // 0.8-2.15, for shapes except original\n    \"color\": \"#ff0000\",\n    \"texture\": \"cream\", // valid values for other shapes: ['matte', 'cream', 'metallic']\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0 // 0-100\n}\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n    \"sub_type\": \"color\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"shape\": \"square_oval\", // Please check the nails.json. valid values: ['square_oval','square_square','square_squoval','squoval_oval','squoval_square','squoval_squoval','oval_oval','oval_square','oval_squoval','almond_oval','almond_square','almond_squoval','stiletto_oval','stiletto_square','stiletto_squoval],\n    \"length\": 1.0, // 0.8-2.15, for shapes except original\n    \"color\": \"#ff0000\",\n    \"texture\": \"cream\", // valid values for other shapes: ['matte', 'cream', 'metallic']\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0 // 0-100\n}\n"},"children":[]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"プレスオンネイル - デザイン"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n    \"sub_type\": \"design\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"ref_file_url\": \"\",  // Optional; Either ref_file_id or ref_file_url must be filled, but only one can be selected.\n    \"ref_file_index\": 0, // This field is optional unless uploading is selected. Index corresponding to ref_file_ids under the root node\n    \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic']\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0, // 0-100\n}\n\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n    \"sub_type\": \"design\",\n    \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n    \"ref_file_url\": \"\",  // Optional; Either ref_file_id or ref_file_url must be filled, but only one can be selected.\n    \"ref_file_index\": 0, // This field is optional unless uploading is selected. Index corresponding to ref_file_ids under the root node\n    \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic']\n    \"reflection\": 0, // 0-100\n    \"contrast\": 0, // 0-100\n    \"roughness\": 0, // 0-100\n}\n\n"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エフェクトテンプレートのデザインロジック"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エフェクトタイプの検出"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"（"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"press_on_nails"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" または "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nail_polish"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"）。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"effects"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" の各エントリを繰り返し:"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sub_type === \"color\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" の場合"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" → フィールドを直接マッピングし、欠落しているテクスチャ関連のキーをデフォルト値で埋めます。"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sub_type === \"design\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" の場合"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" →"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ユーザーが "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を指定した場合は、それを保持し、"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_index"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"省略"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"します。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ユーザーがインデックス ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_index"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") を指定した場合は、"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" が存在し、インデックスが有効であることを確認してから、"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"\"ref_file_id\": ref_file_ids[index]"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" を設定します（省略可 – 一部のバックエンドでは id ではなく生のインデックスを期待します）。"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"数値範囲の正規化"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" – 範囲外の値を 0-100 または長さの制限にクランプします。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"スキーマバリデーションを通過できるように、"},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"欠落している任意のキー"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"をデフォルト値で追加します。"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"最終オブジェクトを JSON として "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"シリアライズ"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" します（デバッグ用に compact または pretty）。"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"送信準備ができたペイロード例"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n\"version\": \"1.0\",\n\"src_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/nail_user_photo_01_27d4260646.jpg\",\n\"effect_type\": \"press_on_nails\",\n\"ref_file_ids\": [\n    \"Ks3kh+1nPpVNm8iJb5374CWtBzkT4B44NPJwXbBKqVxfjK3xgCQ+hRt9MJXBFaud\",\n    \"+Z7PSjuzigvsc3S/Yli1A4WN7c3J6NJHFqK2iUlqD2BfjK3xgCQ+hRt9MJXBFaud\"\n],\n\"effects\": [\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"thumb\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_index\": 0\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"index\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_index\": 1\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"middle\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_3_9ce2ddc47a.png\"\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"pinky\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_5_f6e46dd56f.png\"\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"ring\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_4_2103ca8cac.png\"\n    }\n]\n}\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n\"version\": \"1.0\",\n\"src_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/nail_user_photo_01_27d4260646.jpg\",\n\"effect_type\": \"press_on_nails\",\n\"ref_file_ids\": [\n    \"Ks3kh+1nPpVNm8iJb5374CWtBzkT4B44NPJwXbBKqVxfjK3xgCQ+hRt9MJXBFaud\",\n    \"+Z7PSjuzigvsc3S/Yli1A4WN7c3J6NJHFqK2iUlqD2BfjK3xgCQ+hRt9MJXBFaud\"\n],\n\"effects\": [\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"thumb\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_index\": 0\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"index\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_index\": 1\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"middle\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_3_9ce2ddc47a.png\"\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"pinky\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_5_f6e46dd56f.png\"\n    },\n    {\n    \"sub_type\": \"design\",\n    \"finger\": \"ring\",\n    \"texture\": \"cream\",\n    \"reflection\": 100,\n    \"contrast\": 50,\n    \"roughness\": 0,\n    \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_4_2103ca8cac.png\"\n    }\n]\n}\n"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイル VTO タスクの作成と結果のポーリング"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"画像と完全なエフェクトペイロードが揃ったら、タスクを作成します。API はリクエストを非同期で処理します。"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"success"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" または "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" になるまで、タスクステータスをポーリングする必要があります。"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスク作成エンドポイント"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"POST /s2s/v2.0/task/nail-vto\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"POST /s2s/v2.0/task/nail-vto\n"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ポーリングエンドポイント"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"GET /s2s/v2.0/task/nail-vto/{task_id}\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /s2s/v2.0/task/nail-vto/{task_id}\n"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]}]}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/統合ガイド"}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/統合ガイド"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/概要/ファイル仕様とエラー"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ファイル仕様とエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルバーチャル試着の仕様"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応ネイルビュー"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"遮蔽物のない、明確な正面ビューの 1 枚のネイル画像。"},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"項目"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応寸法"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応ファイルサイズ"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応フォーマット"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルデザイン画像 - ネイルポリッシュ"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   271 px ≤ 幅 ≤ 542 px"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   522 px ≤ 高さ ≤ 1044 px"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   72ppi 以上"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"画像は中央から適用され、バーチャル試着効果はユーザーの爪の長さに応じて変わります。"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"≤ 1MB"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"png"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルデザイン画像 - プレスオンネイル"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   271 px ≤ 幅 ≤ 542 px"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   522 px ≤ 高さ ≤ 1044 px"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   0.5 ≤ 画像のアスペクト比 (H/W) ≤ 3.5"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   72ppi 以上"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"画像のコンテンツ、シェイプ、長さの設定はすべて、バーチャル試着効果の生成に使用されます。"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"適切な画像スケーリングを確保するためにユーザーの爪の幅が検出されるため、正しいアスペクト比で各爪用に別の画像を作成することをお勧めします。"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"プレッスオンネイルのデザイン画像サンプルをダウンロードし、詳細については画像ガイドラインを参照してください。ダウンロード: "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_AI_Nail_Virtual_Try_On_Press_on_Nail_Design_Image_Guidelines_a229b51750.pdf"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Nail_Design_Image_Guidelines.pdf"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"≤ 1MB​"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"透明背景付き png"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"プレッスオンネイルデザイン画像サンプル:"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"image","inline":true,"attributes":{"alt":"","src":"https://plugins-media.makeupar.com/strapi/assets/thumbnail_press_on_nail_06_5_f6e46dd56f.png"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/youcamapi_press_on_nail_design_image_sample_de6bd64f20.png"},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"img","attrs":{"src":"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/youcamapi_press_on_nail_design_image_sample_de6bd64f20.png","width":"60"}},"children":[]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応ハンドビュー"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"項目"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応寸法"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応ファイルサイズ"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"対応フォーマット"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ユーザー写真"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   長辺 ≤ 2048"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"*   短辺 ≥ 256"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"≤ 10MB"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"jpg/jpeg/png"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"入力画像は 1 つの手のみをサポートします"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"手のひらの面積は、入力画像の面積の少なくとも半分であることが望ましいです"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"入力画像のアスペクト比は 1:1、3:4、4:3 が望ましいです"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"指の爪は隠れていないこと"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"爪にネイルチップやネイルポリッシュがないことが望ましいです"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"image","inline":true,"attributes":{"alt":"","src":"https://plugins-media.makeupar.com/strapi/assets/thumbnail_nail_user_photo_02_fdba1848d6.jpg"},"children":[]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エラーコード"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エラーコード"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"説明"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"error_nail_too_small"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイル領域が小さすぎます。"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"error_no_nail"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ソース画像にネイルが検出されませんでした。"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"環境と依存関係"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"サンプルコードの言語 / ツール"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"推奨ランタイムバージョン"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"cURL"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"- bash >= 3.2"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"   - curl >= 7.58（最新の TLS/HTTP 対応）"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"   - jq >= 1.6（堅牢な JSON 解析）"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Node.js (JavaScript)"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Node >= 18（グローバル fetch 用）"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"JavaScript"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"- Chrome / Edge >= 80"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"   - Firefox >= 74"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"   - Safari >= 13.1"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"PHP"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"PHP >= 7.4（最新の TLS/互換対応用）, ext-curl（推奨）または allow_url_fopen=On + ext-openssl, ext-json"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Python"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Python >= 3.10（f-strings 用）, requests >= 2.20.0"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Java"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Java 11+（HttpClient 用）, Jackson Databind >= 2.12.0"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]}]}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/ファイル仕様とエラー"}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/ファイル仕様とエラー"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/概要/js-camera-kit"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"JS Camera Kit"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"partial","attributes":{"file":"@l10n/ja/_partials/js-camera-kit.md"},"children":[]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]}]}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/js-camera-kit"}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/js-camera-kit"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/概要/ユニット消費"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ユニット消費"},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"AI 機能"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"消費ユニット"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルバーチャル試着 V1.0"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"1"},"children":[]}]}]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]}]}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/ユニット消費"}],"sectionId":"/ja/reference/ai_nail_vto/section/概要/ユニット消費"}]}]}},{"type":"group","label":"概要","link":"/ja/reference/ai_nail_vto/section/概要","routeSlug":"/ja/reference/ai_nail_vto/section/概要","items":[{"type":"link","label":"統合ガイド","link":"/ja/reference/ai_nail_vto/section/概要/統合ガイド","routeSlug":"/ja/reference/ai_nail_vto/section/概要/統合ガイド","content":null},{"type":"link","label":"ファイル仕様とエラー","link":"/ja/reference/ai_nail_vto/section/概要/ファイル仕様とエラー","routeSlug":"/ja/reference/ai_nail_vto/section/概要/ファイル仕様とエラー","content":null},{"type":"link","label":"JS Camera Kit","link":"/ja/reference/ai_nail_vto/section/概要/js-camera-kit","routeSlug":"/ja/reference/ai_nail_vto/section/概要/js-camera-kit","content":null},{"type":"link","label":"ユニット消費","link":"/ja/reference/ai_nail_vto/section/概要/ユニット消費","routeSlug":"/ja/reference/ai_nail_vto/section/概要/ユニット消費","content":null}],"content":null},{"type":"group","label":"V1.0","link":"/ja/reference/ai_nail_vto/v1.0","routeSlug":"/ja/reference/ai_nail_vto/v1.0","items":[{"label":"ネイルバーチャル試着タスクを実行します。","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ja/reference/ai_nail_vto/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto/post","routeSlug":"/ja/reference/ai_nail_vto/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto/post","metadata":{"seo":{"title":"ネイルバーチャル試着タスクを実行します。","description":"このエンドポイントはネイルバーチャル試着プロセスを開始します。ソースファイルと参照画像（URL または File ID 経由）、および特定のネイルエフェクト設定を提供する必要があります。タスクは非同期で処理され、このレスポンスで返される task_id を使用してステータスを確認できます。"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"name":"ネイルバーチャル試着タスクを実行します。","isWebhook":false,"pointer":"/paths/~1s2s~1v2.0~1task~1nail-vto/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"ネイルバーチャル試着タスクを実行します。","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"このエンドポイントはネイルバーチャル試着プロセスを開始します。ソースファイルと参照画像（URL または File ID 経由）、および特定のネイルエフェクト設定を提供する必要があります。タスクは非同期で処理され、このレスポンスで返される task_id を使用してステータスを確認できます。"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"BearerAuthenticationV2","scopes":[],"type":"http","scheme":"bearer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"標準の 'Bearer authentication' を使用します。ヘッダーに 'API Key' を設定してください: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization:Bearer YOUR_API_KEY"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"。'Bearer' と 'YOUR_API_KEY' の間にスペースがあることに注意してください。"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/NailVtoTaskRequest"}},"schemaId":"components/schemas/NailVtoTaskRequest","pointer":"/paths/~1s2s~1v2.0~1task~1nail-vto/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/s2s/v2.0/task/nail-vto","servers":[{"url":"https://yce-api-01.makeupar.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"BearerAuthenticationV2","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/NailVtoTaskRequest"}},"responseCodes":["200","400","401","429"],"pointer":"/s2s/v2.0/task/nail-vto","href":"v1.0/paths/~1s2s~1v2.0~1task~1nail-vto/post","summary":"ネイルバーチャル試着タスクを実行します。"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://yce-api-01.makeupar.com"}],"schemaId":"components/schemas/NailVtoTaskRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/NailVtoTaskRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクの実行に成功しました"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BasicRunTaskResponseV2"}},"schemaId":"components/schemas/BasicRunTaskResponseV2"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクの実行に失敗しました"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1866"}},"schemaId":"schema_1866"},{"code":"401","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"無効または欠落している API キー"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1867"}},"schemaId":"schema_1867"},{"code":"429","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"リクエストが多すぎます"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1868"}},"schemaId":"schema_1868"}],"pointer":"/paths/~1s2s~1v2.0~1task~1nail-vto/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/BasicRunTaskResponseV2","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BasicRunTaskResponseV2"}}},{"code":"400","schemaId":"schema_1866","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1866"}}},{"code":"401","schemaId":"schema_1867","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1867"}}},{"code":"429","schemaId":"schema_1868","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1868"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto/post"}],"panels":[]}]},"httpPath":"/s2s/v2.0/task/nail-vto"},{"label":"ネイルバーチャル試着タスクのステータスを確認します。","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ja/reference/ai_nail_vto/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get","routeSlug":"/ja/reference/ai_nail_vto/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get","metadata":{"seo":{"title":"ネイルバーチャル試着タスクのステータスを確認します。","description":"ネイルバーチャル試着タスクのステータスを確認します。"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"name":"ネイルバーチャル試着タスクのステータスを確認します。","isWebhook":false,"pointer":"/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"ネイルバーチャル試着タスクのステータスを確認します。","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"BearerAuthenticationV2","scopes":[],"type":"http","scheme":"bearer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"標準の 'Bearer authentication' を使用します。ヘッダーに 'API Key' を設定してください: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization:Bearer YOUR_API_KEY"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"。'Bearer' と 'YOUR_API_KEY' の間にスペースがあることに注意してください。"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"task_id","in":"path","schemaId":"schema_1869","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"確認するタスクの ID"},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/s2s/v2.0/task/nail-vto/{task_id}","servers":[{"url":"https://yce-api-01.makeupar.com"}],"parameters":{"path":[{"name":"task_id","in":"path","required":true,"example":"grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe","schemaId":"schema_1869"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"BearerAuthenticationV2","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","400","401","500"],"pointer":"/s2s/v2.0/task/nail-vto/{task_id}","href":"v1.0/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get","summary":"ネイルバーチャル試着タスクのステータスを確認します。"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://yce-api-01.makeupar.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクステータスの確認に成功しました"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1870"}},"schemaId":"schema_1870"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"無効なタスク ID"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1871"}},"schemaId":"schema_1871"},{"code":"401","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"無効または欠落している API キー"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1867"}},"schemaId":"schema_1867"},{"code":"500","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスク実行タイムアウト"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1872"}},"schemaId":"schema_1872"}],"pointer":"/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1870","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1870"}}},{"code":"400","schemaId":"schema_1871","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1871"}}},{"code":"401","schemaId":"schema_1867","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1867"}}},{"code":"500","schemaId":"schema_1872","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1872"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get"}],"panels":[]}]},"httpPath":"/s2s/v2.0/task/nail-vto/{task_id}"}],"content":{"contentType":"group","meta":{"name":"V1.0"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"V1.0","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"アップロードされた画像からネイルポリッシュやプレスオンネイルのバーチャル試着を生成します。"},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/s2s/v2.0/task/nail-vto","summary":"ネイルバーチャル試着タスクを実行します。","prefix":{"name":"post","color":"post"},"badges":[],"link":"/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto/post","deprecated":false},{"title":"/s2s/v2.0/task/nail-vto/{task_id}","summary":"ネイルバーチャル試着タスクのステータスを確認します。","prefix":{"name":"get","color":"get"},"badges":[],"link":"/v1.0/paths/~1s2s~1v2.0~1task~1nail-vto~1{task_id}/get","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/NailVtoTaskRequest":{"id":"components/schemas/NailVtoTaskRequest","kind":"json-schema","title":"ネイルバーチャル試着タスクリクエスト","data":{"title":"ネイルバーチャル試着タスクリクエスト","type":"object","allOf":[{"$ref":"#/components/schemas/BasicRunTaskV2WithMultiRef"},{"type":"object","required":["version","effect_type","effects"],"properties":{"version":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ネイルエフェクト仕様のバージョン。"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"特に指定がない限り、初期値は "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"\"1.0\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" です。"},"children":[]}]}]}],"default":"1.0","example":"1.0"},"effect_type":{"type":"string","enum":["nail_polish","press_on_nails"],"example":"nail_polish"},"effects":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/NailVtoNailPolishColorEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishColorMetallicEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishColorPearlEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishColorShimmerEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishColorTexturedEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishDesignEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishDesignMetallicEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishDesignPearlEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishDesignShimmerEffect"},{"$ref":"#/components/schemas/NailVtoNailPolishDesignTexturedEffect"},{"$ref":"#/components/schemas/NailVtoPressOnNailsColorEffect"},{"$ref":"#/components/schemas/NailVtoPressOnNailsDesignEffect"}]}}}}]}},"components/schemas/NailVtoNailPolishColorBaseEffect":{"id":"components/schemas/NailVtoNailPolishColorBaseEffect","kind":"json-schema","title":"NailVtoNailPolishColorBaseEffect","data":{"type":"object","required":["sub_type","finger","color","texture","reflection","contrast","roughness"],"properties":{"sub_type":{"type":"string","enum":["color"]},"finger":{"type":"string","enum":["thumb","index","middle","ring","pinky"]},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$"},"texture":{"type":"string"},"reflection":{"type":"integer","minimum":0,"maximum":100},"contrast":{"type":"integer","minimum":0,"maximum":100},"roughness":{"type":"integer","minimum":0,"maximum":100}}}},"components/schemas/NailVtoNailPolishColorEffect":{"id":"components/schemas/NailVtoNailPolishColorEffect","kind":"json-schema","title":"NailVtoNailPolishColorEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishColorBaseEffect"},{"title":"ネイルポリッシュ - カラー - 一般","type":"object","required":["transparency"],"properties":{"texture":{"type":"string","enum":["matte","cream","jelly","sheer"]},"transparency":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishColorMetallicEffect":{"id":"components/schemas/NailVtoNailPolishColorMetallicEffect","kind":"json-schema","title":"NailVtoNailPolishColorMetallicEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishColorBaseEffect"},{"title":"ネイルポリッシュ - カラー - メタリック","type":"object","properties":{"texture":{"type":"string","enum":["metallic"]}}}]}},"components/schemas/NailVtoNailPolishColorPearlEffect":{"id":"components/schemas/NailVtoNailPolishColorPearlEffect","kind":"json-schema","title":"NailVtoNailPolishColorPearlEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishColorBaseEffect"},{"title":"ネイルポリッシュ - カラー - パール","type":"object","required":["shimmer_opacity","transparency"],"properties":{"texture":{"type":"string","enum":["pearl"]},"transparency":{"type":"integer","minimum":0,"maximum":100},"shimmer_opacity":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishColorShimmerEffect":{"id":"components/schemas/NailVtoNailPolishColorShimmerEffect","kind":"json-schema","title":"NailVtoNailPolishColorShimmerEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishColorBaseEffect"},{"title":"ネイルポリッシュ - カラー - シマー","type":"object","required":["shimmer_size","transparency"],"properties":{"texture":{"type":"string","enum":["shimmer_coarse","shimmer_fine"]},"transparency":{"type":"integer","minimum":0,"maximum":100},"shimmer_size":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishColorTexturedEffect":{"id":"components/schemas/NailVtoNailPolishColorTexturedEffect","kind":"json-schema","title":"NailVtoNailPolishColorTexturedEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishColorBaseEffect"},{"title":"ネイルポリッシュ - カラー - テクスチャ","type":"object","required":["textured_size","transparency"],"properties":{"texture":{"type":"string","enum":["textured"]},"transparency":{"type":"integer","minimum":0,"maximum":100},"textured_size":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishDesignBaseEffect":{"id":"components/schemas/NailVtoNailPolishDesignBaseEffect","kind":"json-schema","title":"NailVtoNailPolishDesignBaseEffect","data":{"type":"object","required":["sub_type","finger","texture","reflection","contrast","roughness"],"properties":{"sub_type":{"type":"string","enum":["design"]},"finger":{"type":"string","enum":["thumb","index","middle","ring","pinky"]},"ref_file_url":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"「ネイルポリッシュ - デザイン」または「プレスオンネイル - デザイン」エフェクトを実現するには、特定のデザイン画像を使用する必要があります。画像ファイルへの直接 URL（"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"）または、システム内のルートノード下にある "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" に対応するインデックス（"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_index"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"）のいずれかを指定できます。"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" または "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_index"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" のいずれかを指定する必要がありますが、一度に選択できるのは 1 つのみです。"},"children":[]}]}]}]},"ref_file_index":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"「ネイルポリッシュ - デザイン」または「プレスオンネイル - デザイン」エフェクトのために File API を使用してデザイン画像をアップロードする場合は、File API を使用して画像をアップロードしてください。アップロード後、ファイル ID を取得し、"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" 配列に追加して、"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_index"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" でインデックスを指定します。ルートノード下にある "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" に対応するインデックス"},"children":[]}]}]}]},"texture":{"type":"string"},"reflection":{"type":"integer","minimum":0,"maximum":100},"contrast":{"type":"integer","minimum":0,"maximum":100},"roughness":{"type":"integer","minimum":0,"maximum":100}}}},"components/schemas/NailVtoNailPolishDesignEffect":{"id":"components/schemas/NailVtoNailPolishDesignEffect","kind":"json-schema","title":"NailVtoNailPolishDesignEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishDesignBaseEffect"},{"title":"ネイルポリッシュ - デザイン - 一般","type":"object","required":["transparency"],"properties":{"texture":{"type":"string","enum":["matte","cream","jelly","sheer"]},"transparency":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishDesignMetallicEffect":{"id":"components/schemas/NailVtoNailPolishDesignMetallicEffect","kind":"json-schema","title":"NailVtoNailPolishDesignMetallicEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishDesignBaseEffect"},{"title":"ネイルポリッシュ - デザイン - メタリック","type":"object","properties":{"texture":{"type":"string","enum":["metallic"]}}}]}},"components/schemas/NailVtoNailPolishDesignPearlEffect":{"id":"components/schemas/NailVtoNailPolishDesignPearlEffect","kind":"json-schema","title":"NailVtoNailPolishDesignPearlEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishDesignBaseEffect"},{"title":"ネイルポリッシュ - デザイン - パール","type":"object","required":["shimmer_opacity","transparency"],"properties":{"texture":{"type":"string","enum":["pearl"]},"shimmer_opacity":{"type":"integer","minimum":0,"maximum":100},"transparency":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishDesignShimmerEffect":{"id":"components/schemas/NailVtoNailPolishDesignShimmerEffect","kind":"json-schema","title":"NailVtoNailPolishDesignShimmerEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishDesignBaseEffect"},{"title":"ネイルポリッシュ - デザイン - シマー","type":"object","required":["shimmer_size","transparency"],"properties":{"texture":{"type":"string","enum":["shimmer_coarse","shimmer_fine"]},"shimmer_size":{"type":"integer","minimum":0,"maximum":100},"transparency":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoNailPolishDesignTexturedEffect":{"id":"components/schemas/NailVtoNailPolishDesignTexturedEffect","kind":"json-schema","title":"NailVtoNailPolishDesignTexturedEffect","data":{"allOf":[{"$ref":"#/components/schemas/NailVtoNailPolishDesignBaseEffect"},{"title":"ネイルポリッシュ - デザイン - テクスチャ","type":"object","required":["textured_size","transparency"],"properties":{"texture":{"type":"string","enum":["textured"]},"textured_size":{"type":"integer","minimum":0,"maximum":100},"transparency":{"type":"integer","minimum":0,"maximum":100}}}]}},"components/schemas/NailVtoPressOnNailsColorEffect":{"id":"components/schemas/NailVtoPressOnNailsColorEffect","kind":"json-schema","title":"プレスオンネイル - カラー","data":{"title":"プレスオンネイル - カラー","type":"object","required":["sub_type","finger","shape","length","color","texture","reflection","contrast","roughness"],"properties":{"sub_type":{"type":"string","enum":["color"]},"finger":{"type":"string","enum":["thumb","index","middle","ring","pinky"]},"shape":{"type":"string","enum":["square_oval","square_square","square_squoval","squoval_oval","squoval_square","squoval_squoval","oval_oval","oval_square","oval_squoval","almond_oval","almond_square","almond_squoval","stiletto_oval","stiletto_square","stiletto_squoval"]},"length":{"type":"number","minimum":0.8,"maximum":2.15},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$"},"texture":{"type":"string","enum":["matte","cream","metallic"]},"reflection":{"type":"integer","minimum":0,"maximum":100},"contrast":{"type":"integer","minimum":0,"maximum":100},"roughness":{"type":"integer","minimum":0,"maximum":100}}}},"components/schemas/NailVtoPressOnNailsDesignEffect":{"id":"components/schemas/NailVtoPressOnNailsDesignEffect","kind":"json-schema","title":"プレスオンネイル - デザイン","data":{"title":"プレスオンネイル - デザイン","type":"object","required":["sub_type","finger","texture","reflection","contrast","roughness"],"properties":{"sub_type":{"type":"string","enum":["design"]},"finger":{"type":"string","enum":["thumb","index","middle","ring","pinky"]},"ref_file_url":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" または "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" のいずれかを指定する必要がありますが、一度に選択できるのは 1 つのみです。"},"children":[]}]}]}]},"ref_file_index":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"アップロードを選択しない限り、このフィールドは省略可能です。ルートノード下にある "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ref_file_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" に対応するインデックス"},"children":[]}]}]}]},"texture":{"type":"string","enum":["matte","cream","metallic"]},"reflection":{"type":"integer","minimum":0,"maximum":100},"contrast":{"type":"integer","minimum":0,"maximum":100},"roughness":{"type":"integer","minimum":0,"maximum":100}}}},"components/schemas/BasicRunTaskV2SrcFileUrl":{"id":"components/schemas/BasicRunTaskV2SrcFileUrl","kind":"json-schema","title":"BasicRunTaskV2SrcFileUrl","data":{"type":"object","required":["src_file_url"],"properties":{"src_file_url":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクを実行するファイルの URL。この URL は公開されている必要があります。"},"children":[]}]}]}],"example":"https://example.com/selfie.jpg"}}}},"components/schemas/BasicRunTaskV2RefFileUrls":{"id":"components/schemas/BasicRunTaskV2RefFileUrls","kind":"json-schema","title":"BasicRunTaskV2RefFileUrls","data":{"type":"object","properties":{"ref_file_urls":{"type":"array","minItems":1,"items":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクを実行するための参照ファイルの URL。この URL は公開されている必要があります。"},"children":[]}]}]}],"example":"https://example.com/accessory.jpg"}}}}},"components/schemas/BasicRunTaskV2RefFileIds":{"id":"components/schemas/BasicRunTaskV2RefFileIds","kind":"json-schema","title":"BasicRunTaskV2RefFileIds","data":{"type":"object","properties":{"ref_file_ids":{"type":"array","minItems":1,"items":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクを実行するための参照ファイルの ID。ファイルアップロード API から取得したファイル ID です。"},"children":[]}]}]}],"example":"pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="}}}}},"components/schemas/BasicRunTaskV2SrcFileId":{"id":"components/schemas/BasicRunTaskV2SrcFileId","kind":"json-schema","title":"BasicRunTaskV2SrcFileId","data":{"type":"object","required":["src_file_id"],"properties":{"src_file_id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"タスクを実行するファイルの ID。ファイルアップロード API から取得したファイル ID です。"},"children":[]}]}]}],"example":"pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="}}}},"components/schemas/BasicRunTaskV2WithMultiRef":{"id":"components/schemas/BasicRunTaskV2WithMultiRef","kind":"json-schema","title":"BasicRunTaskV2WithRef","data":{"title":"BasicRunTaskV2WithRef","anyOf":[{"allOf":[{"title":"src ファイル URL と参照ファイル URL でタスクを実行"},{"$ref":"#/components/schemas/BasicRunTaskV2SrcFileUrl"},{"$ref":"#/components/schemas/BasicRunTaskV2RefFileUrls"}]},{"allOf":[{"title":"src ファイル URL と参照ファイル ID でタスクを実行"},{"$ref":"#/components/schemas/BasicRunTaskV2SrcFileUrl"},{"$ref":"#/components/schemas/BasicRunTaskV2RefFileIds"}]},{"allOf":[{"title":"src ファイル ID と参照ファイル URL でタスクを実行"},{"$ref":"#/components/schemas/BasicRunTaskV2SrcFileId"},{"$ref":"#/components/schemas/BasicRunTaskV2RefFileUrls"}]},{"allOf":[{"title":"src ファイル ID と参照ファイル ID でタスクを実行"},{"$ref":"#/components/schemas/BasicRunTaskV2SrcFileId"},{"$ref":"#/components/schemas/BasicRunTaskV2RefFileIds"}]}]}},"components/schemas/BasicRunTaskResponseV2":{"id":"components/schemas/BasicRunTaskResponseV2","kind":"json-schema","title":"BasicRunTaskResponseV2","data":{"type":"object","properties":{"status":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}],"example":200},"data":{"type":"object","properties":{"task_id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"このタスクの ID。タスクの結果は、この ID を使用して 24 時間以内にクエリできます。"},"children":[]}]}]}],"example":"grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe"}}}}}},"components/schemas/RunError":{"id":"components/schemas/RunError","kind":"json-schema","title":"RunError","data":{"type":"object","properties":{"status":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}],"example":400},"error":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エラーメッセージ"},"children":[]}]}]}],"example":"The operation could not be completed"},"error_code":{"type":"string","enum":["InvalidParameters","CreditInsufficiency","InvalidStyleGroup","InvalidStyle","BadRequest"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エラーコード:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"InvalidParameters - 無効なリクエストパラメータ"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"CreditInsufficiency - 実行に必要なユニットが不足しています"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"BadRequest - 予期しないリクエストパラメータ"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"InvalidStyleGroup - 無効なスタイルグループ ID"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"InvalidStyle - 無効なスタイル ID"},"children":[]}]}]}]}]}}}},"components/schemas/EngineErrorCode":{"id":"components/schemas/EngineErrorCode","kind":"json-schema","title":"EngineErrorCode","data":{"type":"string","nullable":true,"enum":["error_exceed_max_image_size","exceed_max_filesize","invalid_parameter","error_download_image","error_download_mask","error_decode_image","error_decode_mask","error_nsfw_content_detected","error_no_face","error_pose","error_face_parsing","error_inference","exceed_nsfw_retry_limits","error_upload","unknown_internal_error"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エラー："},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_exceed_max_image_size"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"  - 入力画像サイズが最大制限を超えています"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"exceed_max_filesize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - 入力ファイルサイズが最大制限を超えています"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_parameter"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - 無効なパラメータ値"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_download_image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - ソース画像のダウンロードエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_download_mask"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - マスク画像のダウンロードエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_decode_image"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - ソース画像のデコードエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_decode_mask"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - マスク画像のデコードエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_nsfw_content_detected"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - ソース画像で NSFW コンテンツが検出されました"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_no_face"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - ソース画像で顔が検出されませんでした"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_pose"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - ソース画像でポーズの検出に失敗しました"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_face_parsing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - ソース画像での顔セグメンテーションに失敗しました"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_inference"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - 推論パイプラインエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"exceed_nsfw_retry_limits"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - NSFW 画像の生成を避けるための再試行制限を超えました"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error_upload"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - 結果画像のアップロードエラー"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unknown_internal_error"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - その他"},"children":[]}]}]}]}]}},"components/schemas/TaskStatusResponseBodySingleUrlResultsV2":{"id":"components/schemas/TaskStatusResponseBodySingleUrlResultsV2","kind":"json-schema","title":"TaskStatusResponseBodySingleUrlResultsV2","data":{"type":"object","properties":{"url":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"この結果をダウンロードする URL。有効期間は 2 時間です"},"children":[]}]}]}],"example":"https://example.com/sample-result-url"}}}},"components/schemas/TaskStatusResponseV2":{"id":"components/schemas/TaskStatusResponseV2","kind":"json-schema","title":"TaskStatusResponseV2","data":{"type":"object","properties":{"url":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"この結果をダウンロードする URL。有効期間は 2 時間です"},"children":[]}]}]}],"example":"https://example.com/sample-result-url"}}}},"schema_1866":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/RunError"}]},"id":"schema_1866"},"schema_1867":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"integer","example":401,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}]},"error":{"type":"string","example":"Invalid API key"}}},"id":"schema_1867"},"schema_1868":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"integer","example":429,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}]},"error":{"type":"string","example":"Too many requests"}}},"id":"schema_1868"},"schema_1869":{"kind":"json-schema","data":{"type":"string","example":"grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe"},"id":"schema_1869"},"schema_1870":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}],"example":200},"data":{"type":"object","properties":{"task_status":{"type":"string","enum":["running","success","error"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"このタスクのステータス"},"children":[]}]}]}]},"error":{"$ref":"#/components/schemas/EngineErrorCode"},"error_message":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"エラーの詳細な説明"},"children":[]}]}]}]},"results":null}}},"$ref":"#/components/schemas/TaskStatusResponseBodySingleUrlResultsV2"},"id":"schema_1870"},"schema_1871":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"integer","example":400,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}]},"error":{"type":"string","example":"Invalid task ID"}}},"id":"schema_1871"},"schema_1872":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"integer","example":500,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"レスポンスステータス"},"children":[]}]}]}]},"error":{"type":"string","example":"Task execution timed out"}}},"id":"schema_1872"}},"exampleStore":{},"securitySchemeStore":{"BearerAuthenticationV2":{"id":"BearerAuthenticationV2","type":"http","scheme":"bearer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"標準の 'Bearer authentication' を使用します。ヘッダーに 'API Key' を設定してください: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization:Bearer YOUR_API_KEY"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"。'Bearer' と 'YOUR_API_KEY' の間にスペースがあることに注意してください。"},"children":[]}]}]}]}},"servers":[{"url":"https://yce-api-01.makeupar.com"}],"specType":"openapi"},"options":{"layout":"stacked","mockServer":{"off":true,"position":"off"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/@l10n/ja/reference/ai_nail_vto.json?download"},{"url":"/_bundle/@l10n/ja/reference/ai_nail_vto.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"ネイルバーチャル試着","description":"# 概要\nネイルバーチャル試着 (AI Nail Virtual Try-On) API で、ネイルのバーチャル試着を作成します。\n天然爪にも人工爪にも、さまざまなネイルスタイルをビジュアライズできます。\n\n## 統合ガイド\nこのガイドでは、次の内容について説明します:\n\nネイルバーチャル試着 API のワークフロー:\n\n**認証が必要:** `Authorization: Bearer YOUR_API_KEY`\n\n**ワークフロー手順:**\n\n1. **画像アップロードの準備:**\n    - 手の甲の画像を用意することから始めます。\n    - ファイル管理 API の `/s2s/v2.0/file` を呼び出し、アップロード URL と関連する `file_id` を取得します。\n    - 提供されたアップロード URL を使用して、ネイルのある手の甲の画像をアップロードします。\n\n2. **ネイルデザインのセットアップオプション:**\n    - まず、適したネイルカラーを選択します。お好みに合わせたカスタムシェイプも選択できます。\n\n3. **AI タスクの開始とタスク ID の取得:**\n    - アップロードした画像と選択したエフェクト設定を、HTTP POST リクエストで `/s2s/v2.0/task/nail-vto` に送信します。\n    - この操作を識別する一意のタスク ID をレスポンスで受け取ります。\n\n4. **タスクステータスのポーリング（継続的なチェック）:**\n    - 取得した `task_id` を使用して、HTTP GET リクエスト（例: `GET /s2s/v2.0/task/nail-vto/${task_id}`）で定期的にタスクステータスをポーリングします。\n    - 以下を継続的に監視します:\n        - `Task_status = \"success\"`（処理が完了）。\n        - `Task_status = \"error\"`（該当する場合、解決するか再試行）。\n    - ステータスが success に移行したら、ワークフローを適切に更新します。\n\n\n\n---\n\n* API プレイグラウンド\n\nAPI プレイグラウンドで API を対話的にテストします:\n\n**API プレイグラウンド:**\n[http://yce.makeupar.com/api-console/en/api-playground/ai-nail-virtual-try-on/](http://yce.makeupar.com/api-console/en/api-playground/ai-nail-virtual-try-on/)\n\n---\n\n* 認証\n- **Bearer Token** を使用して、リクエストヘッダーに API キーを含めます:\n    ```\n    Authorization: Bearer YOUR_API_KEY\n    ```\nAPI キーの確認場所: https://yce.makeupar.com/api-console/en/api-keys/.\n\n\n1. 画像のアップロード\n\n    ファイルをサーバーに直接アップロードするか、VTO タスクペイロードに有効な画像 URL を指定できます。\n\n    * アップロードエンドポイント\n\n        ```\n        POST /s2s/v2.0/file\n        ```\n\n    すでに公開済みの画像 URL を持っている場合は、このステップをスキップできます。\n\n---\n\n2. エフェクトテンプレートの準備\n\n    * この目的のために、4 つの異なるセットアップモードが用意されています:\n        1. カラーをカスタマイズし、現在のネイルルックに合わせる\n        2. プリセットデザインと特定のシェイプを使用して、イメージを実現する\n        3. プレスオンネイルを追加し、既存の元のネイル画像とリンクする\n        4. 一致するプレッスオンネイル製品の画像リンクを提供する \n\n    * エフェクトテンプレートの JSON スキーマ\n        ```\n        {\n            \"version\": \"1.0\",\n            \"effect_type\": \"nail_polish\", // valid values: ['nail_polish', 'press_on_nails']\n            \"effects\": [],\n            \"ref_file_ids\": []\n        }\n        ```\n\n        * エフェクト形式\n            - ネイルポリッシュ - カラー\n            ```\n            {\n                \"sub_type\": \"color\",\n                \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n                \"color\": \"#ff0000\",\n                \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic', 'jelly', 'sheer', 'pearl', 'textured', 'shimmer_coarse', 'shimmer_fine']\n                \"transparency\": 0, // 0-100, for textures except metallic\n                \"reflection\": 0, // 0-100\n                \"contrast\": 0, // 0-100\n                \"roughness\": 0, // 0-100\n                \"shimmer_opacity\": 0, // 0-100, for texture pearl\n                \"shimmer_size\": 0, // 0-100, for texture shimmer_coarse and shimmer_fine\n                \"textured_size\": 0, // 0-100, for texture textured\n            }\n            ```\n\n            - ネイルポリッシュ - デザイン\n            ```\n            {\n                \"sub_type\": \"design\",\n                \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n                \"ref_file_url\": \"\",  // Optional; Either ref_file_id or ref_file_url must be filled, but only one can be selected.\n                \"ref_file_index\": 0, // This field is optional unless uploading is selected. Index corresponding to ref_file_ids under the root node\n                \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic', 'jelly', 'sheer', 'pearl', 'textured', 'shimmer_coarse', 'shimmer_fine']\n                \"transparency\": 0, // 0-100, only for textures except metallic\n                \"reflection\": 0, // 0-100\n                \"contrast\": 0, // 0-100\n                \"roughness\": 0, // 0-100\n                \"shimmer_opacity\": 0, // 0-100, for texture pearl\n                \"shimmer_size\": 0, // 0-100, for texture shimmer_coarse and shimmer_fine\n                \"textured_size\": 0, // 0-100, for texture textured\n            }\n\n            ```\n\n            - プレスオンネイル - カラー\n            * 最新のシェイプ値は、https://plugins-media.makeupar.com/wcm-saas/shapes/nails.json で確認できます。\n            ```\n            {\n                \"sub_type\": \"color\",\n                \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n                \"shape\": \"square_oval\", // Please check the nails.json. valid values: ['square_oval','square_square','square_squoval','squoval_oval','squoval_square','squoval_squoval','oval_oval','oval_square','oval_squoval','almond_oval','almond_square','almond_squoval','stiletto_oval','stiletto_square','stiletto_squoval],\n                \"length\": 1.0, // 0.8-2.15, for shapes except original\n                \"color\": \"#ff0000\",\n                \"texture\": \"cream\", // valid values for other shapes: ['matte', 'cream', 'metallic']\n                \"reflection\": 0, // 0-100\n                \"contrast\": 0, // 0-100\n                \"roughness\": 0 // 0-100\n            }\n            ```\n\n            - プレスオンネイル - デザイン\n            ```\n            {\n                \"sub_type\": \"design\",\n                \"finger\": \"index\", // valid values: ['thumb', 'index', 'middle', 'ring', 'pinky']\n                \"ref_file_url\": \"\",  // Optional; Either ref_file_id or ref_file_url must be filled, but only one can be selected.\n                \"ref_file_index\": 0, // This field is optional unless uploading is selected. Index corresponding to ref_file_ids under the root node\n                \"texture\": \"cream\", // valid values: ['matte', 'cream', 'metallic']\n                \"reflection\": 0, // 0-100\n                \"contrast\": 0, // 0-100\n                \"roughness\": 0, // 0-100\n            }\n\n            ```\n\n    * エフェクトテンプレートのデザインロジック\n\n        1. **エフェクトタイプの検出**（`press_on_nails` または `nail_polish`）。\n        2. **`effects` の各エントリを繰り返し:**\n\n        *`sub_type === \"color\"` の場合* → フィールドを直接マッピングし、欠落しているテクスチャ関連のキーをデフォルト値で埋めます。\n        *`sub_type === \"design\"` の場合* →\n        - ユーザーが `ref_file_url` を指定した場合は、それを保持し、`ref_file_index` を **省略**します。\n        - ユーザーがインデックス (`ref_file_index`) を指定した場合は、`ref_file_ids` が存在し、インデックスが有効であることを確認してから、`\"ref_file_id\": ref_file_ids[index]` を設定します（省略可 – 一部のバックエンドでは id ではなく生のインデックスを期待します）。\n\n        1. **数値範囲の正規化** – 範囲外の値を 0-100 または長さの制限にクランプします。\n        2. スキーマバリデーションを通過できるように、**欠落している任意のキー**をデフォルト値で追加します。\n        3. 最終オブジェクトを JSON として **シリアライズ** します（デバッグ用に compact または pretty）。\n\n    * 送信準備ができたペイロード例\n        ```\n        {\n        \"version\": \"1.0\",\n        \"src_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/nail_user_photo_01_27d4260646.jpg\",\n        \"effect_type\": \"press_on_nails\",\n        \"ref_file_ids\": [\n            \"Ks3kh+1nPpVNm8iJb5374CWtBzkT4B44NPJwXbBKqVxfjK3xgCQ+hRt9MJXBFaud\",\n            \"+Z7PSjuzigvsc3S/Yli1A4WN7c3J6NJHFqK2iUlqD2BfjK3xgCQ+hRt9MJXBFaud\"\n        ],\n        \"effects\": [\n            {\n            \"sub_type\": \"design\",\n            \"finger\": \"thumb\",\n            \"texture\": \"cream\",\n            \"reflection\": 100,\n            \"contrast\": 50,\n            \"roughness\": 0,\n            \"ref_file_index\": 0\n            },\n            {\n            \"sub_type\": \"design\",\n            \"finger\": \"index\",\n            \"texture\": \"cream\",\n            \"reflection\": 100,\n            \"contrast\": 50,\n            \"roughness\": 0,\n            \"ref_file_index\": 1\n            },\n            {\n            \"sub_type\": \"design\",\n            \"finger\": \"middle\",\n            \"texture\": \"cream\",\n            \"reflection\": 100,\n            \"contrast\": 50,\n            \"roughness\": 0,\n            \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_3_9ce2ddc47a.png\"\n            },\n            {\n            \"sub_type\": \"design\",\n            \"finger\": \"pinky\",\n            \"texture\": \"cream\",\n            \"reflection\": 100,\n            \"contrast\": 50,\n            \"roughness\": 0,\n            \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_5_f6e46dd56f.png\"\n            },\n            {\n            \"sub_type\": \"design\",\n            \"finger\": \"ring\",\n            \"texture\": \"cream\",\n            \"reflection\": 100,\n            \"contrast\": 50,\n            \"roughness\": 0,\n            \"ref_file_url\": \"https://plugins-media.makeupar.com/strapi/assets/press_on_nail_06_4_2103ca8cac.png\"\n            }\n        ]\n        }\n        ```\n\n\n3. ネイル VTO タスクの作成と結果のポーリング\n\n    画像と完全なエフェクトペイロードが揃ったら、タスクを作成します。API はリクエストを非同期で処理します。`success` または `error` になるまで、タスクステータスをポーリングする必要があります。\n\n    * タスク作成エンドポイント\n\n        ```\n        POST /s2s/v2.0/task/nail-vto\n        ```\n\n    * ポーリングエンドポイント\n\n        ```\n        GET /s2s/v2.0/task/nail-vto/{task_id}\n        ```\n\n---\n\n## ファイル仕様とエラー\n\n* ネイルバーチャル試着の仕様\n\n**対応ネイルビュー**\n遮蔽物のない、明確な正面ビューの 1 枚のネイル画像。\n\n| 項目 | 対応寸法 | 対応ファイルサイズ | 対応フォーマット |\n| --- | --- | --- | --- |\n| ネイルデザイン画像 - ネイルポリッシュ | *   271 px ≤ 幅 ≤ 542 px<br>*   522 px ≤ 高さ ≤ 1044 px<br>*   72ppi 以上<br>画像は中央から適用され、バーチャル試着効果はユーザーの爪の長さに応じて変わります。 | ≤ 1MB | png |\n| ネイルデザイン画像 - プレスオンネイル | *   271 px ≤ 幅 ≤ 542 px<br>*   522 px ≤ 高さ ≤ 1044 px<br>*   0.5 ≤ 画像のアスペクト比 (H/W) ≤ 3.5<br>*   72ppi 以上<br>画像のコンテンツ、シェイプ、長さの設定はすべて、バーチャル試着効果の生成に使用されます。<br>適切な画像スケーリングを確保するためにユーザーの爪の幅が検出されるため、正しいアスペクト比で各爪用に別の画像を作成することをお勧めします。<br>プレッスオンネイルのデザイン画像サンプルをダウンロードし、詳細については画像ガイドラインを参照してください。ダウンロード: [Nail_Design_Image_Guidelines.pdf](https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/You_Cam_API_AI_Nail_Virtual_Try_On_Press_on_Nail_Design_Image_Guidelines_a229b51750.pdf) | ≤ 1MB​ | 透明背景付き png |\n\nプレッスオンネイルデザイン画像サンプル:\n\n![](https://plugins-media.makeupar.com/strapi/assets/thumbnail_press_on_nail_06_5_f6e46dd56f.png)\n\n[<img src=\"https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/youcamapi_press_on_nail_design_image_sample_de6bd64f20.png\" width=\"60\"/>](https://bcw-media.s3.ap-northeast-1.amazonaws.com/strapi/assets/youcamapi_press_on_nail_design_image_sample_de6bd64f20.png)\n\n---\n\n**対応ハンドビュー**\n\n| 項目 | 対応寸法 | 対応ファイルサイズ | 対応フォーマット |\n| --- | --- | --- | --- |\n| ユーザー写真 | *   長辺 ≤ 2048<br>*   短辺 ≥ 256 | ≤ 10MB | jpg/jpeg/png |\n* 入力画像は 1 つの手のみをサポートします\n* 手のひらの面積は、入力画像の面積の少なくとも半分であることが望ましいです\n* 入力画像のアスペクト比は 1:1、3:4、4:3 が望ましいです\n* 指の爪は隠れていないこと\n* 爪にネイルチップやネイルポリッシュがないことが望ましいです\n\n![](https://plugins-media.makeupar.com/strapi/assets/thumbnail_nail_user_photo_02_fdba1848d6.jpg)\n\n---\n\n* エラーコード\n\n| エラーコード | 説明 |\n|  ----  | ----  |\n| error_nail_too_small | ネイル領域が小さすぎます。 |\n| error_no_nail\t| ソース画像にネイルが検出されませんでした。 |\n\n\n* 環境と依存関係\n\n| サンプルコードの言語 / ツール | 推奨ランタイムバージョン |\n|---|---|\n| cURL | - bash >= 3.2</br>   - curl >= 7.58（最新の TLS/HTTP 対応）</br>   - jq >= 1.6（堅牢な JSON 解析） |\n| Node.js (JavaScript) | Node >= 18（グローバル fetch 用） |\n| JavaScript | - Chrome / Edge >= 80</br>   - Firefox >= 74</br>   - Safari >= 13.1 |\n| PHP | PHP >= 7.4（最新の TLS/互換対応用）, ext-curl（推奨）または allow_url_fopen=On + ext-openssl, ext-json |\n| Python | Python >= 3.10（f-strings 用）, requests >= 2.20.0 |\n| Java | Java 11+（HttpClient 用）, Jackson Databind >= 2.12.0 |\n\n---\n\n## JS Camera Kit\n{% partial file=\"/_partials/js-camera-kit.md\" /%}\n\n---\n\n## ユニット消費\n\n| AI 機能 | 消費ユニット |\n|---|---|\n| ネイルバーチャル試着 V1.0 | 1 |\n\n---"}},"baseSlug":"/ja/reference/ai_nail_vto","routesMapping":{}}