[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs-nav-en":3,"docs-en-models\u002Fvideo\u002Fliveness-verification":202},[4,26,43,105,177,194,198],{"title":5,"path":6,"stem":7,"children":8,"page":25},"Getting Started","\u002Fgetting-started","1.getting-started",[9,13,17,21],{"title":10,"path":11,"stem":12},"Your First SilvaMux API Call","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F1.quick-start",{"title":14,"path":15,"stem":16},"Model Selection","\u002Fgetting-started\u002Fmodel-selection","1.getting-started\u002F2.model-selection",{"title":18,"path":19,"stem":20},"Rate Limits","\u002Fgetting-started\u002Frate-limits","1.getting-started\u002F3.rate-limits",{"title":22,"path":23,"stem":24},"FAQ","\u002Fgetting-started\u002Ffaq","1.getting-started\u002F4.faq",false,{"title":27,"path":28,"stem":29,"children":30,"page":25},"Billing","\u002Fbilling","2.billing",[31,35,39],{"title":32,"path":33,"stem":34},"Billing Overview","\u002Fbilling\u002Foverview","2.billing\u002F1.overview",{"title":36,"path":37,"stem":38},"Online Top-up","\u002Fbilling\u002Frecharge","2.billing\u002F2.recharge",{"title":40,"path":41,"stem":42},"Bills, Usage & Exports","\u002Fbilling\u002Fusage-export","2.billing\u002F3.usage-export",{"title":44,"path":45,"stem":46,"children":47,"page":25},"Coding Plan","\u002Fcoding-plan","3.coding-plan",[48,52,56,60,67,102],{"title":49,"path":50,"stem":51},"Coding Plan Overview","\u002Fcoding-plan\u002Foverview","3.coding-plan\u002F1.overview",{"title":53,"path":54,"stem":55},"Quick Start","\u002Fcoding-plan\u002Fquick-start","3.coding-plan\u002F2.quick-start",{"title":57,"path":58,"stem":59},"Usage Notes","\u002Fcoding-plan\u002Fusage-notes","3.coding-plan\u002F3.usage-notes",{"title":61,"path":62,"stem":63,"children":64},"Personal","\u002Fcoding-plan\u002Fpersonal","3.coding-plan\u002F4.personal\u002Findex",[65],{"title":66,"path":62,"stem":63},"Pricing & Benefits",{"title":68,"path":69,"stem":70,"children":71,"page":-1},"Developer Guide","\u002Fcoding-plan\u002Fguide","3.coding-plan\u002F5.guide\u002Findex",[72,74,78,82,86,90,94,98],{"title":73,"path":69,"stem":70},"Endpoints & Protocols",{"title":75,"path":76,"stem":77},"Claude Code","\u002Fcoding-plan\u002Fguide\u002Fclaude-code","3.coding-plan\u002F5.guide\u002F1.claude-code",{"title":79,"path":80,"stem":81},"OpenCode","\u002Fcoding-plan\u002Fguide\u002Fopencode","3.coding-plan\u002F5.guide\u002F2.opencode",{"title":83,"path":84,"stem":85},"Cursor","\u002Fcoding-plan\u002Fguide\u002Fcursor","3.coding-plan\u002F5.guide\u002F3.cursor",{"title":87,"path":88,"stem":89},"Codex","\u002Fcoding-plan\u002Fguide\u002Fcodex","3.coding-plan\u002F5.guide\u002F4.codex",{"title":91,"path":92,"stem":93},"ZCode","\u002Fcoding-plan\u002Fguide\u002Fzcode","3.coding-plan\u002F5.guide\u002F5.zcode",{"title":95,"path":96,"stem":97},"TRAE","\u002Fcoding-plan\u002Fguide\u002Ftrae","3.coding-plan\u002F5.guide\u002F6.trae",{"title":99,"path":100,"stem":101},"CodeBuddy","\u002Fcoding-plan\u002Fguide\u002Fcodebuddy","3.coding-plan\u002F5.guide\u002F7.codebuddy",{"title":22,"path":103,"stem":104},"\u002Fcoding-plan\u002Ffaq","3.coding-plan\u002F6.faq",{"title":106,"path":107,"stem":108,"children":109,"page":25},"Model APIs","\u002Fmodels","4.models",[110,135,147],{"title":111,"path":112,"stem":113,"children":114,"page":25},"Text Generation Model API","\u002Fmodels\u002Fchat","4.models\u002F1.chat",[115,119,123,127,131],{"title":116,"path":117,"stem":118},"Overview","\u002Fmodels\u002Fchat\u002Foverview","4.models\u002F1.chat\u002F1.overview",{"title":120,"path":121,"stem":122},"OpenAI Compatible API","\u002Fmodels\u002Fchat\u002Fopenai","4.models\u002F1.chat\u002F2.openai",{"title":124,"path":125,"stem":126},"Anthropic Compatible","\u002Fmodels\u002Fchat\u002Fanthropic","4.models\u002F1.chat\u002F3.anthropic",{"title":128,"path":129,"stem":130},"Volcengine Compatible","\u002Fmodels\u002Fchat\u002Fvolcengine","4.models\u002F1.chat\u002F4.volcengine",{"title":132,"path":133,"stem":134},"Multimodal Input","\u002Fmodels\u002Fchat\u002Fmultimodal","4.models\u002F1.chat\u002F5.multimodal",{"title":136,"path":137,"stem":138,"children":139,"page":25},"Image Generation Model API","\u002Fmodels\u002Fimages","4.models\u002F2.images",[140,143],{"title":116,"path":141,"stem":142},"\u002Fmodels\u002Fimages\u002Foverview","4.models\u002F2.images\u002F1.overview",{"title":144,"path":145,"stem":146},"Image Generation API","\u002Fmodels\u002Fimages\u002Fgeneration","4.models\u002F2.images\u002F2.generation",{"title":148,"path":149,"stem":150,"children":151,"page":-1},"Video Generation Models","\u002Fmodels\u002Fvideo","4.models\u002F3.video\u002Findex",[152,153,157,161,165,169,173],{"title":148,"path":149,"stem":150},{"title":154,"path":155,"stem":156},"Video Generation API","\u002Fmodels\u002Fvideo\u002Foverview","4.models\u002F3.video\u002F1.overview",{"title":158,"path":159,"stem":160},"Asset Management","\u002Fmodels\u002Fvideo\u002Fassets","4.models\u002F3.video\u002F2.assets",{"title":162,"path":163,"stem":164},"Asset Selection Guide","\u002Fmodels\u002Fvideo\u002Fmaterial-guide","4.models\u002F3.video\u002F3.material-guide",{"title":166,"path":167,"stem":168},"Liveness Verification","\u002Fmodels\u002Fvideo\u002Fliveness-verification","4.models\u002F3.video\u002F4.liveness-verification",{"title":170,"path":171,"stem":172},"OmniHuman 1.5","\u002Fmodels\u002Fvideo\u002Fomni-human","4.models\u002F3.video\u002F5.omni-human",{"title":174,"path":175,"stem":176},"MiniMax H3 Video Generation","\u002Fmodels\u002Fvideo\u002Fminimax","4.models\u002F3.video\u002F6.minimax",{"title":178,"path":179,"stem":180,"children":181,"page":25},"Usage & Balance","\u002Fusage-and-balance","5.usage-and-balance",[182,186,190],{"title":183,"path":184,"stem":185},"Query Balance","\u002Fusage-and-balance\u002Fbalance","5.usage-and-balance\u002F1.balance",{"title":187,"path":188,"stem":189},"Query Usage","\u002Fusage-and-balance\u002Fusage","5.usage-and-balance\u002F2.usage",{"title":191,"path":192,"stem":193},"Query Request Usage","\u002Fusage-and-balance\u002Frequest-usage","5.usage-and-balance\u002F3.request-usage",{"title":195,"path":196,"stem":197},"Error Codes","\u002Ferrors","6.errors",{"title":199,"path":200,"stem":201},"Getting Started with SilvaMux","\u002F","index",{"id":203,"title":166,"body":204,"description":1712,"extension":1713,"meta":1714,"navigation":1715,"path":167,"rawbody":1716,"requiredFlags":1717,"seo":1718,"stem":168,"__hash__":1719},"docs_en\u002F4.models\u002F3.video\u002F4.liveness-verification.md",{"type":205,"value":206,"toc":1695},"minimark",[207,211,225,235,249,254,279,357,361,499,503,509,512,563,613,633,636,763,801,806,810,819,855,861,865,871,873,898,920,922,998,1008,1048,1052,1058,1060,1130,1188,1190,1258,1271,1275,1280,1286,1292,1312,1316,1322,1365,1369,1375,1380,1384,1397,1499,1516,1519,1618,1622,1666,1670,1691],[208,209,166],"h1",{"id":210},"liveness-verification",[212,213,214,215,219,220,224],"p",{},"SilvaMux provides the same \"real-person verification\" face liveness API as Volcengine. Customers can launch the Volcengine H5 liveness page, and after the user verifies in person, their front-face asset is ingested as a ",[216,217,218],"strong",{},"real-person asset (LivenessFace)",", then referenced in video generation via ",[221,222,223],"code",{},"asset:\u002F\u002F\u003CId>"," — closing the loop of a private real-person likeness library:",[226,227,232],"pre",{"className":228,"code":230,"language":231},[229],"language-text","Launch liveness H5 → user completes verification → callback → get real-person asset group → upload real-person assets → generate video\n","text",[221,233,230],{"__ignoreMap":234},"",[236,237,238],"blockquote",{},[212,239,240,241,248],{},"The API behaves the same as Volcengine's \"manage private asset libraries\" (",[242,243,247],"a",{"href":244,"rel":245},"https:\u002F\u002Fdocs.volcengine.com\u002Fdocs\u002F82379\u002F2333587?lang=zh",[246],"nofollow","Launch real-person verification H5 (CreateVisualValidateSession)","); only the endpoint points at this platform, and authentication uses platform-issued AK\u002FSK.",[250,251,253],"h2",{"id":252},"preparation","Preparation",[255,256,257,265,276],"ol",{},[258,259,260,261,264],"li",{},"Console → Credentials → create a ",[216,262,263],{},"Volcengine compatible (AK\u002FSK)"," credential; the AK and SK are returned once (the SK is visible only then).",[258,266,267,268,271,272,275],{},"AK\u002FSK are bound to the organization; the project is selected via the ",[221,269,270],{},"ProjectName"," field (empty or ",[221,273,274],{},"default"," uses the default project).",[258,277,278],{},"Use the official Volcengine SDK or a custom V4 signature, sending requests to this platform:",[280,281,282,295],"table",{},[283,284,285],"thead",{},[286,287,288,292],"tr",{},[289,290,291],"th",{},"Item",[289,293,294],{},"Value",[296,297,298,309,319,329,339,347],"tbody",{},[286,299,300,304],{},[301,302,303],"td",{},"Endpoint",[301,305,306],{},[221,307,308],{},"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fark",[286,310,311,314],{},[301,312,313],{},"Region",[301,315,316],{},[221,317,318],{},"cn-beijing",[286,320,321,324],{},[301,322,323],{},"Service",[301,325,326],{},[221,327,328],{},"ark",[286,330,331,334],{},[301,332,333],{},"Version",[301,335,336],{},[221,337,338],{},"2024-01-01",[286,340,341,344],{},[301,342,343],{},"Authentication",[301,345,346],{},"Volcengine V4 signing with platform-issued AK\u002FSK",[286,348,349,352],{},[301,350,351],{},"Invocation",[301,353,354],{},[221,355,356],{},"POST \u002Fapi\u002Fark?Action=\u003CAction>&Version=2024-01-01",[250,358,360],{"id":359},"overall-flow","Overall Flow",[280,362,363,379],{},[283,364,365],{},[286,366,367,370,373,376],{},[289,368,369],{},"Step",[289,371,372],{},"Action",[289,374,375],{},"API",[289,377,378],{},"Result",[296,380,381,404,428,448,479],{},[286,382,383,386,389,394],{},[301,384,385],{},"①",[301,387,388],{},"Start verification",[301,390,391],{},[221,392,393],{},"CreateVisualValidateSession",[301,395,396,399,400,403],{},[221,397,398],{},"H5Link"," + ",[221,401,402],{},"BytedToken"," (session id)",[286,405,406,409,412,415],{},[301,407,408],{},"②",[301,410,411],{},"User opens the H5 and completes liveness actions",[301,413,414],{},"browser redirect, platform callback",[301,416,417,418,421,422,399,425],{},"auto-redirects to your ",[221,419,420],{},"CallbackURL"," with ",[221,423,424],{},"bytedToken",[221,426,427],{},"resultCode",[286,429,430,433,436,441],{},[301,431,432],{},"③",[301,434,435],{},"Confirm the result and get the asset group",[301,437,438],{},[221,439,440],{},"GetVisualValidateResult",[301,442,443,444,447],{},"creates and returns ",[221,445,446],{},"GroupId"," (a LivenessFace real-person asset group, one-time)",[286,449,450,453,456,465],{},[301,451,452],{},"④",[301,454,455],{},"Upload real-person assets",[301,457,458,461,462,464],{},[221,459,460],{},"CreateAsset"," (targeting ③'s ",[221,463,446],{},")",[301,466,467,468,471,472,475,476],{},"returns the real upstream asset ",[221,469,470],{},"Id","; poll ",[221,473,474],{},"GetAsset"," until ",[221,477,478],{},"Active",[286,480,481,484,487,490],{},[301,482,483],{},"⑤",[301,485,486],{},"Generate video",[301,488,489],{},"video generation API",[301,491,492,493,495,496],{},"reference via ",[221,494,223],{}," in ",[221,497,498],{},"content",[250,500,502],{"id":501},"create-a-verification-session-createvisualvalidatesession","① Create a Verification Session — CreateVisualValidateSession",[226,504,507],{"className":505,"code":506,"language":231},[229],"POST \u002Fapi\u002Fark?Action=CreateVisualValidateSession&Version=2024-01-01\n",[221,508,506],{"__ignoreMap":234},[212,510,511],{},"Request body:",[280,513,514,527],{},[283,515,516],{},[286,517,518,521,524],{},[289,519,520],{},"Field",[289,522,523],{},"Required",[289,525,526],{},"Description",[296,528,529,548],{},[286,530,531,535,538],{},[301,532,533],{},[221,534,420],{},[301,536,537],{},"Yes",[301,539,540,541,200,544,547],{},"Callback URL that receives the result after verification; must be an ",[221,542,543],{},"http",[221,545,546],{},"https"," URL",[286,549,550,554,557],{},[301,551,552],{},[221,553,270],{},[301,555,556],{},"No",[301,558,559,560,562],{},"Project name; empty or ",[221,561,274],{}," uses the default project",[226,564,568],{"className":565,"code":566,"language":567,"meta":234,"style":234},"language-json shiki shiki-themes github-light github-dark","{\n  \"CallbackURL\": \"https:\u002F\u002Fyour-host.example\u002Fcallback\",\n  \"ProjectName\": \"default\"\n}\n","json",[221,569,570,579,596,607],{"__ignoreMap":234},[571,572,575],"span",{"class":573,"line":574},"line",1,[571,576,578],{"class":577},"sVt8B","{\n",[571,580,582,586,589,593],{"class":573,"line":581},2,[571,583,585],{"class":584},"sj4cs","  \"CallbackURL\"",[571,587,588],{"class":577},": ",[571,590,592],{"class":591},"sZZnC","\"https:\u002F\u002Fyour-host.example\u002Fcallback\"",[571,594,595],{"class":577},",\n",[571,597,599,602,604],{"class":573,"line":598},3,[571,600,601],{"class":584},"  \"ProjectName\"",[571,603,588],{"class":577},[571,605,606],{"class":591},"\"default\"\n",[571,608,610],{"class":573,"line":609},4,[571,611,612],{"class":577},"}\n",[236,614,615],{},[212,616,617,618,621,622,621,625,628,629,632],{},"The request is signed with platform-issued AK\u002FSK using Volcengine V4 signing (",[221,619,620],{},"Service=ark",", ",[221,623,624],{},"Region=cn-beijing",[221,626,627],{},"Version=2024-01-01","); see the integration notes in ",[242,630,158],{"href":631},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fassets"," for signing details.",[212,634,635],{},"Response:",[226,637,639],{"className":565,"code":638,"language":567,"meta":234,"style":234},"{\n  \"ResponseMetadata\": {\n    \"RequestId\": \"3f2f8b4d1a6e4c5b9a7d0e2f1c3b4a5d\",\n    \"Action\": \"CreateVisualValidateSession\",\n    \"Version\": \"2024-01-01\",\n    \"Service\": \"ark\",\n    \"Region\": \"cn-beijing\"\n  },\n  \"Result\": {\n    \"H5Link\": \"https:\u002F\u002F... (the Volcengine H5 liveness page)\",\n    \"BytedToken\": \"VVS-01JXXXXXXXXXXXXXX\"\n  }\n}\n",[221,640,641,645,653,665,677,690,703,714,720,728,741,752,758],{"__ignoreMap":234},[571,642,643],{"class":573,"line":574},[571,644,578],{"class":577},[571,646,647,650],{"class":573,"line":581},[571,648,649],{"class":584},"  \"ResponseMetadata\"",[571,651,652],{"class":577},": {\n",[571,654,655,658,660,663],{"class":573,"line":598},[571,656,657],{"class":584},"    \"RequestId\"",[571,659,588],{"class":577},[571,661,662],{"class":591},"\"3f2f8b4d1a6e4c5b9a7d0e2f1c3b4a5d\"",[571,664,595],{"class":577},[571,666,667,670,672,675],{"class":573,"line":609},[571,668,669],{"class":584},"    \"Action\"",[571,671,588],{"class":577},[571,673,674],{"class":591},"\"CreateVisualValidateSession\"",[571,676,595],{"class":577},[571,678,680,683,685,688],{"class":573,"line":679},5,[571,681,682],{"class":584},"    \"Version\"",[571,684,588],{"class":577},[571,686,687],{"class":591},"\"2024-01-01\"",[571,689,595],{"class":577},[571,691,693,696,698,701],{"class":573,"line":692},6,[571,694,695],{"class":584},"    \"Service\"",[571,697,588],{"class":577},[571,699,700],{"class":591},"\"ark\"",[571,702,595],{"class":577},[571,704,706,709,711],{"class":573,"line":705},7,[571,707,708],{"class":584},"    \"Region\"",[571,710,588],{"class":577},[571,712,713],{"class":591},"\"cn-beijing\"\n",[571,715,717],{"class":573,"line":716},8,[571,718,719],{"class":577},"  },\n",[571,721,723,726],{"class":573,"line":722},9,[571,724,725],{"class":584},"  \"Result\"",[571,727,652],{"class":577},[571,729,731,734,736,739],{"class":573,"line":730},10,[571,732,733],{"class":584},"    \"H5Link\"",[571,735,588],{"class":577},[571,737,738],{"class":591},"\"https:\u002F\u002F... (the Volcengine H5 liveness page)\"",[571,740,595],{"class":577},[571,742,744,747,749],{"class":573,"line":743},11,[571,745,746],{"class":584},"    \"BytedToken\"",[571,748,588],{"class":577},[571,750,751],{"class":591},"\"VVS-01JXXXXXXXXXXXXXX\"\n",[571,753,755],{"class":573,"line":754},12,[571,756,757],{"class":577},"  }\n",[571,759,761],{"class":573,"line":760},13,[571,762,612],{"class":577},[280,764,765,773],{},[283,766,767],{},[286,768,769,771],{},[289,770,520],{},[289,772,526],{},[296,774,775,784],{},[286,776,777,781],{},[301,778,779],{},[221,780,398],{},[301,782,783],{},"The liveness page for the user to open in a browser (mobile or desktop)",[286,785,786,790],{},[301,787,788],{},[221,789,402],{},[301,791,792,795,796,798,799],{},[216,793,794],{},"Platform session id",", used later as ",[221,797,402],{}," by ",[221,800,440],{},[236,802,803],{},[212,804,805],{},"The H5 link is single-use and the session is valid for 30 minutes.",[250,807,809],{"id":808},"verification-callback","② Verification Callback",[212,811,812,813,815,816,818],{},"After the user completes liveness actions (blinking, head turns, etc.) on ",[221,814,398],{},", Volcengine redirects their browser to the platform callback; the platform records the result, then serves an HTML page that automatically forwards the browser to your ",[221,817,420],{}," with these parameters appended:",[280,820,821,830],{},[283,822,823],{},[286,824,825,828],{},[289,826,827],{},"Parameter",[289,829,526],{},[296,831,832,843],{},[286,833,834,838],{},[301,835,836],{},[221,837,424],{},[301,839,840,841,464],{},"Platform session id (same as ①'s ",[221,842,402],{},[286,844,845,849],{},[301,846,847],{},[221,848,427],{},[301,850,851,854],{},[221,852,853],{},"10000"," means verification passed",[212,856,857,858,860],{},"Your callback service can show the \"verification result\" and then call ",[221,859,440],{}," to formally obtain the asset group.",[250,862,864],{"id":863},"get-the-real-person-asset-group-getvisualvalidateresult","③ Get the Real-Person Asset Group — GetVisualValidateResult",[226,866,869],{"className":867,"code":868,"language":231},[229],"POST \u002Fapi\u002Fark?Action=GetVisualValidateResult&Version=2024-01-01\n",[221,870,868],{"__ignoreMap":234},[212,872,511],{},[280,874,875,885],{},[283,876,877],{},[286,878,879,881,883],{},[289,880,520],{},[289,882,523],{},[289,884,526],{},[296,886,887],{},[286,888,889,893,895],{},[301,890,891],{},[221,892,402],{},[301,894,537],{},[301,896,897],{},"The session id returned by ①",[226,899,901],{"className":565,"code":900,"language":567,"meta":234,"style":234},"{\n  \"BytedToken\": \"VVS-01JXXXXXXXXXXXXXX\"\n}\n",[221,902,903,907,916],{"__ignoreMap":234},[571,904,905],{"class":573,"line":574},[571,906,578],{"class":577},[571,908,909,912,914],{"class":573,"line":581},[571,910,911],{"class":584},"  \"BytedToken\"",[571,913,588],{"class":577},[571,915,751],{"class":591},[571,917,918],{"class":573,"line":598},[571,919,612],{"class":577},[212,921,635],{},[226,923,925],{"className":565,"code":924,"language":567,"meta":234,"style":234},"{\n  \"ResponseMetadata\": { \"Action\": \"GetVisualValidateResult\", \"Version\": \"2024-01-01\", \"Service\": \"ark\", \"Region\": \"cn-beijing\" },\n  \"Result\": { \"GroupId\": \"group-01JXXXXXXXXXXXXXX\" }\n}\n",[221,926,927,931,977,994],{"__ignoreMap":234},[571,928,929],{"class":573,"line":574},[571,930,578],{"class":577},[571,932,933,935,938,941,943,946,948,951,953,955,957,960,962,964,966,969,971,974],{"class":573,"line":581},[571,934,649],{"class":584},[571,936,937],{"class":577},": { ",[571,939,940],{"class":584},"\"Action\"",[571,942,588],{"class":577},[571,944,945],{"class":591},"\"GetVisualValidateResult\"",[571,947,621],{"class":577},[571,949,950],{"class":584},"\"Version\"",[571,952,588],{"class":577},[571,954,687],{"class":591},[571,956,621],{"class":577},[571,958,959],{"class":584},"\"Service\"",[571,961,588],{"class":577},[571,963,700],{"class":591},[571,965,621],{"class":577},[571,967,968],{"class":584},"\"Region\"",[571,970,588],{"class":577},[571,972,973],{"class":591},"\"cn-beijing\"",[571,975,976],{"class":577}," },\n",[571,978,979,981,983,986,988,991],{"class":573,"line":598},[571,980,725],{"class":584},[571,982,937],{"class":577},[571,984,985],{"class":584},"\"GroupId\"",[571,987,588],{"class":577},[571,989,990],{"class":591},"\"group-01JXXXXXXXXXXXXXX\"",[571,992,993],{"class":577}," }\n",[571,995,996],{"class":573,"line":609},[571,997,612],{"class":577},[212,999,1000,1001,1004,1005,1007],{},"On success the platform creates and returns a ",[216,1002,1003],{},"LivenessFace real-person asset group"," (",[221,1006,446],{},"); the group is backed by a real upstream real-person group whose id clients never need to know.",[280,1009,1010,1019],{},[283,1011,1012],{},[286,1013,1014,1017],{},[289,1015,1016],{},"Behavior",[289,1018,526],{},[296,1020,1021,1029,1040],{},[286,1022,1023,1026],{},[301,1024,1025],{},"One-time",[301,1027,1028],{},"The session is destroyed on success and cannot be reused",[286,1030,1031,1034],{},[301,1032,1033],{},"Failure",[301,1035,1036,1037],{},"A missing, expired session or a callback that never arrived all return ",[221,1038,1039],{},"401 InvalidVisualValidate",[286,1041,1042,1045],{},[301,1043,1044],{},"Validity",[301,1046,1047],{},"30 minutes (counted from when the callback arrives)",[250,1049,1051],{"id":1050},"upload-real-person-assets-createasset","④ Upload Real-Person Assets — CreateAsset",[226,1053,1056],{"className":1054,"code":1055,"language":231},[229],"POST \u002Fapi\u002Fark?Action=CreateAsset&Version=2024-01-01\n",[221,1057,1055],{"__ignoreMap":234},[212,1059,511],{},[280,1061,1062,1072],{},[283,1063,1064],{},[286,1065,1066,1068,1070],{},[289,1067,520],{},[289,1069,523],{},[289,1071,526],{},[296,1073,1074,1085,1097,1118],{},[286,1075,1076,1080,1082],{},[301,1077,1078],{},[221,1079,446],{},[301,1081,537],{},[301,1083,1084],{},"The LivenessFace group id returned by ③",[286,1086,1087,1092,1094],{},[301,1088,1089],{},[221,1090,1091],{},"URL",[301,1093,537],{},[301,1095,1096],{},"Publicly accessible URL of the front-face asset",[286,1098,1099,1104,1106],{},[301,1100,1101],{},[221,1102,1103],{},"AssetType",[301,1105,537],{},[301,1107,1108,1111,1112,1111,1115],{},[221,1109,1110],{},"Image"," \u002F ",[221,1113,1114],{},"Video",[221,1116,1117],{},"Audio",[286,1119,1120,1125,1127],{},[301,1121,1122],{},[221,1123,1124],{},"Name",[301,1126,556],{},[301,1128,1129],{},"Asset name; derived from the URL when omitted",[226,1131,1133],{"className":565,"code":1132,"language":567,"meta":234,"style":234},"{\n  \"GroupId\": \"group-01JXXXXXXXXXXXXXX\",\n  \"URL\": \"https:\u002F\u002Fyour-host.example\u002Fface.jpg\",\n  \"AssetType\": \"Image\",\n  \"Name\": \"my-face\"\n}\n",[221,1134,1135,1139,1150,1162,1174,1184],{"__ignoreMap":234},[571,1136,1137],{"class":573,"line":574},[571,1138,578],{"class":577},[571,1140,1141,1144,1146,1148],{"class":573,"line":581},[571,1142,1143],{"class":584},"  \"GroupId\"",[571,1145,588],{"class":577},[571,1147,990],{"class":591},[571,1149,595],{"class":577},[571,1151,1152,1155,1157,1160],{"class":573,"line":598},[571,1153,1154],{"class":584},"  \"URL\"",[571,1156,588],{"class":577},[571,1158,1159],{"class":591},"\"https:\u002F\u002Fyour-host.example\u002Fface.jpg\"",[571,1161,595],{"class":577},[571,1163,1164,1167,1169,1172],{"class":573,"line":609},[571,1165,1166],{"class":584},"  \"AssetType\"",[571,1168,588],{"class":577},[571,1170,1171],{"class":591},"\"Image\"",[571,1173,595],{"class":577},[571,1175,1176,1179,1181],{"class":573,"line":679},[571,1177,1178],{"class":584},"  \"Name\"",[571,1180,588],{"class":577},[571,1182,1183],{"class":591},"\"my-face\"\n",[571,1185,1186],{"class":573,"line":692},[571,1187,612],{"class":577},[212,1189,635],{},[226,1191,1193],{"className":565,"code":1192,"language":567,"meta":234,"style":234},"{\n  \"ResponseMetadata\": { \"Action\": \"CreateAsset\", \"Version\": \"2024-01-01\", \"Service\": \"ark\", \"Region\": \"cn-beijing\" },\n  \"Result\": { \"Id\": \"\u003Creal upstream asset id>\" }\n}\n",[221,1194,1195,1199,1238,1254],{"__ignoreMap":234},[571,1196,1197],{"class":573,"line":574},[571,1198,578],{"class":577},[571,1200,1201,1203,1205,1207,1209,1212,1214,1216,1218,1220,1222,1224,1226,1228,1230,1232,1234,1236],{"class":573,"line":581},[571,1202,649],{"class":584},[571,1204,937],{"class":577},[571,1206,940],{"class":584},[571,1208,588],{"class":577},[571,1210,1211],{"class":591},"\"CreateAsset\"",[571,1213,621],{"class":577},[571,1215,950],{"class":584},[571,1217,588],{"class":577},[571,1219,687],{"class":591},[571,1221,621],{"class":577},[571,1223,959],{"class":584},[571,1225,588],{"class":577},[571,1227,700],{"class":591},[571,1229,621],{"class":577},[571,1231,968],{"class":584},[571,1233,588],{"class":577},[571,1235,973],{"class":591},[571,1237,976],{"class":577},[571,1239,1240,1242,1244,1247,1249,1252],{"class":573,"line":598},[571,1241,725],{"class":584},[571,1243,937],{"class":577},[571,1245,1246],{"class":584},"\"Id\"",[571,1248,588],{"class":577},[571,1250,1251],{"class":591},"\"\u003Creal upstream asset id>\"",[571,1253,993],{"class":577},[571,1255,1256],{"class":573,"line":609},[571,1257,612],{"class":577},[236,1259,1260],{},[212,1261,1262,1263,1266,1267,1270],{},"The platform routes the upstream group automatically ",[216,1264,1265],{},"by the target group's type",": pointing at a LivenessFace group uploads to the real-person upstream — you don't need to (and shouldn't) pass ",[221,1268,1269],{},"GroupType",". Pointing at a normal AIGC group ingests into the organization-level AIGC group; the two never mix.",[250,1272,1274],{"id":1273},"manage-real-person-assets","⑤ Manage Real-Person Assets",[1276,1277,1279],"h3",{"id":1278},"query-status-getasset","Query Status — GetAsset",[226,1281,1284],{"className":1282,"code":1283,"language":231},[229],"POST \u002Fapi\u002Fark?Action=GetAsset&Version=2024-01-01\n",[221,1285,1283],{"__ignoreMap":234},[212,1287,1288,1289],{},"Request body: ",[221,1290,1291],{},"{ \"Id\": \"\u003Casset id>\", \"ProjectName\": \"default\" }",[212,1293,1294,588,1297,1111,1300,1111,1302,1305,1306,1308,1309,1311],{},[221,1295,1296],{},"Result.Status",[221,1298,1299],{},"Processing",[221,1301,478],{},[221,1303,1304],{},"Failed",". Assets usually start as ",[221,1307,1299],{},"; poll until ",[221,1310,478],{}," before using them in video generation.",[1276,1313,1315],{"id":1314},"list-assets-listassets","List Assets — ListAssets",[226,1317,1320],{"className":1318,"code":1319,"language":231},[229],"POST \u002Fapi\u002Fark?Action=ListAssets&Version=2024-01-01\n",[221,1321,1319],{"__ignoreMap":234},[212,1323,1324,1325,1004,1328,621,1331,621,1333,621,1336,1338,1339,200,1342,1345,1346,200,1349,1352,1353,1356,1357,1360,1361,1364],{},"The request body supports ",[221,1326,1327],{},"Filter",[221,1329,1330],{},"GroupIds",[221,1332,1269],{},[221,1334,1335],{},"Statuses",[221,1337,1124],{},"), pagination (",[221,1340,1341],{},"PageNumber",[221,1343,1344],{},"PageSize",", max 100), and sorting (",[221,1347,1348],{},"SortBy",[221,1350,1351],{},"SortOrder",", e.g. ",[221,1354,1355],{},"SortBy=CreateTime&SortOrder=Desc","). Passing ",[221,1358,1359],{},"LivenessFace"," as ",[221,1362,1363],{},"Filter.GroupType"," lists only real-person assets.",[1276,1366,1368],{"id":1367},"delete-assets-deleteasset","Delete Assets — DeleteAsset",[226,1370,1373],{"className":1371,"code":1372,"language":231},[229],"POST \u002Fapi\u002Fark?Action=DeleteAsset&Version=2024-01-01\n",[221,1374,1372],{"__ignoreMap":234},[212,1376,1288,1377,1379],{},[221,1378,1291],{},". Deletes both the Volcengine upstream asset and the local record synchronously.",[250,1381,1383],{"id":1382},"referencing-in-video-generation","Referencing in Video Generation",[212,1385,1386,1387,1389,1390,1392,1393,1396],{},"Once a real-person asset is ",[221,1388,478],{},", reference it in video generation's ",[221,1391,498],{}," via ",[221,1394,1395],{},"asset:\u002F\u002F\u003Casset id>",":",[226,1398,1400],{"className":565,"code":1399,"language":567,"meta":234,"style":234},"{\n  \"model\": \"\u003CMODEL_CALL_NAME>\",\n  \"content\": [\n    {\"type\": \"image_url\", \"image_url\": {\"url\": \"asset:\u002F\u002F\u003Casset id>\"}, \"role\": \"reference_image\"},\n    {\"type\": \"text\", \"text\": \"Make the character in the frame dance\"}\n  ]\n}\n",[221,1401,1402,1406,1418,1426,1468,1490,1495],{"__ignoreMap":234},[571,1403,1404],{"class":573,"line":574},[571,1405,578],{"class":577},[571,1407,1408,1411,1413,1416],{"class":573,"line":581},[571,1409,1410],{"class":584},"  \"model\"",[571,1412,588],{"class":577},[571,1414,1415],{"class":591},"\"\u003CMODEL_CALL_NAME>\"",[571,1417,595],{"class":577},[571,1419,1420,1423],{"class":573,"line":598},[571,1421,1422],{"class":584},"  \"content\"",[571,1424,1425],{"class":577},": [\n",[571,1427,1428,1431,1434,1436,1439,1441,1443,1446,1449,1451,1454,1457,1460,1462,1465],{"class":573,"line":609},[571,1429,1430],{"class":577},"    {",[571,1432,1433],{"class":584},"\"type\"",[571,1435,588],{"class":577},[571,1437,1438],{"class":591},"\"image_url\"",[571,1440,621],{"class":577},[571,1442,1438],{"class":584},[571,1444,1445],{"class":577},": {",[571,1447,1448],{"class":584},"\"url\"",[571,1450,588],{"class":577},[571,1452,1453],{"class":591},"\"asset:\u002F\u002F\u003Casset id>\"",[571,1455,1456],{"class":577},"}, ",[571,1458,1459],{"class":584},"\"role\"",[571,1461,588],{"class":577},[571,1463,1464],{"class":591},"\"reference_image\"",[571,1466,1467],{"class":577},"},\n",[571,1469,1470,1472,1474,1476,1479,1481,1483,1485,1488],{"class":573,"line":679},[571,1471,1430],{"class":577},[571,1473,1433],{"class":584},[571,1475,588],{"class":577},[571,1477,1478],{"class":591},"\"text\"",[571,1480,621],{"class":577},[571,1482,1478],{"class":584},[571,1484,588],{"class":577},[571,1486,1487],{"class":591},"\"Make the character in the frame dance\"",[571,1489,612],{"class":577},[571,1491,1492],{"class":573,"line":692},[571,1493,1494],{"class":577},"  ]\n",[571,1496,1497],{"class":573,"line":705},[571,1498,612],{"class":577},[236,1500,1501],{},[212,1502,1503,1504,1507,1508,1511,1512,1515],{},"Video generation uses the platform's own API + API key (",[221,1505,1506],{},"sk_live_","), not AK\u002FSK signing; ",[221,1509,1510],{},"model"," uses the real call name from the Model Plaza. See ",[242,1513,154],{"href":1514},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Foverview",".",[250,1517,195],{"id":1518},"error-codes",[280,1520,1521,1531],{},[283,1522,1523],{},[286,1524,1525,1528],{},[289,1526,1527],{},"Code",[289,1529,1530],{},"Meaning",[296,1532,1533,1543,1556,1574,1590,1604],{},[286,1534,1535,1540],{},[301,1536,1537],{},[221,1538,1539],{},"InvalidSignature",[301,1541,1542],{},"Signature verification failed (wrong AK\u002FSK, tampered request, or excessive clock skew)",[286,1544,1545,1550],{},[301,1546,1547],{},[221,1548,1549],{},"InvalidVisualValidate",[301,1551,1552,1553,1555],{},"Verification session invalid, expired, or incomplete (all ",[221,1554,440],{}," failure paths, HTTP 401)",[286,1557,1558,1566],{},[301,1559,1560,1111,1563],{},[221,1561,1562],{},"MissingParameter.*",[221,1564,1565],{},"InvalidParameter.*",[301,1567,1568,1569,1571,1572,464],{},"Missing required field \u002F invalid field value (e.g. ",[221,1570,420],{}," not http(s), invalid ",[221,1573,1103],{},[286,1575,1576,1587],{},[301,1577,1578,1111,1581,1111,1584],{},[221,1579,1580],{},"NotFound.project",[221,1582,1583],{},"NotFound.group_id",[221,1585,1586],{},"NotFound.asset_id",[301,1588,1589],{},"Project \u002F asset group \u002F asset not found",[286,1591,1592,1597],{},[301,1593,1594],{},[221,1595,1596],{},"UpstreamError.Asset",[301,1598,1599,1600,1603],{},"Upstream asset service error; the upstream reason is passed through and ",[221,1601,1602],{},"X-Upstream-Request-Id"," is set on the response",[286,1605,1606,1611],{},[301,1607,1608],{},[221,1609,1610],{},"InternalError",[301,1612,1613,1614,1617],{},"Internal error; note the ",[221,1615,1616],{},"RequestId"," and contact support",[250,1619,1621],{"id":1620},"notes","Notes",[1623,1624,1625,1633,1643,1651,1657],"ul",{},[258,1626,1627,588,1630,1632],{},[216,1628,1629],{},"H5 is single-use with a 30-minute validity",[221,1631,398],{}," can be used once and the session lives 30 minutes; create a new session after timeout.",[258,1634,1635,1638,1639,1642],{},[216,1636,1637],{},"The callback URL must be publicly reachable",": Volcengine calls back via browser redirects; ",[221,1640,1641],{},"localhost","\u002Fintranet addresses do not work.",[258,1644,1645,1648,1649,1642],{},[216,1646,1647],{},"Asset URLs must be publicly accessible",": the platform fetches assets to ingest them; ",[221,1650,1641],{},[258,1652,1653,1656],{},[216,1654,1655],{},"Assets must be your own front face",": comply with applicable laws, regulations, and the platform's terms of service; do not upload other people's likenesses.",[258,1658,1659,1662,1663,1665],{},[216,1660,1661],{},"Assets are isolated per project",": upload and query must use the same ",[221,1664,270],{},"; video generation must use the project the asset belongs to.",[250,1667,1669],{"id":1668},"references","References",[1623,1671,1672,1680],{},[258,1673,1674,1675,1677,1678],{},"This platform's ",[242,1676,158],{"href":631}," and ",[242,1679,154],{"href":1514},[258,1681,1682,1683,621,1686],{},"Volcengine official docs: ",[242,1684,247],{"href":244,"rel":1685},[246],[242,1687,1690],{"href":1688,"rel":1689},"https:\u002F\u002Fdocs.volcengine.com\u002Fdocs\u002F82379\u002F2333589?lang=zh",[246],"Private real-person likeness asset usage guide",[1692,1693,1694],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":234,"searchDepth":581,"depth":581,"links":1696},[1697,1698,1699,1700,1701,1702,1703,1708,1709,1710,1711],{"id":252,"depth":581,"text":253},{"id":359,"depth":581,"text":360},{"id":501,"depth":581,"text":502},{"id":808,"depth":581,"text":809},{"id":863,"depth":581,"text":864},{"id":1050,"depth":581,"text":1051},{"id":1273,"depth":581,"text":1274,"children":1704},[1705,1706,1707],{"id":1278,"depth":598,"text":1279},{"id":1314,"depth":598,"text":1315},{"id":1367,"depth":598,"text":1368},{"id":1382,"depth":581,"text":1383},{"id":1518,"depth":581,"text":195},{"id":1620,"depth":581,"text":1621},{"id":1668,"depth":581,"text":1669},"Build a private real-person likeness library via face liveness verification, then generate videos with real-person assets.","md",{},true,"---\ntitle: Liveness Verification\ndescription: Build a private real-person likeness library via face liveness verification, then generate videos with real-person assets.\n---\n\n# Liveness Verification\n\nSilvaMux provides the same \"real-person verification\" face liveness API as Volcengine. Customers can launch the Volcengine H5 liveness page, and after the user verifies in person, their front-face asset is ingested as a **real-person asset (LivenessFace)**, then referenced in video generation via `asset:\u002F\u002F\u003CId>` — closing the loop of a private real-person likeness library:\n\n```\nLaunch liveness H5 → user completes verification → callback → get real-person asset group → upload real-person assets → generate video\n```\n\n> The API behaves the same as Volcengine's \"manage private asset libraries\" ([Launch real-person verification H5 (CreateVisualValidateSession)](https:\u002F\u002Fdocs.volcengine.com\u002Fdocs\u002F82379\u002F2333587?lang=zh)); only the endpoint points at this platform, and authentication uses platform-issued AK\u002FSK.\n\n## Preparation\n\n1. Console → Credentials → create a **Volcengine compatible (AK\u002FSK)** credential; the AK and SK are returned once (the SK is visible only then).\n2. AK\u002FSK are bound to the organization; the project is selected via the `ProjectName` field (empty or `default` uses the default project).\n3. Use the official Volcengine SDK or a custom V4 signature, sending requests to this platform:\n\n| Item | Value |\n| --- | --- |\n| Endpoint | `https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fark` |\n| Region | `cn-beijing` |\n| Service | `ark` |\n| Version | `2024-01-01` |\n| Authentication | Volcengine V4 signing with platform-issued AK\u002FSK |\n| Invocation | `POST \u002Fapi\u002Fark?Action=\u003CAction>&Version=2024-01-01` |\n\n## Overall Flow\n\n| Step | Action | API | Result |\n| --- | --- | --- | --- |\n| ① | Start verification | `CreateVisualValidateSession` | `H5Link` + `BytedToken` (session id) |\n| ② | User opens the H5 and completes liveness actions | browser redirect, platform callback | auto-redirects to your `CallbackURL` with `bytedToken` + `resultCode` |\n| ③ | Confirm the result and get the asset group | `GetVisualValidateResult` | creates and returns `GroupId` (a LivenessFace real-person asset group, one-time) |\n| ④ | Upload real-person assets | `CreateAsset` (targeting ③'s `GroupId`) | returns the real upstream asset `Id`; poll `GetAsset` until `Active` |\n| ⑤ | Generate video | video generation API | reference via `asset:\u002F\u002F\u003CId>` in `content` |\n\n## ① Create a Verification Session — CreateVisualValidateSession\n\n```\nPOST \u002Fapi\u002Fark?Action=CreateVisualValidateSession&Version=2024-01-01\n```\n\nRequest body:\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `CallbackURL` | Yes | Callback URL that receives the result after verification; must be an `http`\u002F`https` URL |\n| `ProjectName` | No | Project name; empty or `default` uses the default project |\n\n```json\n{\n  \"CallbackURL\": \"https:\u002F\u002Fyour-host.example\u002Fcallback\",\n  \"ProjectName\": \"default\"\n}\n```\n\n> The request is signed with platform-issued AK\u002FSK using Volcengine V4 signing (`Service=ark`, `Region=cn-beijing`, `Version=2024-01-01`); see the integration notes in [Asset Management](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fassets) for signing details.\n\nResponse:\n\n```json\n{\n  \"ResponseMetadata\": {\n    \"RequestId\": \"3f2f8b4d1a6e4c5b9a7d0e2f1c3b4a5d\",\n    \"Action\": \"CreateVisualValidateSession\",\n    \"Version\": \"2024-01-01\",\n    \"Service\": \"ark\",\n    \"Region\": \"cn-beijing\"\n  },\n  \"Result\": {\n    \"H5Link\": \"https:\u002F\u002F... (the Volcengine H5 liveness page)\",\n    \"BytedToken\": \"VVS-01JXXXXXXXXXXXXXX\"\n  }\n}\n```\n\n| Field | Description |\n| --- | --- |\n| `H5Link` | The liveness page for the user to open in a browser (mobile or desktop) |\n| `BytedToken` | **Platform session id**, used later as `BytedToken` by `GetVisualValidateResult` |\n\n> The H5 link is single-use and the session is valid for 30 minutes.\n\n## ② Verification Callback\n\nAfter the user completes liveness actions (blinking, head turns, etc.) on `H5Link`, Volcengine redirects their browser to the platform callback; the platform records the result, then serves an HTML page that automatically forwards the browser to your `CallbackURL` with these parameters appended:\n\n| Parameter | Description |\n| --- | --- |\n| `bytedToken` | Platform session id (same as ①'s `BytedToken`) |\n| `resultCode` | `10000` means verification passed |\n\nYour callback service can show the \"verification result\" and then call `GetVisualValidateResult` to formally obtain the asset group.\n\n## ③ Get the Real-Person Asset Group — GetVisualValidateResult\n\n```\nPOST \u002Fapi\u002Fark?Action=GetVisualValidateResult&Version=2024-01-01\n```\n\nRequest body:\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `BytedToken` | Yes | The session id returned by ① |\n\n```json\n{\n  \"BytedToken\": \"VVS-01JXXXXXXXXXXXXXX\"\n}\n```\n\nResponse:\n\n```json\n{\n  \"ResponseMetadata\": { \"Action\": \"GetVisualValidateResult\", \"Version\": \"2024-01-01\", \"Service\": \"ark\", \"Region\": \"cn-beijing\" },\n  \"Result\": { \"GroupId\": \"group-01JXXXXXXXXXXXXXX\" }\n}\n```\n\nOn success the platform creates and returns a **LivenessFace real-person asset group** (`GroupId`); the group is backed by a real upstream real-person group whose id clients never need to know.\n\n| Behavior | Description |\n| --- | --- |\n| One-time | The session is destroyed on success and cannot be reused |\n| Failure | A missing, expired session or a callback that never arrived all return `401 InvalidVisualValidate` |\n| Validity | 30 minutes (counted from when the callback arrives) |\n\n## ④ Upload Real-Person Assets — CreateAsset\n\n```\nPOST \u002Fapi\u002Fark?Action=CreateAsset&Version=2024-01-01\n```\n\nRequest body:\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `GroupId` | Yes | The LivenessFace group id returned by ③ |\n| `URL` | Yes | Publicly accessible URL of the front-face asset |\n| `AssetType` | Yes | `Image` \u002F `Video` \u002F `Audio` |\n| `Name` | No | Asset name; derived from the URL when omitted |\n\n```json\n{\n  \"GroupId\": \"group-01JXXXXXXXXXXXXXX\",\n  \"URL\": \"https:\u002F\u002Fyour-host.example\u002Fface.jpg\",\n  \"AssetType\": \"Image\",\n  \"Name\": \"my-face\"\n}\n```\n\nResponse:\n\n```json\n{\n  \"ResponseMetadata\": { \"Action\": \"CreateAsset\", \"Version\": \"2024-01-01\", \"Service\": \"ark\", \"Region\": \"cn-beijing\" },\n  \"Result\": { \"Id\": \"\u003Creal upstream asset id>\" }\n}\n```\n\n> The platform routes the upstream group automatically **by the target group's type**: pointing at a LivenessFace group uploads to the real-person upstream — you don't need to (and shouldn't) pass `GroupType`. Pointing at a normal AIGC group ingests into the organization-level AIGC group; the two never mix.\n\n## ⑤ Manage Real-Person Assets\n\n### Query Status — GetAsset\n\n```\nPOST \u002Fapi\u002Fark?Action=GetAsset&Version=2024-01-01\n```\n\nRequest body: `{ \"Id\": \"\u003Casset id>\", \"ProjectName\": \"default\" }`\n\n`Result.Status`: `Processing` \u002F `Active` \u002F `Failed`. Assets usually start as `Processing`; poll until `Active` before using them in video generation.\n\n### List Assets — ListAssets\n\n```\nPOST \u002Fapi\u002Fark?Action=ListAssets&Version=2024-01-01\n```\n\nThe request body supports `Filter` (`GroupIds`, `GroupType`, `Statuses`, `Name`), pagination (`PageNumber`\u002F`PageSize`, max 100), and sorting (`SortBy`\u002F`SortOrder`, e.g. `SortBy=CreateTime&SortOrder=Desc`). Passing `LivenessFace` as `Filter.GroupType` lists only real-person assets.\n\n### Delete Assets — DeleteAsset\n\n```\nPOST \u002Fapi\u002Fark?Action=DeleteAsset&Version=2024-01-01\n```\n\nRequest body: `{ \"Id\": \"\u003Casset id>\", \"ProjectName\": \"default\" }`. Deletes both the Volcengine upstream asset and the local record synchronously.\n\n## Referencing in Video Generation\n\nOnce a real-person asset is `Active`, reference it in video generation's `content` via `asset:\u002F\u002F\u003Casset id>`:\n\n```json\n{\n  \"model\": \"\u003CMODEL_CALL_NAME>\",\n  \"content\": [\n    {\"type\": \"image_url\", \"image_url\": {\"url\": \"asset:\u002F\u002F\u003Casset id>\"}, \"role\": \"reference_image\"},\n    {\"type\": \"text\", \"text\": \"Make the character in the frame dance\"}\n  ]\n}\n```\n\n> Video generation uses the platform's own API + API key (`sk_live_`), not AK\u002FSK signing; `model` uses the real call name from the Model Plaza. See [Video Generation API](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Foverview).\n\n## Error Codes\n\n| Code | Meaning |\n| --- | --- |\n| `InvalidSignature` | Signature verification failed (wrong AK\u002FSK, tampered request, or excessive clock skew) |\n| `InvalidVisualValidate` | Verification session invalid, expired, or incomplete (all `GetVisualValidateResult` failure paths, HTTP 401) |\n| `MissingParameter.*` \u002F `InvalidParameter.*` | Missing required field \u002F invalid field value (e.g. `CallbackURL` not http(s), invalid `AssetType`) |\n| `NotFound.project` \u002F `NotFound.group_id` \u002F `NotFound.asset_id` | Project \u002F asset group \u002F asset not found |\n| `UpstreamError.Asset` | Upstream asset service error; the upstream reason is passed through and `X-Upstream-Request-Id` is set on the response |\n| `InternalError` | Internal error; note the `RequestId` and contact support |\n\n## Notes\n\n- **H5 is single-use with a 30-minute validity**: `H5Link` can be used once and the session lives 30 minutes; create a new session after timeout.\n- **The callback URL must be publicly reachable**: Volcengine calls back via browser redirects; `localhost`\u002Fintranet addresses do not work.\n- **Asset URLs must be publicly accessible**: the platform fetches assets to ingest them; `localhost`\u002Fintranet addresses do not work.\n- **Assets must be your own front face**: comply with applicable laws, regulations, and the platform's terms of service; do not upload other people's likenesses.\n- **Assets are isolated per project**: upload and query must use the same `ProjectName`; video generation must use the project the asset belongs to.\n\n## References\n\n- This platform's [Asset Management](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fassets) and [Video Generation API](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Foverview)\n- Volcengine official docs: [Launch real-person verification H5 (CreateVisualValidateSession)](https:\u002F\u002Fdocs.volcengine.com\u002Fdocs\u002F82379\u002F2333587?lang=zh), [Private real-person likeness asset usage guide](https:\u002F\u002Fdocs.volcengine.com\u002Fdocs\u002F82379\u002F2333589?lang=zh)\n",[],{"title":166,"description":1712},"yrDTh5Yeg_sYSi9m3p_G04yora8pMsTLAmxW4c7mdbA"]