[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs-nav-en":3,"docs-en-models\u002Fvideo\u002Foverview":202,"$fqdccCToysgRM_ffq2QrjJjBdNl8gBU9qUk4wJmU5fYw":2176,"$fcGvkVCHtgtU-tTjIabSnKGk1hQa4iTsUnm3cQYnjCTk":2226,"$fd2fDQ0cuM20hcs_y29HhxCQevIIp3auSyBXu6CyO4vY":2263,"$fDylU-6-tv5kbQYmvs6zGzc6FAReS2oBCSurPIArY1sE":2321},[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":154,"body":204,"description":2169,"extension":2170,"meta":2171,"navigation":637,"path":155,"rawbody":2172,"requiredFlags":2173,"seo":2174,"stem":156,"__hash__":2175},"docs_en\u002F4.models\u002F3.video\u002F1.overview.md",{"type":205,"value":206,"toc":2138},"minimark",[207,211,220,230,235,249,254,441,455,462,477,482,486,490,1048,1052,1055,1059,1130,1134,1207,1211,1214,1283,1288,1295,1302,1341,1347,1413,1416,1422,1475,1478,1484,1487,1538,1541,1545,1548,1612,1616,1623,1627,1896,1899,1951,1973,1977,1983,1985,1989,1995,1998,2003,2007,2010,2016,2019,2024,2031,2035,2042,2052,2055,2060,2064,2067,2104,2108,2134],[208,209,154],"h1",{"id":210},"video-generation-api",[212,213,214,215,219],"p",{},"Video generation uses an asynchronous task model: create a task → poll the status → read the result. Video and 3D share the same task API and are routed by the ",[216,217,218],"code",{},"model"," field.",[221,222,223],"blockquote",{},[212,224,225,226,229],{},"Replace ",[216,227,228],{},"\u003CMODEL_CALL_NAME>"," in the examples below with a real call name published on the Model Plaza.",[221,231,232],{},[212,233,234],{},"Video generation uses the platform's own API + API key, not Volcengine AK\u002FSK signing. The Volcengine-compatible APIs are for asset management only.",[221,236,237],{},[212,238,239,240,243,244,248],{},"The MiniMax H3 series uses a separate native API (",[216,241,242],{},"\u002Fapi\u002Fv2",", billed per second); see ",[245,246,174],"a",{"href":247},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fminimax",".",[250,251,253],"h2",{"id":252},"key-parameters","Key Parameters",[255,256,257,276],"table",{},[258,259,260],"thead",{},[261,262,263,267,270,273],"tr",{},[264,265,266],"th",{},"Parameter",[264,268,269],{},"Type",[264,271,272],{},"Required",[264,274,275],{},"Description",[277,278,279,295,323,349,380,395,412,427],"tbody",{},[261,280,281,286,289,292],{},[282,283,284],"td",{},[216,285,218],{},[282,287,288],{},"string",[282,290,291],{},"Yes",[282,293,294],{},"Model call name; must come from the Model Plaza or the model list",[261,296,297,302,305,307],{},[282,298,299],{},[216,300,301],{},"content",[282,303,304],{},"array",[282,306,291],{},[282,308,309,310,313,314,313,317,313,320],{},"Input content; supports ",[216,311,312],{},"text",", ",[216,315,316],{},"image_url",[216,318,319],{},"video_url",[216,321,322],{},"audio_url",[261,324,325,330,332,335],{},[282,326,327],{},[216,328,329],{},"resolution",[282,331,288],{},[282,333,334],{},"No",[282,336,337,338,341,342,341,345,348],{},"Model pass-through field; common values ",[216,339,340],{},"480p"," \u002F ",[216,343,344],{},"720p",[216,346,347],{},"1080p",", per model details",[261,350,351,356,358,360],{},[282,352,353],{},[216,354,355],{},"ratio",[282,357,288],{},[282,359,334],{},[282,361,337,362,341,365,341,368,341,371,341,374,341,377],{},[216,363,364],{},"16:9",[216,366,367],{},"9:16",[216,369,370],{},"4:3",[216,372,373],{},"3:4",[216,375,376],{},"1:1",[216,378,379],{},"21:9",[261,381,382,387,390,392],{},[282,383,384],{},[216,385,386],{},"duration",[282,388,389],{},"integer",[282,391,334],{},[282,393,394],{},"Model pass-through field; duration range per model details",[261,396,397,402,404,406],{},[282,398,399],{},[216,400,401],{},"frames",[282,403,389],{},[282,405,334],{},[282,407,408,409,411],{},"Model pass-through field; whether it can replace ",[216,410,386],{}," per model details",[261,413,414,419,422,424],{},[282,415,416],{},[216,417,418],{},"generate_audio",[282,420,421],{},"boolean",[282,423,334],{},[282,425,426],{},"Model pass-through field; audio support per model details",[261,428,429,434,436,438],{},[282,430,431],{},[216,432,433],{},"tools",[282,435,304],{},[282,437,334],{},[282,439,440],{},"Model pass-through field; supported tools per model details",[212,442,443,447,448,451,452],{},[444,445,446],"strong",{},"Creating tasks:"," ",[216,449,450],{},"Authorization: Bearer \u003CAPI_KEY>"," or ",[216,453,454],{},"x-api-key: \u003CAPI_KEY>",[212,456,457,447,460],{},[444,458,459],{},"Querying and canceling tasks:",[216,461,450],{},[221,463,464],{},[212,465,466,469,470,473,474,248],{},[216,467,468],{},"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3"," is the ",[216,471,472],{},"\u002Fapi\u002Fv3"," path under the access domain, routing to ",[216,475,476],{},"\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks",[478,479,481],"h3",{"id":480},"creating-a-task","Creating a Task",[483,484],"api-endpoint",{"method":485,"path":476},"POST",[250,487,489],{"id":488},"text-to-video","Text-to-Video",[491,492,493,608,733,852],"code-tabs",{},[494,495,497],"code-tab",{"label":496},"cURL",[498,499,504],"pre",{"className":500,"code":501,"language":502,"meta":503,"style":503},"language-bash shiki shiki-themes github-light github-dark","curl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n    \"resolution\": \"720p\",\n    \"ratio\": \"16:9\",\n    \"duration\": 5,\n    \"generate_audio\": true\n  }'\n","bash","",[216,505,506,529,547,557,566,572,578,584,590,596,602],{"__ignoreMap":503},[507,508,511,515,519,523,526],"span",{"class":509,"line":510},"line",1,[507,512,514],{"class":513},"sScJk","curl",[507,516,518],{"class":517},"sj4cs"," -X",[507,520,522],{"class":521},"sZZnC"," POST",[507,524,525],{"class":521}," https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks",[507,527,528],{"class":517}," \\\n",[507,530,532,535,538,542,545],{"class":509,"line":531},2,[507,533,534],{"class":517},"  -H",[507,536,537],{"class":521}," \"Authorization: Bearer ",[507,539,541],{"class":540},"sVt8B","$SILVAMUX_API_KEY",[507,543,544],{"class":521},"\"",[507,546,528],{"class":517},[507,548,550,552,555],{"class":509,"line":549},3,[507,551,534],{"class":517},[507,553,554],{"class":521}," \"Content-Type: application\u002Fjson\"",[507,556,528],{"class":517},[507,558,560,563],{"class":509,"line":559},4,[507,561,562],{"class":517},"  -d",[507,564,565],{"class":521}," '{\n",[507,567,569],{"class":509,"line":568},5,[507,570,571],{"class":521},"    \"model\": \"\u003CMODEL_CALL_NAME>\",\n",[507,573,575],{"class":509,"line":574},6,[507,576,577],{"class":521},"    \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n",[507,579,581],{"class":509,"line":580},7,[507,582,583],{"class":521},"    \"resolution\": \"720p\",\n",[507,585,587],{"class":509,"line":586},8,[507,588,589],{"class":521},"    \"ratio\": \"16:9\",\n",[507,591,593],{"class":509,"line":592},9,[507,594,595],{"class":521},"    \"duration\": 5,\n",[507,597,599],{"class":509,"line":598},10,[507,600,601],{"class":521},"    \"generate_audio\": true\n",[507,603,605],{"class":509,"line":604},11,[507,606,607],{"class":521},"  }'\n",[494,609,611],{"label":610},"Python",[498,612,616],{"className":613,"code":614,"language":615,"meta":503,"style":503},"language-python shiki shiki-themes github-light github-dark","# pip install requests\nimport os\nimport requests\n\nresp = requests.post(\n    \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SILVAMUX_API_KEY']}\",\n        \"Content-Type\": \"application\u002Fjson\",\n    },\n    json={\n        \"model\": \"\u003CMODEL_CALL_NAME>\",\n        \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n        \"resolution\": \"720p\",\n        \"ratio\": \"16:9\",\n        \"duration\": 5,\n        \"generate_audio\": True,\n    },\n)\nresp.raise_for_status()\nprint(resp.json())  # {\"id\": \"VTK-...\", \"status\": \"queued\", ...}\n","python",[216,617,618,623,628,633,639,644,649,654,659,664,669,674,680,686,692,698,704,710,715,721,727],{"__ignoreMap":503},[507,619,620],{"class":509,"line":510},[507,621,622],{},"# pip install requests\n",[507,624,625],{"class":509,"line":531},[507,626,627],{},"import os\n",[507,629,630],{"class":509,"line":549},[507,631,632],{},"import requests\n",[507,634,635],{"class":509,"line":559},[507,636,638],{"emptyLinePlaceholder":637},true,"\n",[507,640,641],{"class":509,"line":568},[507,642,643],{},"resp = requests.post(\n",[507,645,646],{"class":509,"line":574},[507,647,648],{},"    \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\",\n",[507,650,651],{"class":509,"line":580},[507,652,653],{},"    headers={\n",[507,655,656],{"class":509,"line":586},[507,657,658],{},"        \"Authorization\": f\"Bearer {os.environ['SILVAMUX_API_KEY']}\",\n",[507,660,661],{"class":509,"line":592},[507,662,663],{},"        \"Content-Type\": \"application\u002Fjson\",\n",[507,665,666],{"class":509,"line":598},[507,667,668],{},"    },\n",[507,670,671],{"class":509,"line":604},[507,672,673],{},"    json={\n",[507,675,677],{"class":509,"line":676},12,[507,678,679],{},"        \"model\": \"\u003CMODEL_CALL_NAME>\",\n",[507,681,683],{"class":509,"line":682},13,[507,684,685],{},"        \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n",[507,687,689],{"class":509,"line":688},14,[507,690,691],{},"        \"resolution\": \"720p\",\n",[507,693,695],{"class":509,"line":694},15,[507,696,697],{},"        \"ratio\": \"16:9\",\n",[507,699,701],{"class":509,"line":700},16,[507,702,703],{},"        \"duration\": 5,\n",[507,705,707],{"class":509,"line":706},17,[507,708,709],{},"        \"generate_audio\": True,\n",[507,711,713],{"class":509,"line":712},18,[507,714,668],{},[507,716,718],{"class":509,"line":717},19,[507,719,720],{},")\n",[507,722,724],{"class":509,"line":723},20,[507,725,726],{},"resp.raise_for_status()\n",[507,728,730],{"class":509,"line":729},21,[507,731,732],{},"print(resp.json())  # {\"id\": \"VTK-...\", \"status\": \"queued\", ...}\n",[494,734,736],{"label":735},"JavaScript",[498,737,741],{"className":738,"code":739,"language":740,"meta":503,"style":503},"language-javascript shiki shiki-themes github-light github-dark","\u002F\u002F Node 18+ (built-in fetch)\nconst resp = await fetch(\n  \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\",\n  {\n    method: \"POST\",\n    headers: {\n      Authorization: `Bearer ${process.env.SILVAMUX_API_KEY}`,\n      \"Content-Type\": \"application\u002Fjson\",\n    },\n    body: JSON.stringify({\n      model: \"\u003CMODEL_CALL_NAME>\",\n      content: [{ type: \"text\", text: \"A golden retriever running on the beach\" }],\n      resolution: \"720p\",\n      ratio: \"16:9\",\n      duration: 5,\n      generate_audio: true,\n    }),\n  },\n);\n\nconst task = await resp.json();\nconsole.log(task); \u002F\u002F { id: \"VTK-...\", status: \"queued\", ... }\n","javascript",[216,742,743,748,753,758,763,768,773,778,783,787,792,797,802,807,812,817,822,827,832,837,841,846],{"__ignoreMap":503},[507,744,745],{"class":509,"line":510},[507,746,747],{},"\u002F\u002F Node 18+ (built-in fetch)\n",[507,749,750],{"class":509,"line":531},[507,751,752],{},"const resp = await fetch(\n",[507,754,755],{"class":509,"line":549},[507,756,757],{},"  \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\",\n",[507,759,760],{"class":509,"line":559},[507,761,762],{},"  {\n",[507,764,765],{"class":509,"line":568},[507,766,767],{},"    method: \"POST\",\n",[507,769,770],{"class":509,"line":574},[507,771,772],{},"    headers: {\n",[507,774,775],{"class":509,"line":580},[507,776,777],{},"      Authorization: `Bearer ${process.env.SILVAMUX_API_KEY}`,\n",[507,779,780],{"class":509,"line":586},[507,781,782],{},"      \"Content-Type\": \"application\u002Fjson\",\n",[507,784,785],{"class":509,"line":592},[507,786,668],{},[507,788,789],{"class":509,"line":598},[507,790,791],{},"    body: JSON.stringify({\n",[507,793,794],{"class":509,"line":604},[507,795,796],{},"      model: \"\u003CMODEL_CALL_NAME>\",\n",[507,798,799],{"class":509,"line":676},[507,800,801],{},"      content: [{ type: \"text\", text: \"A golden retriever running on the beach\" }],\n",[507,803,804],{"class":509,"line":682},[507,805,806],{},"      resolution: \"720p\",\n",[507,808,809],{"class":509,"line":688},[507,810,811],{},"      ratio: \"16:9\",\n",[507,813,814],{"class":509,"line":694},[507,815,816],{},"      duration: 5,\n",[507,818,819],{"class":509,"line":700},[507,820,821],{},"      generate_audio: true,\n",[507,823,824],{"class":509,"line":706},[507,825,826],{},"    }),\n",[507,828,829],{"class":509,"line":712},[507,830,831],{},"  },\n",[507,833,834],{"class":509,"line":717},[507,835,836],{},");\n",[507,838,839],{"class":509,"line":723},[507,840,638],{"emptyLinePlaceholder":637},[507,842,843],{"class":509,"line":729},[507,844,845],{},"const task = await resp.json();\n",[507,847,849],{"class":509,"line":848},22,[507,850,851],{},"console.log(task); \u002F\u002F { id: \"VTK-...\", status: \"queued\", ... }\n",[494,853,855],{"label":854},"Go",[498,856,860],{"className":857,"code":858,"language":859,"meta":503,"style":503},"language-go shiki shiki-themes github-light github-dark","\u002F\u002F Standard library only\npackage main\n\nimport (\n    \"bytes\"\n    \"fmt\"\n    \"io\"\n    \"net\u002Fhttp\"\n    \"os\"\n)\n\nfunc main() {\n    payload := []byte(`{\n        \"model\": \"\u003CMODEL_CALL_NAME>\",\n        \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n        \"resolution\": \"720p\",\n        \"ratio\": \"16:9\",\n        \"duration\": 5,\n        \"generate_audio\": true\n    }`)\n\n    req, err := http.NewRequest(\"POST\", \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\", bytes.NewReader(payload))\n    if err != nil {\n        panic(err)\n    }\n    req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"SILVAMUX_API_KEY\"))\n    req.Header.Set(\"Content-Type\", \"application\u002Fjson\")\n\n    resp, err := http.DefaultClient.Do(req)\n    if err != nil {\n        panic(err)\n    }\n    defer resp.Body.Close()\n\n    body, _ := io.ReadAll(resp.Body)\n    fmt.Println(string(body))\n}\n","go",[216,861,862,867,872,876,881,886,891,896,901,906,910,914,919,924,928,932,936,940,944,949,954,958,963,969,975,981,987,993,998,1004,1009,1014,1019,1025,1030,1036,1042],{"__ignoreMap":503},[507,863,864],{"class":509,"line":510},[507,865,866],{},"\u002F\u002F Standard library only\n",[507,868,869],{"class":509,"line":531},[507,870,871],{},"package main\n",[507,873,874],{"class":509,"line":549},[507,875,638],{"emptyLinePlaceholder":637},[507,877,878],{"class":509,"line":559},[507,879,880],{},"import (\n",[507,882,883],{"class":509,"line":568},[507,884,885],{},"    \"bytes\"\n",[507,887,888],{"class":509,"line":574},[507,889,890],{},"    \"fmt\"\n",[507,892,893],{"class":509,"line":580},[507,894,895],{},"    \"io\"\n",[507,897,898],{"class":509,"line":586},[507,899,900],{},"    \"net\u002Fhttp\"\n",[507,902,903],{"class":509,"line":592},[507,904,905],{},"    \"os\"\n",[507,907,908],{"class":509,"line":598},[507,909,720],{},[507,911,912],{"class":509,"line":604},[507,913,638],{"emptyLinePlaceholder":637},[507,915,916],{"class":509,"line":676},[507,917,918],{},"func main() {\n",[507,920,921],{"class":509,"line":682},[507,922,923],{},"    payload := []byte(`{\n",[507,925,926],{"class":509,"line":688},[507,927,679],{},[507,929,930],{"class":509,"line":694},[507,931,685],{},[507,933,934],{"class":509,"line":700},[507,935,691],{},[507,937,938],{"class":509,"line":706},[507,939,697],{},[507,941,942],{"class":509,"line":712},[507,943,703],{},[507,945,946],{"class":509,"line":717},[507,947,948],{},"        \"generate_audio\": true\n",[507,950,951],{"class":509,"line":723},[507,952,953],{},"    }`)\n",[507,955,956],{"class":509,"line":729},[507,957,638],{"emptyLinePlaceholder":637},[507,959,960],{"class":509,"line":848},[507,961,962],{},"    req, err := http.NewRequest(\"POST\", \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\", bytes.NewReader(payload))\n",[507,964,966],{"class":509,"line":965},23,[507,967,968],{},"    if err != nil {\n",[507,970,972],{"class":509,"line":971},24,[507,973,974],{},"        panic(err)\n",[507,976,978],{"class":509,"line":977},25,[507,979,980],{},"    }\n",[507,982,984],{"class":509,"line":983},26,[507,985,986],{},"    req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"SILVAMUX_API_KEY\"))\n",[507,988,990],{"class":509,"line":989},27,[507,991,992],{},"    req.Header.Set(\"Content-Type\", \"application\u002Fjson\")\n",[507,994,996],{"class":509,"line":995},28,[507,997,638],{"emptyLinePlaceholder":637},[507,999,1001],{"class":509,"line":1000},29,[507,1002,1003],{},"    resp, err := http.DefaultClient.Do(req)\n",[507,1005,1007],{"class":509,"line":1006},30,[507,1008,968],{},[507,1010,1012],{"class":509,"line":1011},31,[507,1013,974],{},[507,1015,1017],{"class":509,"line":1016},32,[507,1018,980],{},[507,1020,1022],{"class":509,"line":1021},33,[507,1023,1024],{},"    defer resp.Body.Close()\n",[507,1026,1028],{"class":509,"line":1027},34,[507,1029,638],{"emptyLinePlaceholder":637},[507,1031,1033],{"class":509,"line":1032},35,[507,1034,1035],{},"    body, _ := io.ReadAll(resp.Body)\n",[507,1037,1039],{"class":509,"line":1038},36,[507,1040,1041],{},"    fmt.Println(string(body))\n",[507,1043,1045],{"class":509,"line":1044},37,[507,1046,1047],{},"}\n",[250,1049,1051],{"id":1050},"image-to-video","Image-to-Video",[212,1053,1054],{},"Image-to-video has two mutually exclusive scenarios: first frame, and first + last frames.",[478,1056,1058],{"id":1057},"first-frame","First Frame",[498,1060,1062],{"className":500,"code":1061,"language":502,"meta":503,"style":503},"curl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Ffirst.jpg\"}, \"role\": \"first_frame\"},\n      {\"type\": \"text\", \"text\": \"The camera slowly pulls back\"}\n    ]\n  }'\n",[216,1063,1064,1076,1088,1096,1102,1106,1111,1116,1121,1126],{"__ignoreMap":503},[507,1065,1066,1068,1070,1072,1074],{"class":509,"line":510},[507,1067,514],{"class":513},[507,1069,518],{"class":517},[507,1071,522],{"class":521},[507,1073,525],{"class":521},[507,1075,528],{"class":517},[507,1077,1078,1080,1082,1084,1086],{"class":509,"line":531},[507,1079,534],{"class":517},[507,1081,537],{"class":521},[507,1083,541],{"class":540},[507,1085,544],{"class":521},[507,1087,528],{"class":517},[507,1089,1090,1092,1094],{"class":509,"line":549},[507,1091,534],{"class":517},[507,1093,554],{"class":521},[507,1095,528],{"class":517},[507,1097,1098,1100],{"class":509,"line":559},[507,1099,562],{"class":517},[507,1101,565],{"class":521},[507,1103,1104],{"class":509,"line":568},[507,1105,571],{"class":521},[507,1107,1108],{"class":509,"line":574},[507,1109,1110],{"class":521},"    \"content\": [\n",[507,1112,1113],{"class":509,"line":580},[507,1114,1115],{"class":521},"      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Ffirst.jpg\"}, \"role\": \"first_frame\"},\n",[507,1117,1118],{"class":509,"line":586},[507,1119,1120],{"class":521},"      {\"type\": \"text\", \"text\": \"The camera slowly pulls back\"}\n",[507,1122,1123],{"class":509,"line":592},[507,1124,1125],{"class":521},"    ]\n",[507,1127,1128],{"class":509,"line":598},[507,1129,607],{"class":521},[478,1131,1133],{"id":1132},"first-and-last-frames","First and Last Frames",[498,1135,1137],{"className":500,"code":1136,"language":502,"meta":503,"style":503},"curl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Ffirst.jpg\"}, \"role\": \"first_frame\"},\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Flast.jpg\"}, \"role\": \"last_frame\"},\n      {\"type\": \"text\", \"text\": \"The scene transitions from day to night\"}\n    ]\n  }'\n",[216,1138,1139,1151,1163,1171,1177,1181,1185,1189,1194,1199,1203],{"__ignoreMap":503},[507,1140,1141,1143,1145,1147,1149],{"class":509,"line":510},[507,1142,514],{"class":513},[507,1144,518],{"class":517},[507,1146,522],{"class":521},[507,1148,525],{"class":521},[507,1150,528],{"class":517},[507,1152,1153,1155,1157,1159,1161],{"class":509,"line":531},[507,1154,534],{"class":517},[507,1156,537],{"class":521},[507,1158,541],{"class":540},[507,1160,544],{"class":521},[507,1162,528],{"class":517},[507,1164,1165,1167,1169],{"class":509,"line":549},[507,1166,534],{"class":517},[507,1168,554],{"class":521},[507,1170,528],{"class":517},[507,1172,1173,1175],{"class":509,"line":559},[507,1174,562],{"class":517},[507,1176,565],{"class":521},[507,1178,1179],{"class":509,"line":568},[507,1180,571],{"class":521},[507,1182,1183],{"class":509,"line":574},[507,1184,1110],{"class":521},[507,1186,1187],{"class":509,"line":580},[507,1188,1115],{"class":521},[507,1190,1191],{"class":509,"line":586},[507,1192,1193],{"class":521},"      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Flast.jpg\"}, \"role\": \"last_frame\"},\n",[507,1195,1196],{"class":509,"line":592},[507,1197,1198],{"class":521},"      {\"type\": \"text\", \"text\": \"The scene transitions from day to night\"}\n",[507,1200,1201],{"class":509,"line":598},[507,1202,1125],{"class":521},[507,1204,1205],{"class":509,"line":604},[507,1206,607],{"class":521},[250,1208,1210],{"id":1209},"multimodal-reference-video","Multimodal-Reference Video",[212,1212,1213],{},"Generate video from reference images (1–9) + reference videos (0–3) + reference audio (0–3) + an optional text prompt, supporting fresh generation, editing, and extension.",[498,1215,1217],{"className":500,"code":1216,"language":502,"meta":503,"style":503},"curl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"asset:\u002F\u002FAST-XXXX\"}, \"role\": \"reference_image\"},\n      {\"type\": \"text\", \"text\": \"Make the character in the frame dance\"}\n    ]\n  }'\n",[216,1218,1219,1231,1243,1251,1257,1261,1265,1270,1275,1279],{"__ignoreMap":503},[507,1220,1221,1223,1225,1227,1229],{"class":509,"line":510},[507,1222,514],{"class":513},[507,1224,518],{"class":517},[507,1226,522],{"class":521},[507,1228,525],{"class":521},[507,1230,528],{"class":517},[507,1232,1233,1235,1237,1239,1241],{"class":509,"line":531},[507,1234,534],{"class":517},[507,1236,537],{"class":521},[507,1238,541],{"class":540},[507,1240,544],{"class":521},[507,1242,528],{"class":517},[507,1244,1245,1247,1249],{"class":509,"line":549},[507,1246,534],{"class":517},[507,1248,554],{"class":521},[507,1250,528],{"class":517},[507,1252,1253,1255],{"class":509,"line":559},[507,1254,562],{"class":517},[507,1256,565],{"class":521},[507,1258,1259],{"class":509,"line":568},[507,1260,571],{"class":521},[507,1262,1263],{"class":509,"line":574},[507,1264,1110],{"class":521},[507,1266,1267],{"class":509,"line":580},[507,1268,1269],{"class":521},"      {\"type\": \"image_url\", \"image_url\": {\"url\": \"asset:\u002F\u002FAST-XXXX\"}, \"role\": \"reference_image\"},\n",[507,1271,1272],{"class":509,"line":586},[507,1273,1274],{"class":521},"      {\"type\": \"text\", \"text\": \"Make the character in the frame dance\"}\n",[507,1276,1277],{"class":509,"line":592},[507,1278,1125],{"class":521},[507,1280,1281],{"class":509,"line":598},[507,1282,607],{"class":521},[221,1284,1285],{},[212,1286,1287],{},"Audio cannot be the only input — include at least one reference video or image. The three image-to-video scenarios (first frame \u002F first + last frames \u002F multimodal reference) are mutually exclusive.",[250,1289,1291,1292,1294],{"id":1290},"the-content-field","The ",[216,1293,301],{}," Field",[478,1296,1298,1299,1301],{"id":1297},"text-text","Text (",[216,1300,312],{},")",[255,1303,1304,1315],{},[258,1305,1306],{},[261,1307,1308,1311,1313],{},[264,1309,1310],{},"Field",[264,1312,272],{},[264,1314,275],{},[277,1316,1317,1330],{},[261,1318,1319,1324,1326],{},[282,1320,1321],{},[216,1322,1323],{},"type",[282,1325,291],{},[282,1327,1328],{},[216,1329,312],{},[261,1331,1332,1336,1338],{},[282,1333,1334],{},[216,1335,312],{},[282,1337,291],{},[282,1339,1340],{},"Prompt, Chinese or English. Recommended ≤500 characters (Chinese) or ≤1000 words (English)",[478,1342,1344,1345,1301],{"id":1343},"image-image_url","Image (",[216,1346,316],{},[255,1348,1349,1359],{},[258,1350,1351],{},[261,1352,1353,1355,1357],{},[264,1354,1310],{},[264,1356,272],{},[264,1358,275],{},[277,1360,1361,1373,1392],{},[261,1362,1363,1367,1369],{},[282,1364,1365],{},[216,1366,1323],{},[282,1368,291],{},[282,1370,1371],{},[216,1372,316],{},[261,1374,1375,1380,1382],{},[282,1376,1377],{},[216,1378,1379],{},"image_url.url",[282,1381,291],{},[282,1383,1384,1385,1388,1389,1301],{},"Image URL, base64 data (",[216,1386,1387],{},"data:image\u002Fpng;base64,...","), or asset ID (",[216,1390,1391],{},"asset:\u002F\u002F\u003CASSET_ID>",[261,1393,1394,1399,1402],{},[282,1395,1396],{},[216,1397,1398],{},"role",[282,1400,1401],{},"Conditional",[282,1403,1404,313,1407,313,1410],{},[216,1405,1406],{},"first_frame",[216,1408,1409],{},"last_frame",[216,1411,1412],{},"reference_image",[212,1414,1415],{},"Image requirements: formats jpeg\u002Fpng\u002Fwebp\u002Fbmp\u002Ftiff\u002Fgif; aspect ratio (0.4, 2.5); dimensions 300–6000px; each ≤30MB.",[478,1417,1419,1420,1301],{"id":1418},"video-video_url","Video (",[216,1421,319],{},[255,1423,1424,1434],{},[258,1425,1426],{},[261,1427,1428,1430,1432],{},[264,1429,1310],{},[264,1431,272],{},[264,1433,275],{},[277,1435,1436,1448,1460],{},[261,1437,1438,1442,1444],{},[282,1439,1440],{},[216,1441,1323],{},[282,1443,291],{},[282,1445,1446],{},[216,1447,319],{},[261,1449,1450,1455,1457],{},[282,1451,1452],{},[216,1453,1454],{},"video_url.url",[282,1456,291],{},[282,1458,1459],{},"Video URL or asset ID",[261,1461,1462,1466,1468],{},[282,1463,1464],{},[216,1465,1398],{},[282,1467,1401],{},[282,1469,1470,1471,1474],{},"Only ",[216,1472,1473],{},"reference_video"," is currently supported",[212,1476,1477],{},"Video requirements: formats mp4\u002Fmov; resolutions 480p\u002F720p\u002F1080p; duration ≤15s, at most 3 reference videos totaling ≤15s; each ≤50MB; frame rate 4–60fps.",[478,1479,1481,1482,1301],{"id":1480},"audio-audio_url","Audio (",[216,1483,322],{},[212,1485,1486],{},"Audio cannot be the only input.",[255,1488,1489,1499],{},[258,1490,1491],{},[261,1492,1493,1495,1497],{},[264,1494,1310],{},[264,1496,272],{},[264,1498,275],{},[277,1500,1501,1513,1525],{},[261,1502,1503,1507,1509],{},[282,1504,1505],{},[216,1506,1323],{},[282,1508,291],{},[282,1510,1511],{},[216,1512,322],{},[261,1514,1515,1520,1522],{},[282,1516,1517],{},[216,1518,1519],{},"audio_url.url",[282,1521,291],{},[282,1523,1524],{},"Audio URL, base64 data, or asset ID",[261,1526,1527,1531,1533],{},[282,1528,1529],{},[216,1530,1398],{},[282,1532,1401],{},[282,1534,1470,1535,1474],{},[216,1536,1537],{},"reference_audio",[212,1539,1540],{},"Audio requirements: formats wav\u002Fmp3; duration ≤15s, at most 3 clips totaling ≤15s; each ≤15MB.",[250,1542,1544],{"id":1543},"response","Response",[212,1546,1547],{},"Creating a task returns a task ID:",[498,1549,1553],{"className":1550,"code":1551,"language":1552,"meta":503,"style":503},"language-json shiki shiki-themes github-light github-dark","{\n  \"id\": \"VTK-01JXXXXXXXXXXXXXX\",\n  \"model\": \"\u003CMODEL_CALL_NAME>\",\n  \"status\": \"queued\",\n  \"created_at\": \"2026-03-31T12:00:00Z\"\n}\n","json",[216,1554,1555,1560,1574,1586,1598,1608],{"__ignoreMap":503},[507,1556,1557],{"class":509,"line":510},[507,1558,1559],{"class":540},"{\n",[507,1561,1562,1565,1568,1571],{"class":509,"line":531},[507,1563,1564],{"class":517},"  \"id\"",[507,1566,1567],{"class":540},": ",[507,1569,1570],{"class":521},"\"VTK-01JXXXXXXXXXXXXXX\"",[507,1572,1573],{"class":540},",\n",[507,1575,1576,1579,1581,1584],{"class":509,"line":549},[507,1577,1578],{"class":517},"  \"model\"",[507,1580,1567],{"class":540},[507,1582,1583],{"class":521},"\"\u003CMODEL_CALL_NAME>\"",[507,1585,1573],{"class":540},[507,1587,1588,1591,1593,1596],{"class":509,"line":559},[507,1589,1590],{"class":517},"  \"status\"",[507,1592,1567],{"class":540},[507,1594,1595],{"class":521},"\"queued\"",[507,1597,1573],{"class":540},[507,1599,1600,1603,1605],{"class":509,"line":568},[507,1601,1602],{"class":517},"  \"created_at\"",[507,1604,1567],{"class":540},[507,1606,1607],{"class":521},"\"2026-03-31T12:00:00Z\"\n",[507,1609,1610],{"class":509,"line":574},[507,1611,1047],{"class":540},[250,1613,1615],{"id":1614},"querying-a-task","Querying a Task",[498,1617,1621],{"className":1618,"code":1620,"language":312},[1619],"language-text","GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F:id\n",[216,1622,1620],{"__ignoreMap":503},[483,1624],{"method":1625,"path":1626},"GET","\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}",[491,1628,1629,1656,1716,1775],{},[494,1630,1631],{"label":496},[498,1632,1634],{"className":500,"code":1633,"language":502,"meta":503,"style":503},"curl https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002FVTK-01JXXXXXXXXXXXXXX \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\"\n",[216,1635,1636,1645],{"__ignoreMap":503},[507,1637,1638,1640,1643],{"class":509,"line":510},[507,1639,514],{"class":513},[507,1641,1642],{"class":521}," https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002FVTK-01JXXXXXXXXXXXXXX",[507,1644,528],{"class":517},[507,1646,1647,1649,1651,1653],{"class":509,"line":531},[507,1648,534],{"class":517},[507,1650,537],{"class":521},[507,1652,541],{"class":540},[507,1654,1655],{"class":521},"\"\n",[494,1657,1658],{"label":610},[498,1659,1661],{"className":613,"code":1660,"language":615,"meta":503,"style":503},"# pip install requests\nimport os\nimport requests\n\ntask_id = \"VTK-01JXXXXXXXXXXXXXX\"\n\nresp = requests.get(\n    f\"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{task_id}\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SILVAMUX_API_KEY']}\"},\n)\nresp.raise_for_status()\nprint(resp.json())  # {\"id\": \"...\", \"status\": \"succeed\", \"result\": {...}}\n",[216,1662,1663,1667,1671,1675,1679,1684,1688,1693,1698,1703,1707,1711],{"__ignoreMap":503},[507,1664,1665],{"class":509,"line":510},[507,1666,622],{},[507,1668,1669],{"class":509,"line":531},[507,1670,627],{},[507,1672,1673],{"class":509,"line":549},[507,1674,632],{},[507,1676,1677],{"class":509,"line":559},[507,1678,638],{"emptyLinePlaceholder":637},[507,1680,1681],{"class":509,"line":568},[507,1682,1683],{},"task_id = \"VTK-01JXXXXXXXXXXXXXX\"\n",[507,1685,1686],{"class":509,"line":574},[507,1687,638],{"emptyLinePlaceholder":637},[507,1689,1690],{"class":509,"line":580},[507,1691,1692],{},"resp = requests.get(\n",[507,1694,1695],{"class":509,"line":586},[507,1696,1697],{},"    f\"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{task_id}\",\n",[507,1699,1700],{"class":509,"line":592},[507,1701,1702],{},"    headers={\"Authorization\": f\"Bearer {os.environ['SILVAMUX_API_KEY']}\"},\n",[507,1704,1705],{"class":509,"line":598},[507,1706,720],{},[507,1708,1709],{"class":509,"line":604},[507,1710,726],{},[507,1712,1713],{"class":509,"line":676},[507,1714,1715],{},"print(resp.json())  # {\"id\": \"...\", \"status\": \"succeed\", \"result\": {...}}\n",[494,1717,1718],{"label":735},[498,1719,1721],{"className":738,"code":1720,"language":740,"meta":503,"style":503},"\u002F\u002F Node 18+ (built-in fetch)\nconst taskId = \"VTK-01JXXXXXXXXXXXXXX\";\n\nconst resp = await fetch(\n  `https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F${taskId}`,\n  {\n    headers: { Authorization: `Bearer ${process.env.SILVAMUX_API_KEY}` },\n  },\n);\n\nconst task = await resp.json();\nconsole.log(task); \u002F\u002F { id: \"...\", status: \"succeed\", result: {...} }\n",[216,1722,1723,1727,1732,1736,1740,1745,1749,1754,1758,1762,1766,1770],{"__ignoreMap":503},[507,1724,1725],{"class":509,"line":510},[507,1726,747],{},[507,1728,1729],{"class":509,"line":531},[507,1730,1731],{},"const taskId = \"VTK-01JXXXXXXXXXXXXXX\";\n",[507,1733,1734],{"class":509,"line":549},[507,1735,638],{"emptyLinePlaceholder":637},[507,1737,1738],{"class":509,"line":559},[507,1739,752],{},[507,1741,1742],{"class":509,"line":568},[507,1743,1744],{},"  `https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F${taskId}`,\n",[507,1746,1747],{"class":509,"line":574},[507,1748,762],{},[507,1750,1751],{"class":509,"line":580},[507,1752,1753],{},"    headers: { Authorization: `Bearer ${process.env.SILVAMUX_API_KEY}` },\n",[507,1755,1756],{"class":509,"line":586},[507,1757,831],{},[507,1759,1760],{"class":509,"line":592},[507,1761,836],{},[507,1763,1764],{"class":509,"line":598},[507,1765,638],{"emptyLinePlaceholder":637},[507,1767,1768],{"class":509,"line":604},[507,1769,845],{},[507,1771,1772],{"class":509,"line":676},[507,1773,1774],{},"console.log(task); \u002F\u002F { id: \"...\", status: \"succeed\", result: {...} }\n",[494,1776,1777],{"label":854},[498,1778,1780],{"className":857,"code":1779,"language":859,"meta":503,"style":503},"\u002F\u002F Standard library only\npackage main\n\nimport (\n    \"fmt\"\n    \"io\"\n    \"net\u002Fhttp\"\n    \"os\"\n)\n\nfunc main() {\n    taskID := \"VTK-01JXXXXXXXXXXXXXX\"\n\n    req, err := http.NewRequest(\"GET\", \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F\"+taskID, nil)\n    if err != nil {\n        panic(err)\n    }\n    req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"SILVAMUX_API_KEY\"))\n\n    resp, err := http.DefaultClient.Do(req)\n    if err != nil {\n        panic(err)\n    }\n    defer resp.Body.Close()\n\n    body, _ := io.ReadAll(resp.Body)\n    fmt.Println(string(body))\n}\n",[216,1781,1782,1786,1790,1794,1798,1802,1806,1810,1814,1818,1822,1826,1831,1835,1840,1844,1848,1852,1856,1860,1864,1868,1872,1876,1880,1884,1888,1892],{"__ignoreMap":503},[507,1783,1784],{"class":509,"line":510},[507,1785,866],{},[507,1787,1788],{"class":509,"line":531},[507,1789,871],{},[507,1791,1792],{"class":509,"line":549},[507,1793,638],{"emptyLinePlaceholder":637},[507,1795,1796],{"class":509,"line":559},[507,1797,880],{},[507,1799,1800],{"class":509,"line":568},[507,1801,890],{},[507,1803,1804],{"class":509,"line":574},[507,1805,895],{},[507,1807,1808],{"class":509,"line":580},[507,1809,900],{},[507,1811,1812],{"class":509,"line":586},[507,1813,905],{},[507,1815,1816],{"class":509,"line":592},[507,1817,720],{},[507,1819,1820],{"class":509,"line":598},[507,1821,638],{"emptyLinePlaceholder":637},[507,1823,1824],{"class":509,"line":604},[507,1825,918],{},[507,1827,1828],{"class":509,"line":676},[507,1829,1830],{},"    taskID := \"VTK-01JXXXXXXXXXXXXXX\"\n",[507,1832,1833],{"class":509,"line":682},[507,1834,638],{"emptyLinePlaceholder":637},[507,1836,1837],{"class":509,"line":688},[507,1838,1839],{},"    req, err := http.NewRequest(\"GET\", \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F\"+taskID, nil)\n",[507,1841,1842],{"class":509,"line":694},[507,1843,968],{},[507,1845,1846],{"class":509,"line":700},[507,1847,974],{},[507,1849,1850],{"class":509,"line":706},[507,1851,980],{},[507,1853,1854],{"class":509,"line":712},[507,1855,986],{},[507,1857,1858],{"class":509,"line":717},[507,1859,638],{"emptyLinePlaceholder":637},[507,1861,1862],{"class":509,"line":723},[507,1863,1003],{},[507,1865,1866],{"class":509,"line":729},[507,1867,968],{},[507,1869,1870],{"class":509,"line":848},[507,1871,974],{},[507,1873,1874],{"class":509,"line":965},[507,1875,980],{},[507,1877,1878],{"class":509,"line":971},[507,1879,1024],{},[507,1881,1882],{"class":509,"line":977},[507,1883,638],{"emptyLinePlaceholder":637},[507,1885,1886],{"class":509,"line":983},[507,1887,1035],{},[507,1889,1890],{"class":509,"line":989},[507,1891,1041],{},[507,1893,1894],{"class":509,"line":995},[507,1895,1047],{},[212,1897,1898],{},"Successful response:",[498,1900,1902],{"className":1550,"code":1901,"language":1552,"meta":503,"style":503},"{\n  \"id\": \"VTK-01JXXXXXXXXXXXXXX\",\n  \"status\": \"succeed\",\n  \"result\": {\"video_url\": \"https:\u002F\u002F...\"}\n}\n",[216,1903,1904,1908,1918,1929,1947],{"__ignoreMap":503},[507,1905,1906],{"class":509,"line":510},[507,1907,1559],{"class":540},[507,1909,1910,1912,1914,1916],{"class":509,"line":531},[507,1911,1564],{"class":517},[507,1913,1567],{"class":540},[507,1915,1570],{"class":521},[507,1917,1573],{"class":540},[507,1919,1920,1922,1924,1927],{"class":509,"line":549},[507,1921,1590],{"class":517},[507,1923,1567],{"class":540},[507,1925,1926],{"class":521},"\"succeed\"",[507,1928,1573],{"class":540},[507,1930,1931,1934,1937,1940,1942,1945],{"class":509,"line":559},[507,1932,1933],{"class":517},"  \"result\"",[507,1935,1936],{"class":540},": {",[507,1938,1939],{"class":517},"\"video_url\"",[507,1941,1567],{"class":540},[507,1943,1944],{"class":521},"\"https:\u002F\u002F...\"",[507,1946,1047],{"class":540},[507,1948,1949],{"class":509,"line":568},[507,1950,1047],{"class":540},[212,1952,1953,1954,1957,1958,1957,1961,341,1964,341,1967,341,1970,248],{},"Task statuses: ",[216,1955,1956],{},"queued"," → ",[216,1959,1960],{},"running",[216,1962,1963],{},"succeed",[216,1965,1966],{},"failed",[216,1968,1969],{},"cancelled",[216,1971,1972],{},"expired",[250,1974,1976],{"id":1975},"task-list","Task List",[498,1978,1981],{"className":1979,"code":1980,"language":312},[1619],"GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\n",[216,1982,1980],{"__ignoreMap":503},[483,1984],{"method":1625,"path":476},[250,1986,1988],{"id":1987},"canceling-a-task","Canceling a Task",[498,1990,1993],{"className":1991,"code":1992,"language":312},[1619],"DELETE \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F:id\n",[216,1994,1992],{"__ignoreMap":503},[483,1996],{"method":1997,"path":1626},"DELETE",[212,1999,1470,2000,2002],{},[216,2001,1956],{}," tasks can be canceled.",[250,2004,2006],{"id":2005},"generation-showcase","Generation Showcase",[212,2008,2009],{},"Multimodal-reference video (background image + costume three-view sheet + face close-up + prompt):",[212,2011,2012],{},[2013,2014],"img",{"alt":503,"src":2015},"https:\u002F\u002Fsilvamux-docs.tingyutech.com\u002Fcases\u002F1a.webp",[212,2017,2018],{},"Prompt:",[221,2020,2021],{},[212,2022,2023],{},"Background reference image 1. A pale flash crosses the frame; the young nobleman (costume reference image 2; likeness strictly follows image 3) spins and snaps open a folding fan, gilded blades springing out as the ink-bamboo fan face flutters, a slow drum booming once. Close-up: the fan blade parries the villain's long saber, steel on steel; the nobleman's lips curl into a sly smile while his eyes stay cold, fingertips idly twirling the fan handle. Slow motion: he leans low and slides sideways, the fan blade grazing the villain's leg and leaving a faint mark, his robe hem sweeping the ground, jade hairpin swaying. Quick cut: he whirls and throws the fan — the blade shoots past the villain's neck and buries itself in the wooden pillar behind; the villain freezes, not daring to move. Reversal: a palm wind rushes in from behind; he spins to catch it, and as fingertips touch he borrows the force to leap back while the fan blade flies back to his hand from the pillar, eyes alert. Slow-motion highlight: fan half closed, blade resting by his lips, he glances back over his shoulder, hair lifted by the wind, brow raised with a trace of defiance. Pull-back: the nobleman stands on the stone terrace of a courtyard, lightly waving the fan as the camera pulls away, masked figures with curved sabers emerging from all four corners, closing in. Freeze frame: the fan half folded, gilded edge gleaming, he steps forward as the frame darkens, leaving only his silhouette and the blade's glint, sound cut to silence. SFX: crisp fan snaps + blade-wind hiss + slow drum hits (steady).",[212,2025,2026],{},[2027,2028],"video",{"style":2029,"src":2030,"controls":637},"max-width: 480px; margin: 0 auto;","https:\u002F\u002Fsilvamux-docs.tingyutech.com\u002Fcases\u002F1a-h265.mp4",[250,2032,2034],{"id":2033},"available-models","Available Models",[212,2036,2037,2038,2041],{},"The 3D sample model currently discoverable in the Model Plaza: ",[216,2039,2040],{},"doubao-seed3d-2.0",". There are no publicly discoverable call names for video models yet.",[221,2043,2044],{},[212,2045,2046,2047,2051],{},"The full model catalog is on the ",[245,2048,2050],{"href":2049},"\u002Fen\u002Fmodels","Model Plaza",". Some models require permission flags configured by administrators.",[250,2053,27],{"id":2054},"billing",[212,2056,2057,2058,248],{},"Video generation is billed by model and video parameters (resolution, duration, audio); check current unit prices on the corresponding model detail page in the ",[245,2059,2050],{"href":2049},[250,2061,2063],{"id":2062},"differences-from-the-volcengine-official-api","Differences from the Volcengine Official API",[212,2065,2066],{},"SilvaMux's Seedance API resembles the Volcengine official API field-wise (same models), but:",[2068,2069,2070,2081,2089,2094],"ul",{},[2071,2072,2073,2076,2077,2080],"li",{},[444,2074,2075],{},"Authentication",": the platform API key (",[216,2078,2079],{},"sk_live_","), not Volcengine AK\u002FSK.",[2071,2082,2083,1567,2086,2088],{},[444,2084,2085],{},"Base URL",[216,2087,468],{}," (the platform domain), not the Volcengine Ark domain.",[2071,2090,2091,2093],{},[444,2092,218],{},": the real call name shown by the Model Plaza or the model list, not a Volcengine endpoint ID.",[2071,2095,2096,2099,2100,2103],{},[444,2097,2098],{},"Task queries",": poll ",[216,2101,2102],{},"GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F:id"," for task status.",[250,2105,2107],{"id":2106},"in-this-section","In this section",[2068,2109,2110,2116,2122,2128],{},[2071,2111,2112,2115],{},[245,2113,158],{"href":2114},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fassets"," — proprietary asset APIs and the Volcengine-compatible asset APIs.",[2071,2117,2118,2121],{},[245,2119,162],{"href":2120},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fmaterial-guide"," — preparing and choosing image, video, and audio assets.",[2071,2123,2124,2127],{},[245,2125,166],{"href":2126},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fliveness-verification"," — real-person liveness verification and real-person video generation.",[2071,2129,2130,2133],{},[245,2131,170],{"href":2132},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fomni-human"," — OmniHuman digital-human video generation.",[2135,2136,2137],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}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 pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}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":503,"searchDepth":531,"depth":531,"links":2139},[2140,2143,2144,2148,2149,2160,2161,2162,2163,2164,2165,2166,2167,2168],{"id":252,"depth":531,"text":253,"children":2141},[2142],{"id":480,"depth":549,"text":481},{"id":488,"depth":531,"text":489},{"id":1050,"depth":531,"text":1051,"children":2145},[2146,2147],{"id":1057,"depth":549,"text":1058},{"id":1132,"depth":549,"text":1133},{"id":1209,"depth":531,"text":1210},{"id":1290,"depth":531,"text":2150,"children":2151},"The content Field",[2152,2154,2156,2158],{"id":1297,"depth":549,"text":2153},"Text (text)",{"id":1343,"depth":549,"text":2155},"Image (image_url)",{"id":1418,"depth":549,"text":2157},"Video (video_url)",{"id":1480,"depth":549,"text":2159},"Audio (audio_url)",{"id":1543,"depth":531,"text":1544},{"id":1614,"depth":531,"text":1615},{"id":1975,"depth":531,"text":1976},{"id":1987,"depth":531,"text":1988},{"id":2005,"depth":531,"text":2006},{"id":2033,"depth":531,"text":2034},{"id":2054,"depth":531,"text":27},{"id":2062,"depth":531,"text":2063},{"id":2106,"depth":531,"text":2107},"Create, query, and manage video or 3D asynchronous generation tasks.","md",{},"---\ntitle: Video Generation API\ndescription: Create, query, and manage video or 3D asynchronous generation tasks.\n---\n\n# Video Generation API\n\nVideo generation uses an asynchronous task model: create a task → poll the status → read the result. Video and 3D share the same task API and are routed by the `model` field.\n\n> Replace `\u003CMODEL_CALL_NAME>` in the examples below with a real call name published on the Model Plaza.\n\n> Video generation uses the platform's own API + API key, not Volcengine AK\u002FSK signing. The Volcengine-compatible APIs are for asset management only.\n\n> The MiniMax H3 series uses a separate native API (`\u002Fapi\u002Fv2`, billed per second); see [MiniMax H3 Video Generation](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fminimax).\n\n## Key Parameters\n\n| Parameter | Type | Required | Description |\n| --- | --- | --- | --- |\n| `model` | string | Yes | Model call name; must come from the Model Plaza or the model list |\n| `content` | array | Yes | Input content; supports `text`, `image_url`, `video_url`, `audio_url` |\n| `resolution` | string | No | Model pass-through field; common values `480p` \u002F `720p` \u002F `1080p`, per model details |\n| `ratio` | string | No | Model pass-through field; common values `16:9` \u002F `9:16` \u002F `4:3` \u002F `3:4` \u002F `1:1` \u002F `21:9` |\n| `duration` | integer | No | Model pass-through field; duration range per model details |\n| `frames` | integer | No | Model pass-through field; whether it can replace `duration` per model details |\n| `generate_audio` | boolean | No | Model pass-through field; audio support per model details |\n| `tools` | array | No | Model pass-through field; supported tools per model details |\n\n**Creating tasks:** `Authorization: Bearer \u003CAPI_KEY>` or `x-api-key: \u003CAPI_KEY>`\n\n**Querying and canceling tasks:** `Authorization: Bearer \u003CAPI_KEY>`\n\n> `https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3` is the `\u002Fapi\u002Fv3` path under the access domain, routing to `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`.\n\n### Creating a Task\n\n::api-endpoint{path=\"\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" method=\"POST\"}\n::\n\n## Text-to-Video\n\n::code-tabs\n:::code-tab{label=\"cURL\"}\n```bash\ncurl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n    \"resolution\": \"720p\",\n    \"ratio\": \"16:9\",\n    \"duration\": 5,\n    \"generate_audio\": true\n  }'\n```\n:::\n:::code-tab{label=\"Python\"}\n```python\n# pip install requests\nimport os\nimport requests\n\nresp = requests.post(\n    \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SILVAMUX_API_KEY']}\",\n        \"Content-Type\": \"application\u002Fjson\",\n    },\n    json={\n        \"model\": \"\u003CMODEL_CALL_NAME>\",\n        \"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n        \"resolution\": \"720p\",\n        \"ratio\": \"16:9\",\n        \"duration\": 5,\n        \"generate_audio\": True,\n    },\n)\nresp.raise_for_status()\nprint(resp.json())  # {\"id\": \"VTK-...\", \"status\": \"queued\", ...}\n```\n:::\n:::code-tab{label=\"JavaScript\"}\n```javascript\n\u002F\u002F Node 18+ (built-in fetch)\nconst resp = await fetch(\n  \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\",\n  {\n    method: \"POST\",\n    headers: {\n      Authorization: `Bearer ${process.env.SILVAMUX_API_KEY}`,\n      \"Content-Type\": \"application\u002Fjson\",\n    },\n    body: JSON.stringify({\n      model: \"\u003CMODEL_CALL_NAME>\",\n      content: [{ type: \"text\", text: \"A golden retriever running on the beach\" }],\n      resolution: \"720p\",\n      ratio: \"16:9\",\n      duration: 5,\n      generate_audio: true,\n    }),\n  },\n);\n\nconst task = await resp.json();\nconsole.log(task); \u002F\u002F { id: \"VTK-...\", status: \"queued\", ... }\n```\n:::\n:::code-tab{label=\"Go\"}\n```go\n\u002F\u002F Standard library only\npackage main\n\nimport (\n\t\"bytes\"\n\t\"fmt\"\n\t\"io\"\n\t\"net\u002Fhttp\"\n\t\"os\"\n)\n\nfunc main() {\n\tpayload := []byte(`{\n\t\t\"model\": \"\u003CMODEL_CALL_NAME>\",\n\t\t\"content\": [{\"type\": \"text\", \"text\": \"A golden retriever running on the beach\"}],\n\t\t\"resolution\": \"720p\",\n\t\t\"ratio\": \"16:9\",\n\t\t\"duration\": 5,\n\t\t\"generate_audio\": true\n\t}`)\n\n\treq, err := http.NewRequest(\"POST\", \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\", bytes.NewReader(payload))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treq.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"SILVAMUX_API_KEY\"))\n\treq.Header.Set(\"Content-Type\", \"application\u002Fjson\")\n\n\tresp, err := http.DefaultClient.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer resp.Body.Close()\n\n\tbody, _ := io.ReadAll(resp.Body)\n\tfmt.Println(string(body))\n}\n```\n:::\n::\n\n## Image-to-Video\n\nImage-to-video has two mutually exclusive scenarios: first frame, and first + last frames.\n\n### First Frame\n\n```bash\ncurl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Ffirst.jpg\"}, \"role\": \"first_frame\"},\n      {\"type\": \"text\", \"text\": \"The camera slowly pulls back\"}\n    ]\n  }'\n```\n\n### First and Last Frames\n\n```bash\ncurl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Ffirst.jpg\"}, \"role\": \"first_frame\"},\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Flast.jpg\"}, \"role\": \"last_frame\"},\n      {\"type\": \"text\", \"text\": \"The scene transitions from day to night\"}\n    ]\n  }'\n```\n\n## Multimodal-Reference Video\n\nGenerate video from reference images (1–9) + reference videos (0–3) + reference audio (0–3) + an optional text prompt, supporting fresh generation, editing, and extension.\n\n```bash\ncurl -X POST https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"\u003CMODEL_CALL_NAME>\",\n    \"content\": [\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"asset:\u002F\u002FAST-XXXX\"}, \"role\": \"reference_image\"},\n      {\"type\": \"text\", \"text\": \"Make the character in the frame dance\"}\n    ]\n  }'\n```\n\n> Audio cannot be the only input — include at least one reference video or image. The three image-to-video scenarios (first frame \u002F first + last frames \u002F multimodal reference) are mutually exclusive.\n\n## The `content` Field\n\n### Text (`text`)\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `type` | Yes | `text` |\n| `text` | Yes | Prompt, Chinese or English. Recommended ≤500 characters (Chinese) or ≤1000 words (English) |\n\n### Image (`image_url`)\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `type` | Yes | `image_url` |\n| `image_url.url` | Yes | Image URL, base64 data (`data:image\u002Fpng;base64,...`), or asset ID (`asset:\u002F\u002F\u003CASSET_ID>`) |\n| `role` | Conditional | `first_frame`, `last_frame`, `reference_image` |\n\nImage requirements: formats jpeg\u002Fpng\u002Fwebp\u002Fbmp\u002Ftiff\u002Fgif; aspect ratio (0.4, 2.5); dimensions 300–6000px; each ≤30MB.\n\n### Video (`video_url`)\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `type` | Yes | `video_url` |\n| `video_url.url` | Yes | Video URL or asset ID |\n| `role` | Conditional | Only `reference_video` is currently supported |\n\nVideo requirements: formats mp4\u002Fmov; resolutions 480p\u002F720p\u002F1080p; duration ≤15s, at most 3 reference videos totaling ≤15s; each ≤50MB; frame rate 4–60fps.\n\n### Audio (`audio_url`)\n\nAudio cannot be the only input.\n\n| Field | Required | Description |\n| --- | --- | --- |\n| `type` | Yes | `audio_url` |\n| `audio_url.url` | Yes | Audio URL, base64 data, or asset ID |\n| `role` | Conditional | Only `reference_audio` is currently supported |\n\nAudio requirements: formats wav\u002Fmp3; duration ≤15s, at most 3 clips totaling ≤15s; each ≤15MB.\n\n## Response\n\nCreating a task returns a task ID:\n\n```json\n{\n  \"id\": \"VTK-01JXXXXXXXXXXXXXX\",\n  \"model\": \"\u003CMODEL_CALL_NAME>\",\n  \"status\": \"queued\",\n  \"created_at\": \"2026-03-31T12:00:00Z\"\n}\n```\n\n## Querying a Task\n\n```\nGET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F:id\n```\n\n::api-endpoint{path=\"\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}\" method=\"GET\"}\n::\n\n::code-tabs\n:::code-tab{label=\"cURL\"}\n```bash\ncurl https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002FVTK-01JXXXXXXXXXXXXXX \\\n  -H \"Authorization: Bearer $SILVAMUX_API_KEY\"\n```\n:::\n:::code-tab{label=\"Python\"}\n```python\n# pip install requests\nimport os\nimport requests\n\ntask_id = \"VTK-01JXXXXXXXXXXXXXX\"\n\nresp = requests.get(\n    f\"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{task_id}\",\n    headers={\"Authorization\": f\"Bearer {os.environ['SILVAMUX_API_KEY']}\"},\n)\nresp.raise_for_status()\nprint(resp.json())  # {\"id\": \"...\", \"status\": \"succeed\", \"result\": {...}}\n```\n:::\n:::code-tab{label=\"JavaScript\"}\n```javascript\n\u002F\u002F Node 18+ (built-in fetch)\nconst taskId = \"VTK-01JXXXXXXXXXXXXXX\";\n\nconst resp = await fetch(\n  `https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F${taskId}`,\n  {\n    headers: { Authorization: `Bearer ${process.env.SILVAMUX_API_KEY}` },\n  },\n);\n\nconst task = await resp.json();\nconsole.log(task); \u002F\u002F { id: \"...\", status: \"succeed\", result: {...} }\n```\n:::\n:::code-tab{label=\"Go\"}\n```go\n\u002F\u002F Standard library only\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"net\u002Fhttp\"\n\t\"os\"\n)\n\nfunc main() {\n\ttaskID := \"VTK-01JXXXXXXXXXXXXXX\"\n\n\treq, err := http.NewRequest(\"GET\", \"https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F\"+taskID, nil)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treq.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"SILVAMUX_API_KEY\"))\n\n\tresp, err := http.DefaultClient.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer resp.Body.Close()\n\n\tbody, _ := io.ReadAll(resp.Body)\n\tfmt.Println(string(body))\n}\n```\n:::\n::\n\nSuccessful response:\n\n```json\n{\n  \"id\": \"VTK-01JXXXXXXXXXXXXXX\",\n  \"status\": \"succeed\",\n  \"result\": {\"video_url\": \"https:\u002F\u002F...\"}\n}\n```\n\nTask statuses: `queued` → `running` → `succeed` \u002F `failed` \u002F `cancelled` \u002F `expired`.\n\n## Task List\n\n```\nGET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\n```\n\n::api-endpoint{path=\"\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" method=\"GET\"}\n::\n\n## Canceling a Task\n\n```\nDELETE \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F:id\n```\n\n::api-endpoint{path=\"\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}\" method=\"DELETE\"}\n::\n\nOnly `queued` tasks can be canceled.\n\n## Generation Showcase\n\nMultimodal-reference video (background image + costume three-view sheet + face close-up + prompt):\n\n![](https:\u002F\u002Fsilvamux-docs.tingyutech.com\u002Fcases\u002F1a.webp)\n\nPrompt:\n\n> Background reference image 1. A pale flash crosses the frame; the young nobleman (costume reference image 2; likeness strictly follows image 3) spins and snaps open a folding fan, gilded blades springing out as the ink-bamboo fan face flutters, a slow drum booming once. Close-up: the fan blade parries the villain's long saber, steel on steel; the nobleman's lips curl into a sly smile while his eyes stay cold, fingertips idly twirling the fan handle. Slow motion: he leans low and slides sideways, the fan blade grazing the villain's leg and leaving a faint mark, his robe hem sweeping the ground, jade hairpin swaying. Quick cut: he whirls and throws the fan — the blade shoots past the villain's neck and buries itself in the wooden pillar behind; the villain freezes, not daring to move. Reversal: a palm wind rushes in from behind; he spins to catch it, and as fingertips touch he borrows the force to leap back while the fan blade flies back to his hand from the pillar, eyes alert. Slow-motion highlight: fan half closed, blade resting by his lips, he glances back over his shoulder, hair lifted by the wind, brow raised with a trace of defiance. Pull-back: the nobleman stands on the stone terrace of a courtyard, lightly waving the fan as the camera pulls away, masked figures with curved sabers emerging from all four corners, closing in. Freeze frame: the fan half folded, gilded edge gleaming, he steps forward as the frame darkens, leaving only his silhouette and the blade's glint, sound cut to silence. SFX: crisp fan snaps + blade-wind hiss + slow drum hits (steady).\n\n\u003Cvideo style=\"max-width: 480px; margin: 0 auto;\" src=\"https:\u002F\u002Fsilvamux-docs.tingyutech.com\u002Fcases\u002F1a-h265.mp4\" controls>\u003C\u002Fvideo>\n\n## Available Models\n\nThe 3D sample model currently discoverable in the Model Plaza: `doubao-seed3d-2.0`. There are no publicly discoverable call names for video models yet.\n\n> The full model catalog is on the [Model Plaza](\u002Fen\u002Fmodels). Some models require permission flags configured by administrators.\n\n## Billing\n\nVideo generation is billed by model and video parameters (resolution, duration, audio); check current unit prices on the corresponding model detail page in the [Model Plaza](\u002Fen\u002Fmodels).\n\n## Differences from the Volcengine Official API\n\nSilvaMux's Seedance API resembles the Volcengine official API field-wise (same models), but:\n\n- **Authentication**: the platform API key (`sk_live_`), not Volcengine AK\u002FSK.\n- **Base URL**: `https:\u002F\u002Fsilvamux.io\u002Fapi\u002Fv3` (the platform domain), not the Volcengine Ark domain.\n- **model**: the real call name shown by the Model Plaza or the model list, not a Volcengine endpoint ID.\n- **Task queries**: poll `GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F:id` for task status.\n\n## In this section\n\n- [Asset Management](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fassets) — proprietary asset APIs and the Volcengine-compatible asset APIs.\n- [Asset Selection Guide](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fmaterial-guide) — preparing and choosing image, video, and audio assets.\n- [Liveness Verification](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fliveness-verification) — real-person liveness verification and real-person video generation.\n- [OmniHuman 1.5](\u002Fen\u002Fdocs\u002Fmodels\u002Fvideo\u002Fomni-human) — OmniHuman digital-human video generation.\n",[],{"title":154,"description":2169},"5FZqcFnSMLDQH5Em3FxOtyXl-3gEPan1JpylQCjZBOY",{"found":637,"operationId":2177,"summary":2178,"description":503,"method":485,"path":476,"publiclyDiscoverable":637,"security":2179,"parameters":2183,"requestBody":2184,"responses":2195},"createContentGenerationTask","创建任务",{"schemes":2180,"optional":25},[2181,2182],"BearerAuth","ApiKeyAuth",[],{"present":637,"required":637,"description":503,"contentType":2185,"type":2186,"fields":2187,"variants":2194},"application\u002Fjson","ContentTaskRequest",[2188,2191,2193],{"name":2189,"type":2190,"required":25,"description":503},"callback_url","string (uri)",{"name":301,"type":2192,"required":25,"description":503},"array\u003CFreeFormObject>",{"name":218,"type":288,"required":637,"description":503},[],[2196,2220],{"status":2197,"description":2198,"contentType":2185,"type":2199,"fields":2200},"200","任务创建成功。","ContentTask",[2201,2203,2207,2209,2211,2214,2215,2218],{"name":301,"type":2202,"required":25,"description":503},"FreeFormObject",{"name":2204,"type":2205,"required":25,"description":2206},"created_at","string (date-time) | integer (int64)","API 版本 2026-01-01 返回 RFC3339；2026-06-01 返回 Unix 秒。",{"name":2208,"type":2202,"required":25,"description":503},"error",{"name":2210,"type":288,"required":637,"description":503},"id",{"name":2212,"type":2213,"required":25,"description":503},"kind","string (video | 3d)",{"name":218,"type":288,"required":25,"description":503},{"name":2216,"type":2217,"required":637,"description":503},"status","ContentTaskStatus",{"name":2219,"type":2205,"required":25,"description":2206},"updated_at",{"status":2221,"description":2222,"contentType":2185,"type":2223,"fields":2224},"default","Volcengine 兼容错误。","VolcengineError",[2225],{"name":2208,"type":2202,"required":25,"description":503},{"found":637,"operationId":2227,"summary":2228,"description":503,"method":1625,"path":1626,"publiclyDiscoverable":637,"security":2229,"parameters":2231,"requestBody":2234,"responses":2238},"getContentGenerationTask","查询任务",{"schemes":2230,"optional":25},[2181],[2232],{"name":2210,"type":2233,"required":637,"description":503},"string · path",{"present":25,"required":25,"description":503,"contentType":503,"type":2235,"fields":2236,"variants":2237},"any",[],[],[2239,2250],{"status":2197,"description":2240,"contentType":2185,"type":2199,"fields":2241},"任务详情。",[2242,2243,2244,2245,2246,2247,2248,2249],{"name":301,"type":2202,"required":25,"description":503},{"name":2204,"type":2205,"required":25,"description":2206},{"name":2208,"type":2202,"required":25,"description":503},{"name":2210,"type":288,"required":637,"description":503},{"name":2212,"type":2213,"required":25,"description":503},{"name":218,"type":288,"required":25,"description":503},{"name":2216,"type":2217,"required":637,"description":503},{"name":2219,"type":2205,"required":25,"description":2206},{"status":2221,"description":2251,"contentType":2185,"type":2252,"fields":2253},"OpenAI 兼容错误。","OpenAIError",[2254,2256,2259,2261],{"name":2208,"type":2255,"required":637,"description":503},"object",{"name":2257,"type":2258,"required":25,"description":503},"error.code","string | integer",{"name":2260,"type":288,"required":637,"description":503},"error.message",{"name":2262,"type":288,"required":25,"description":503},"error.type",{"found":637,"operationId":2264,"summary":2265,"description":503,"method":1625,"path":476,"publiclyDiscoverable":637,"security":2266,"parameters":2268,"requestBody":2286,"responses":2289},"listContentGenerationTasks","任务列表",{"schemes":2267,"optional":25},[2181],[2269,2272,2274,2277,2280,2283],{"name":2270,"type":2271,"required":25,"description":503},"page_num","integer · query",{"name":2273,"type":2271,"required":25,"description":503},"page_size",{"name":2275,"type":2276,"required":25,"description":503},"filter.status","ContentTaskStatus · query",{"name":2278,"type":2279,"required":25,"description":503},"filter.model","string · query",{"name":2281,"type":2282,"required":25,"description":503},"filter.kind","string (video | 3d) · query",{"name":2284,"type":2285,"required":25,"description":503},"filter.task_ids","array\u003Cstring> · query",{"present":25,"required":25,"description":503,"contentType":503,"type":2235,"fields":2287,"variants":2288},[],[],[2290,2315],{"status":2197,"description":2291,"contentType":2185,"type":2255,"fields":2292},"任务列表。",[2293,2296,2298,2300,2302,2304,2306,2308,2310,2312],{"name":2294,"type":2295,"required":637,"description":503},"items","array\u003CContentTask>",{"name":2297,"type":2202,"required":25,"description":503},"items.content",{"name":2299,"type":2205,"required":25,"description":2206},"items.created_at",{"name":2301,"type":2202,"required":25,"description":503},"items.error",{"name":2303,"type":288,"required":637,"description":503},"items.id",{"name":2305,"type":2213,"required":25,"description":503},"items.kind",{"name":2307,"type":288,"required":25,"description":503},"items.model",{"name":2309,"type":2217,"required":637,"description":503},"items.status",{"name":2311,"type":2205,"required":25,"description":2206},"items.updated_at",{"name":2313,"type":2314,"required":637,"description":503},"total","integer (int64)",{"status":2221,"description":2251,"contentType":2185,"type":2252,"fields":2316},[2317,2318,2319,2320],{"name":2208,"type":2255,"required":637,"description":503},{"name":2257,"type":2258,"required":25,"description":503},{"name":2260,"type":288,"required":637,"description":503},{"name":2262,"type":288,"required":25,"description":503},{"found":637,"operationId":2322,"summary":2323,"description":503,"method":1997,"path":1626,"publiclyDiscoverable":637,"security":2324,"parameters":2326,"requestBody":2328,"responses":2331},"cancelContentGenerationTask","取消任务",{"schemes":2325,"optional":25},[2181],[2327],{"name":2210,"type":2233,"required":637,"description":503},{"present":25,"required":25,"description":503,"contentType":503,"type":2235,"fields":2329,"variants":2330},[],[],[2332,2338,2345],{"status":2197,"description":2333,"contentType":2185,"type":2255,"fields":2334},"任务已取消。",[2335,2336],{"name":2210,"type":288,"required":637,"description":503},{"name":2216,"type":2337,"required":637,"description":503},"string (cancelled)",{"status":2339,"description":2251,"contentType":2185,"type":2252,"fields":2340},"409",[2341,2342,2343,2344],{"name":2208,"type":2255,"required":637,"description":503},{"name":2257,"type":2258,"required":25,"description":503},{"name":2260,"type":288,"required":637,"description":503},{"name":2262,"type":288,"required":25,"description":503},{"status":2221,"description":2251,"contentType":2185,"type":2252,"fields":2346},[2347,2348,2349,2350],{"name":2208,"type":2255,"required":637,"description":503},{"name":2257,"type":2258,"required":25,"description":503},{"name":2260,"type":288,"required":637,"description":503},{"name":2262,"type":288,"required":25,"description":503}]