[{"data":1,"prerenderedAt":602},["ShallowReactive",2],{"docs-index-en-US":3,"doc-en-US-seedance-2-5":547},{"docs":4,"seo":342},[5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,72,75,78,81,84,88,91,94,97,100,104,107,110,114,117,120,123,126,130,133,137,140,143,146,150,154,158,162,165,168,171,174,177,181,184,187,190,193,196,199,203,206,209,212,215,218,221,224,227,230,234,238,241,244,248,251,254,257,260,264,268,272,276,280,284,288,292,295,298,301,304,307,310,314,318,322,326,330,334,338],{"slug":6,"title":7,"group":8},"llm-chat","Model (LLM)Quick Start## Basic Information","Text Models \u002F Quick Start",{"slug":10,"title":11,"group":12},"llm-deepseek","DeepSeek localized example text## Basic Information","Text Models \u002F DeepSeek",{"slug":14,"title":15,"group":16},"llm-kimi","Kimi localized example text## Basic Information","Text Models \u002F Kimi",{"slug":18,"title":19,"group":20},"llm-glm","GLM localized example text## Basic Information","Text Models \u002F GLM",{"slug":22,"title":23,"group":24},"llm-minimax","MiniMax localized example text## Basic Information","Text Models \u002F MiniMax",{"slug":26,"title":27,"group":28},"llm-qwen","Qwen localized example text## Basic Information","Text Models \u002F Qwen",{"slug":30,"title":31,"group":32},"claude-code","Claude Code localized example text## Basic Information","Text Models \u002F Claude Code",{"slug":34,"title":35,"group":36},"openclaw","OpenClaw Setup","Text Models \u002F OpenClaw",{"slug":38,"title":39,"group":40},"hermes","Hermes Setup","Text Models \u002F Hermes",{"slug":42,"title":43,"group":44},"cc-switch","CC Switch Setup","Text Models \u002F CC Switch",{"slug":46,"title":47,"group":48},"trae","TRAE Setup","Text Models \u002F TRAE",{"slug":50,"title":51,"group":52},"workbuddy","WorkBuddy Setup","Text Models \u002F WorkBuddy",{"slug":54,"title":55,"group":56},"jev","jev API Integration","Text Models \u002F Jev",{"slug":58,"title":59,"group":60},"opencode","OpenCode Setup","Text Models \u002F OpenCode",{"slug":62,"title":63,"group":64},"deepseek-harness","DeepSeek Harness Setup","Text Models \u002F DeepSeek Harness",{"slug":66,"title":67,"group":68},"gpt-image-2-6","GPT Image 2.6 Image Generation API","Image \u002F GPT Image",{"slug":70,"title":71,"group":68},"gpt-image-2-6-official","GPT Image 2.6 Official Image Generation API",{"slug":73,"title":74,"group":68},"gpt-image-2-5","GPT Image 2.5 Image Generation API",{"slug":76,"title":77,"group":68},"gpt-image-2-5-official","GPT Image 2.5 Official Image Generation API",{"slug":79,"title":80,"group":68},"gpt-image-2","GPT Image 2 Image Generation",{"slug":82,"title":83,"group":68},"gpt-image-2-official","GPT Image 2 Official Image Generation API",{"slug":85,"title":86,"group":87},"nano-banana-2","Nano Banana 2 Image Generation","Image \u002F Nano Banana",{"slug":89,"title":90,"group":87},"nano-banana-2-lite","Nano Banana 2 Lite Image Generation",{"slug":92,"title":93,"group":87},"nano-banana-2-1","Nano Banana 2.1 Image Generation",{"slug":95,"title":96,"group":87},"nano-banana-official","Nano Banana Official Image Generation",{"slug":98,"title":99,"group":87},"nano-banana-pro","Nano Banana Pro Image Generation",{"slug":101,"title":102,"group":103},"grok-imagine-2-0","Grok Imagine 2.0 Image Generation","Image \u002F Grok-imagine",{"slug":105,"title":106,"group":103},"grok-imagine-1-5","Grok Imagine 1.5 Image Generation",{"slug":108,"title":109,"group":103},"grok-imagine-1-0","Grok Imagine Image \u002F Video Generation",{"slug":111,"title":112,"group":113},"seedream-5-5","Seedream 5.5 Image Generation","Image \u002F Seedream",{"slug":115,"title":116,"group":113},"seedream-5-0-pro","Seedream 5.0 Pro Image Generation",{"slug":118,"title":119,"group":113},"seedream-5-0-lite","Seedream 5.0 Lite Image Generation",{"slug":121,"title":122,"group":113},"seedream-5-0-flash","Seedream 5.0 Flash Image Generation",{"slug":124,"title":125,"group":113},"seedream-4-5","Seedream 4.5 Image Generation",{"slug":127,"title":128,"group":129},"qwen-image-3","Qwen Image 3.0 Image Generation and Editing API","Image \u002F Qwen Image",{"slug":131,"title":132,"group":129},"qwen-image-3-pro","Qwen Image 3.0 Pro Image Generation and Editing API",{"slug":134,"title":135,"group":136},"flux-2-flex","Flux 2 Flex Image Generation","Image \u002F Flux",{"slug":138,"title":139,"group":136},"flux-2-max","Flux 2 Max Image Generation",{"slug":141,"title":142,"group":136},"flux-2-pro","Flux 2 Pro Image Generation",{"slug":144,"title":145,"group":136},"flux-3-image","FLUX-3-IMAGE Image Generation",{"slug":147,"title":148,"group":149},"mj","MJ Image \u002F Video Generation ()## Overview","Image \u002F Midjourney",{"slug":151,"title":152,"group":153},"mai-image-2-6","MAI-Image-2.6 Image Generation","Image \u002F MAI Image",{"slug":155,"title":156,"group":157},"muse-image","Muse Image Image Generation","Image \u002F Muse",{"slug":159,"title":160,"group":161},"seedance-2-5","Seedance 2.5 Video Generation","Video \u002F Seedance 2",{"slug":163,"title":164,"group":161},"seedance-2-5-flash","Seedance 2.5 Flash Video Generation",{"slug":166,"title":167,"group":161},"seedance-2-0","Seedance 2.0 Video Generation",{"slug":169,"title":170,"group":161},"seedance-2-0-fast","Seedance 2.0 Fast Video Generation",{"slug":172,"title":173,"group":161},"seedance-2-0-mini","Seedance 2.0 Mini Video Generation",{"slug":175,"title":176,"group":161},"seedance-asset-library","Seedance Asset Library",{"slug":178,"title":179,"group":180},"hailuo-2-3-fast","2.3 Fast Video Generation","Video \u002F MiniMax",{"slug":182,"title":183,"group":180},"hailuo-2-3","2.3 Video Generation",{"slug":185,"title":186,"group":180},"minimax-h3","MiniMax-H3 Video Generation",{"slug":188,"title":189,"group":180},"minimax-h3-fast","MiniMax-H3-Fast Video Generation",{"slug":191,"title":192,"group":180},"minimax-h3-highspeed","MiniMax-H3-Highspeed Video Generation",{"slug":194,"title":195,"group":180},"minimax-h3-lite","MiniMax-H3-Lite Video Generation",{"slug":197,"title":198,"group":180},"minimax-h3-max","MiniMax-H3-Max Video Generation",{"slug":200,"title":201,"group":202},"kling-2-5-turbo","Kling 2.5 Turbo Video Generation","Video \u002F Kling",{"slug":204,"title":205,"group":202},"kling-2-6","Kling 2.6 Video Generation",{"slug":207,"title":208,"group":202},"kling-3-0-omni","Kling 3.0 Omni Video Generation",{"slug":210,"title":211,"group":202},"kling-3-0-turbo","Kling 3.0 Turbo Video Generation",{"slug":213,"title":214,"group":202},"kling-3-0","Kling 3.0 Video Generation",{"slug":216,"title":217,"group":202},"kling-4-0-flash","Kling 4.0 Flash Video Generation",{"slug":219,"title":220,"group":202},"kling-4-0","Kling 4.0 Video Generation",{"slug":222,"title":223,"group":202},"kling-image","Kling Image Generation",{"slug":225,"title":226,"group":202},"kling-lipsync","Kling localized example text## Overview",{"slug":228,"title":229,"group":202},"kling-o1","Kling O1 Video Generation",{"slug":231,"title":232,"group":233},"happyhorse","HappyHorse Video Generation","Video \u002F HappyHorse",{"slug":235,"title":236,"group":237},"gemini-omni-audio","Gemini Omni Audio Audio Generation","Video \u002F Gemini Omni",{"slug":239,"title":240,"group":237},"gemini-omni-character","Gemini Omni Character Character Generation",{"slug":242,"title":243,"group":237},"gemini-omni-video","Gemini Omni Video Video Generation",{"slug":245,"title":246,"group":247},"wan-2-2-spicy","Wan 2.2 Spicy Video Generation","Video \u002F Wan",{"slug":249,"title":250,"group":247},"wan-2-2","Wan 2.2 Video Generation",{"slug":252,"title":253,"group":247},"wan-2-5-preview","Wan 2.5 Preview Video Generation",{"slug":255,"title":256,"group":247},"wan-2-7-spicy","Wan 2.7 Spicy Video Generation",{"slug":258,"title":259,"group":247},"wan3-0","wan 3.0 Video Generation",{"slug":261,"title":262,"group":263},"magi-2","MAGI-2 Video Generation","Video \u002F MAGI",{"slug":265,"title":266,"group":267},"damo-sr","DAMO localized example text## Overview","Video \u002F DAMO SR",{"slug":269,"title":270,"group":271},"muse-video","Muse Video Video Generation","Video \u002F Muse",{"slug":273,"title":274,"group":275},"pixverse","PixVerse Video Generation","Video \u002F PixVerse",{"slug":277,"title":278,"group":279},"video-super-resolution","videolocalized example text## Overview","Video \u002F Super Resolution",{"slug":281,"title":282,"group":283},"topaz-upscale","Topaz localized example text## Overview","Video \u002F Topaz",{"slug":285,"title":286,"group":287},"veo-3-1","Veo 3.1 Video Generation","Video \u002F Veo",{"slug":289,"title":290,"group":291},"vidu-q2","Vidu Q2 Image \u002F Video Generation","Video \u002F Vidu",{"slug":293,"title":294,"group":291},"vidu-q2-pro","Vidu Q2-Pro Video Generation",{"slug":296,"title":297,"group":291},"vidu-q2-turbo","Vidu Q2-Turbo Video Generation",{"slug":299,"title":300,"group":291},"vidu-q3-pro","Vidu Q3-Pro Video Generation",{"slug":302,"title":303,"group":291},"vidu-q3-turbo","Vidu Q3-Turbo Video Generation",{"slug":305,"title":306,"group":291},"vidu-q4-preview","Vidu Q4 Preview Video Generation",{"slug":308,"title":309,"group":291},"vidu-s-live","Vidu S and when Video Editing## Overview",{"slug":311,"title":312,"group":313},"minimax-asr","MiniMax localized example text## Overview","Music & Audio \u002F MiniMax",{"slug":315,"title":316,"group":317},"mureka","Mureka Music Generation","Music & Audio \u002F Mureka",{"slug":319,"title":320,"group":321},"suno","Suno Music Generation","Music & Audio \u002F Suno",{"slug":323,"title":324,"group":325},"balance","Balance API","Other APIs \u002F open-api-balance.md",{"slug":327,"title":328,"group":329},"file-upload","File Upload","Other APIs \u002F open-api-file-upload.md",{"slug":331,"title":332,"group":333},"images-generations","Image Generation API (Unified Endpoint)","Other APIs \u002F open-api-images-generations(国内).md",{"slug":335,"title":336,"group":337},"llm-bill","Model (LLM) query API## Overview","Other APIs \u002F open-api-llm-bill.md",{"slug":339,"title":340,"group":341},"records-transactions","localized example text& query API## Overview","Other APIs \u002F open-api-records-transactions.md",{"title":343,"description":344,"canonical":345,"jsonLd":346},"API Documentation | LeoneCloud","LeoneCloud API documentation for 97 AI generation models — video, image, music and multimodal — with request parameters, response schemas and code examples.","https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs",[347],{"@context":348,"@type":349,"name":343,"description":344,"url":345,"inLanguage":350,"hasPart":351},"https:\u002F\u002Fschema.org","CollectionPage","en",[352,355,357,359,361,363,365,367,369,371,373,375,377,379,381,383,385,387,389,391,393,395,397,399,401,403,405,407,409,411,413,415,417,419,421,423,425,427,429,431,433,435,437,439,441,443,445,447,449,451,453,455,457,459,461,463,465,467,469,471,473,475,477,479,481,483,485,487,489,491,493,495,497,499,501,503,505,507,509,511,513,515,517,519,521,523,525,527,529,531,533,535,537,539,541,543,545],{"@type":353,"name":7,"url":354},"TechArticle","https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-chat",{"@type":353,"name":11,"url":356},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-deepseek",{"@type":353,"name":15,"url":358},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-kimi",{"@type":353,"name":19,"url":360},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-glm",{"@type":353,"name":23,"url":362},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-minimax",{"@type":353,"name":27,"url":364},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-qwen",{"@type":353,"name":31,"url":366},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fclaude-code",{"@type":353,"name":35,"url":368},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fopenclaw",{"@type":353,"name":39,"url":370},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fhermes",{"@type":353,"name":43,"url":372},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fcc-switch",{"@type":353,"name":47,"url":374},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Ftrae",{"@type":353,"name":51,"url":376},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fworkbuddy",{"@type":353,"name":55,"url":378},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fjev",{"@type":353,"name":59,"url":380},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fopencode",{"@type":353,"name":63,"url":382},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fdeepseek-harness",{"@type":353,"name":67,"url":384},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgpt-image-2-6",{"@type":353,"name":71,"url":386},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgpt-image-2-6-official",{"@type":353,"name":74,"url":388},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgpt-image-2-5",{"@type":353,"name":77,"url":390},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgpt-image-2-5-official",{"@type":353,"name":80,"url":392},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgpt-image-2",{"@type":353,"name":83,"url":394},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgpt-image-2-official",{"@type":353,"name":86,"url":396},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fnano-banana-2",{"@type":353,"name":90,"url":398},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fnano-banana-2-lite",{"@type":353,"name":93,"url":400},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fnano-banana-2-1",{"@type":353,"name":96,"url":402},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fnano-banana-official",{"@type":353,"name":99,"url":404},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fnano-banana-pro",{"@type":353,"name":102,"url":406},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgrok-imagine-2-0",{"@type":353,"name":106,"url":408},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgrok-imagine-1-5",{"@type":353,"name":109,"url":410},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgrok-imagine-1-0",{"@type":353,"name":112,"url":412},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedream-5-5",{"@type":353,"name":116,"url":414},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedream-5-0-pro",{"@type":353,"name":119,"url":416},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedream-5-0-lite",{"@type":353,"name":122,"url":418},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedream-5-0-flash",{"@type":353,"name":125,"url":420},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedream-4-5",{"@type":353,"name":128,"url":422},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fqwen-image-3",{"@type":353,"name":132,"url":424},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fqwen-image-3-pro",{"@type":353,"name":135,"url":426},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fflux-2-flex",{"@type":353,"name":139,"url":428},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fflux-2-max",{"@type":353,"name":142,"url":430},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fflux-2-pro",{"@type":353,"name":145,"url":432},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fflux-3-image",{"@type":353,"name":148,"url":434},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fmj",{"@type":353,"name":152,"url":436},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fmai-image-2-6",{"@type":353,"name":156,"url":438},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fmuse-image",{"@type":353,"name":160,"url":440},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedance-2-5",{"@type":353,"name":164,"url":442},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedance-2-5-flash",{"@type":353,"name":167,"url":444},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedance-2-0",{"@type":353,"name":170,"url":446},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedance-2-0-fast",{"@type":353,"name":173,"url":448},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedance-2-0-mini",{"@type":353,"name":176,"url":450},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fseedance-asset-library",{"@type":353,"name":179,"url":452},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fhailuo-2-3-fast",{"@type":353,"name":183,"url":454},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fhailuo-2-3",{"@type":353,"name":186,"url":456},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fminimax-h3",{"@type":353,"name":189,"url":458},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fminimax-h3-fast",{"@type":353,"name":192,"url":460},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fminimax-h3-highspeed",{"@type":353,"name":195,"url":462},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fminimax-h3-lite",{"@type":353,"name":198,"url":464},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fminimax-h3-max",{"@type":353,"name":201,"url":466},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-2-5-turbo",{"@type":353,"name":205,"url":468},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-2-6",{"@type":353,"name":208,"url":470},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-3-0-omni",{"@type":353,"name":211,"url":472},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-3-0-turbo",{"@type":353,"name":214,"url":474},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-3-0",{"@type":353,"name":217,"url":476},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-4-0-flash",{"@type":353,"name":220,"url":478},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-4-0",{"@type":353,"name":223,"url":480},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-image",{"@type":353,"name":226,"url":482},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-lipsync",{"@type":353,"name":229,"url":484},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fkling-o1",{"@type":353,"name":232,"url":486},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fhappyhorse",{"@type":353,"name":236,"url":488},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgemini-omni-audio",{"@type":353,"name":240,"url":490},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgemini-omni-character",{"@type":353,"name":243,"url":492},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fgemini-omni-video",{"@type":353,"name":246,"url":494},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fwan-2-2-spicy",{"@type":353,"name":250,"url":496},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fwan-2-2",{"@type":353,"name":253,"url":498},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fwan-2-5-preview",{"@type":353,"name":256,"url":500},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fwan-2-7-spicy",{"@type":353,"name":259,"url":502},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fwan3-0",{"@type":353,"name":262,"url":504},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fmagi-2",{"@type":353,"name":266,"url":506},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fdamo-sr",{"@type":353,"name":270,"url":508},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fmuse-video",{"@type":353,"name":274,"url":510},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fpixverse",{"@type":353,"name":278,"url":512},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvideo-super-resolution",{"@type":353,"name":282,"url":514},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Ftopaz-upscale",{"@type":353,"name":286,"url":516},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fveo-3-1",{"@type":353,"name":290,"url":518},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-q2",{"@type":353,"name":294,"url":520},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-q2-pro",{"@type":353,"name":297,"url":522},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-q2-turbo",{"@type":353,"name":300,"url":524},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-q3-pro",{"@type":353,"name":303,"url":526},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-q3-turbo",{"@type":353,"name":306,"url":528},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-q4-preview",{"@type":353,"name":309,"url":530},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fvidu-s-live",{"@type":353,"name":312,"url":532},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fminimax-asr",{"@type":353,"name":316,"url":534},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fmureka",{"@type":353,"name":320,"url":536},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fsuno",{"@type":353,"name":324,"url":538},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fbalance",{"@type":353,"name":328,"url":540},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Ffile-upload",{"@type":353,"name":332,"url":542},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fimages-generations",{"@type":353,"name":336,"url":544},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Fllm-bill",{"@type":353,"name":340,"url":546},"https:\u002F\u002Fdocs.leonecloud.com\u002Fen\u002Fdocs\u002Frecords-transactions",{"slug":159,"title":160,"group":161,"html":548,"markdown":549,"headings":550,"updatedAt":564,"indexable":565,"markdownUrl":566,"alternates":567,"seo":573},"\u003Cblockquote>as\u003Cstrong>V3 localized example text\u003C\u002Fstrong> (snake_case Request Body + ).in use endpoint\u003Ca href=\"\u002Fdocs\u002Fseedance-2-5-v2\" target=\"_blank\" rel=\"noreferrer\">Seedance 2.5 V2 endpointlocalized example text\u003C\u002Fa>.task and, can.\u003C\u002Fblockquote>\u003Ch2 id=\"overview\">Overview\u003C\u002Fh2>\u003Cp>Seedance 2.5 Video Generationendpoint, supported, image, video, audio etc. input video.Request Bodyand snake_case, with, Model\u003Ccode>model\u003C\u002Fcode> fieldlocalized example text.\u003C\u002Fp>\u003Cp>\u003Cstrong>localized example text\u003C\u002Fstrong>:\u003Cbr \u002F>- 🎬 \u003Cstrong>localized example text\u003C\u002Fstrong>:, and \u003Cbr \u002F>-🧠 \u003Cstrong>localized example text\u003C\u002Fstrong>:image, video, audio etc. reference asset \u003Cbr \u002F>-⏱️ \u003Cstrong>Duration\u003C\u002Fstrong>:\u003Ccode>duration\u003C\u002Fcode> default \u003Ccode>-1\u003C\u002Fcode>, output Model, can 4~30 seconds\u003Cbr \u002F>- 🔊 \u003Cstrong>defaultaudio\u003C\u002Fstrong>:\u003Ccode>generate_audio\u003C\u002Fcode> not when default\u003Ccode>true\u003C\u002Fcode>\u003Cbr \u002F>- 🇨🇳 \u003Cstrong>localized example text\u003C\u002Fstrong>:as\u003Cstrong>Base URL\u003C\u002Fstrong>: \u003Ccode>https:\u002F\u002Fmm-internal-cn.leonecloud.com\u003C\u002Fcode> ()&gt; and when, can height\u003Ca href=\"\u002Fdocs\u002Fseedance-2-5-flash\" target=\"_blank\" rel=\"noreferrer\">Seedance 2.5 Flash\u003C\u002Fa> (and, reference asset 10 image \u002F 5 video \u002F 5 audio, Resolutiononly 480p \u002F 720p, supported and task).\u003C\u002Fp>\u003Chr \u002F>\u003Ch2 id=\"authentication\">Authentication\u003C\u002Fh2>\u003Cp>All endpoints require a token in the request header for authentication:\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>Authorization: Bearer {YOUR_AUTH_TOKEN}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>Failurereturned when applicable HTTP 401:```json\u003Cbr \u002F>{\u003Cbr \u002F> &quot;error&quot;: {\u003Cbr \u002F> &quot;code&quot;: &quot;AuthenticationError&quot;,\u003Cbr \u002F> &quot;message&quot;: &quot;API Key no&quot;,\u003Cbr \u002F> &quot;type&quot;: &quot;Unauthorized&quot;\u003Cbr \u002F> }\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n---\n\n## model Values\n\n`model` as**Required**field, as:| model | Description |\n|-------|------|\n| `seedance-2-5` |, supported Duration|\n\nlocalized example text`model` return HTTP 400 (`supported model: xxx`); not Model return HTTP 404 (`Model not: xxx`).\n\n---\n\n## Defaultand value range| field | Default | value range |\n|------|--------|---------|\n| `ratio` | `adaptive` | `adaptive` \u002F `16:9` \u002F `9:16` \u002F `1:1` \u002F `4:3` \u002F `3:4` \u002F `21:9` |\n| `duration` | `-1` (Duration)| 4 ~ 30 seconds, or`-1` |\n| `resolution` | `720p` | `480p` \u002F `720p` \u002F `1080p` |\n| `generate_audio` | `true` | `true` \u002F `false` |\n| `output_format` | `mp4` | `mp4` \u002F `mov` |\n| `bitrate_mode` | If omitted (etc.`standard`) | `standard` \u002F `high` |\n| `watermark` | `false` | `true` \u002F `false` |\n\n**asset**:Reference imageup to 30 images, Reference videoup to 10, Reference audioup to 10.\n\n### duration\n\n- **Duration (default`-1`)**:output DurationModel.when token, create when 30 seconds, task after.\n- **Duration**:4~ 30 seconds, can.\n\nrange return HTTP 400:`duration onlysupported 4~30 secondsor -1(Duration)`.\n\n### resolution\n\nsupported`480p` \u002F `720p` \u002F `1080p`, default `720p`.return HTTP 400:`resolution onlysupported 480p, 720p or 1080p`.\n\n---\n\n## Supported Scenarios\n\n### Scenario 1: Text-to-Video\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X POST &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer your_auth_token_here&quot; \\\u003Cbr \u002F> -H &quot;Content-Type: application\u002Fjson&quot; \\\u003Cbr \u002F> -d &#39;{\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;content&quot;: [\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;text&quot;,\u003Cbr \u002F> &quot;text&quot;: &quot;,,,, in, with&quot;\u003Cbr \u002F> }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;ratio&quot;: &quot;16:9&quot;,\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;,\u003Cbr \u002F> &quot;generate_audio&quot;: true\u003Cbr \u002F> }&#39;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n### Scenario 2: Image-to-Video (First Frame)\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X POST &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer your_auth_token_here&quot; \\\u003Cbr \u002F> -H &quot;Content-Type: application\u002Fjson&quot; \\\u003Cbr \u002F> -d &#39;{\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;content&quot;: [\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;text&quot;,\u003Cbr \u002F> &quot;text&quot;: &quot;,,,&quot;\u003Cbr \u002F> },\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;image_url&quot;,\u003Cbr \u002F> &quot;image_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fportrait.jpg&quot; },\u003Cbr \u002F> &quot;role&quot;: &quot;first_frame&quot;\u003Cbr \u002F> }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;\u003Cbr \u002F> }&#39;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n### Scenario 3: First\u002FLast Frame to Video\n\nfirst frame and last frame image, Model image video.first frame \u002F last frame when output input asset,`ratio` localized example text.\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X POST &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer your_auth_token_here&quot; \\\u003Cbr \u002F> -H &quot;Content-Type: application\u002Fjson&quot; \\\u003Cbr \u002F> -d &#39;{\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;content&quot;: [\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;text&quot;,\u003Cbr \u002F> &quot;text&quot;: &quot;number images image number images image,, and,&quot;\u003Cbr \u002F> },\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;image_url&quot;,\u003Cbr \u002F> &quot;image_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fframe_start.jpg&quot; },\u003Cbr \u002F> &quot;role&quot;: &quot;first_frame&quot;\u003Cbr \u002F> },\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;image_url&quot;,\u003Cbr \u002F> &quot;image_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fframe_end.jpg&quot; },\u003Cbr \u002F> &quot;role&quot;: &quot;last_frame&quot;\u003Cbr \u002F> }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;\u003Cbr \u002F> }&#39;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n### Scenario4:image Reference-to-Video\n\n in Prompt in&quot;Image 1&quot;, &quot;Image 2&quot; (up to 30 images ).\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X POST &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer your_auth_token_here&quot; \\\u003Cbr \u002F> -H &quot;Content-Type: application\u002Fjson&quot; \\\u003Cbr \u002F> -d &#39;{\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;content&quot;: [\u003Cbr \u002F> {\u003Cbr \u002F> &quot;type&quot;: &quot;text&quot;,\u003Cbr \u002F> &quot;text&quot;: &quot;[Image 1]T and[Image 2], in[image3], video&quot;\u003Cbr \u002F> },\u003Cbr \u002F> { &quot;type&quot;: &quot;image_url&quot;, &quot;image_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fboy.png&quot; }, &quot;role&quot;: &quot;reference_image&quot; },\u003Cbr \u002F> { &quot;type&quot;: &quot;image_url&quot;, &quot;image_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fdog.png&quot; }, &quot;role&quot;: &quot;reference_image&quot; },\u003Cbr \u002F> { &quot;type&quot;: &quot;image_url&quot;, &quot;image_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fgrass.png&quot; }, &quot;role&quot;: &quot;reference_image&quot; }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;ratio&quot;: &quot;16:9&quot;,\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;\u003Cbr \u002F> }&#39;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n### Scenario5:Video Editing\n\n`omni_reference_task_type=edit` mustlocalized example text`role=reference_video` Reference video, and will`ratio=adaptive` and`duration=-1` (input video).\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X POST &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer your_auth_token_here&quot; \\\u003Cbr \u002F> -H &quot;Content-Type: application\u002Fjson&quot; \\\u003Cbr \u002F> -d &#39;{\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;content&quot;: [\u003Cbr \u002F> { &quot;type&quot;: &quot;text&quot;, &quot;text&quot;: &quot;will Video 1 in the, as&quot; },\u003Cbr \u002F> { &quot;type&quot;: &quot;video_url&quot;, &quot;video_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fhouse.mp4&quot; }, &quot;role&quot;: &quot;reference_video&quot; }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;omni_reference_task_type&quot;: &quot;edit&quot;,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;\u003Cbr \u002F> }&#39;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n### Scenario6:videolocalized example text`omni_reference_task_type=extend` mustReference video,`ratio=adaptive`, `duration` localized example text.\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X POST &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer your_auth_token_here&quot; \\\u003Cbr \u002F> -H &quot;Content-Type: application\u002Fjson&quot; \\\u003Cbr \u002F> -d &#39;{\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;content&quot;: [\u003Cbr \u002F> { &quot;type&quot;: &quot;text&quot;, &quot;text&quot;: &quot;,, as&quot; },\u003Cbr \u002F> { &quot;type&quot;: &quot;video_url&quot;, &quot;video_url&quot;: { &quot;url&quot;: &quot;https:\u002F\u002Fexample.com\u002Fclip.mp4&quot; }, &quot;role&quot;: &quot;reference_video&quot; }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;omni_reference_task_type&quot;: &quot;extend&quot;,\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;\u003Cbr \u002F> }&#39;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n---\n\n## Endpoint details\n\n### 1. Create Task\n\n**POST** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`\n\n**Content-Type**: `application\u002Fjson`\n\n#### Request Parameters\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| model | string | Yes | localized example text`seedance-2-5` |\n| content | array | Yes |,[content Items](#content-Content item) |\n| omni_reference_task_type | string | No | Task Type:`auto` \u002F `reference` \u002F `edit` \u002F `extend`.If omittedwhen input asset,[Task Type](#Task Type-omni_reference_task_type) |\n| ratio | string | No | Aspect ratio, default `adaptive`.Scenario will as`adaptive` |\n| duration | int | No | videoDuration (seconds), 4~30 or`-1`, default `-1` |\n| frames | int | No |,.⚠️ Model first Parameter, will return ParameterError; Duration`duration` |\n| resolution | string | No | Output resolution:`480p` \u002F `720p` \u002F `1080p`, default `720p` |\n| generate_audio | bool | No | audio, default`true` |\n| output_format | string | No | output Format:`mp4`(default) \u002F `mov` |\n| bitrate_mode | string | No | Resolution output:`standard`(default, etc. If omitted) \u002F`high`.`high` as,, file.return ParameterError|\n| watermark | bool | No | watermark, default`false` |\n| seed | int | No | random seed, localized example text.localized example text|\n| camera_fixed | bool | No | Whether to fix the camera, localized example text.⚠️ Model first Parameter, will return ParameterError|\n| return_last_frame | bool | No | return last-frame image|\n| callback_url | string | No | Callback notification URL after the task is complete, Format[Callback Notification](#Callback Notification) |\n| task_nickname | string | No | Task label for business tracking |\n| real_person_mode | bool | No |, default`false` |\n| priority | int | No |,|\n| service_tier | string | No |,|\n| execution_expires_after | int | No | taskexecute when (seconds),|\n| safety_identifier | string | No |,|\n| draft | bool | No |,|\n\n&gt; localized example text「localized example text」field,, as Model.\n\n#### content Items\n\n| Type | field | Description |\n|-----|------|------|\n| text | `type`: &quot;text&quot;, `text`: &quot;Prompt&quot; | **must**, videoPrompt (3-20000characters)|\n| image_url | `type`: &quot;image_url&quot;, `image_url`: {&quot;url&quot;: &quot;URL&quot;}, `role`: see below | Reference image (up to 30 images, supported jpeg\u002Fpng\u002Fwebp\u002Fbmp\u002Ftiff\u002Fgif, Aspect ratio 0.4-2.5, dimensions 300-6000px, maximum 30MB)|\n| video_url | `type`: &quot;video_url&quot;, `video_url`: {&quot;url&quot;: &quot;URL&quot;}, `role`: &quot;reference_video&quot; | Reference video (up to 10, mp4\u002Fmov, 480p\u002F720p, 2-15 seconds, maximum 200MB, 24-60FPS) |\n| audio_url | `type`: &quot;audio_url&quot;, `audio_url`: {&quot;url&quot;: &quot;URL&quot;}, `role`: &quot;reference_audio&quot; | Reference audio (up to 10, wav\u002Fmp3, 2-15 seconds, maximum 15MB) |\n\ncontent must`text` TypeContent item as Prompt, return HTTP 400 (`content in must text Type Prompt`); `content` as return 400 (`content as`).in Prompt in&quot;Image 1&quot;, &quot;Image 2&quot;, &quot;Video 1&quot;, &quot;Audio 1&quot; Location reference asset.\n\n&gt; asset: in[Seedance asset](\u002Fdocs\u002Fseedance-asset-library) create asset, Status as`Active` after, in`image_url.url` \u002F `video_url.url` \u002F `audio_url.url` in`asset:\u002F\u002F&lt;asset Id&gt;` can.\n\n#### role Values for image_url\n\n| role localized example text| Description |\n|---------|------|\n| `reference_image` | Reference image |\n| `first_frame` | first-frame image |\n| `last_frame` | last-frame image |\n\n#### Response Parameters\n\ncreate Success return HTTP 200:| Parameter | Type | Description |\n|-----|------|------|\n| id | string | Task ID, used to query task status |\n\n#### Response Example\n\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\ncreate Failure return HTTP Status Code,[Error Codes](#Error Codes):\n\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;error&quot;: {\u003Cbr \u002F> &quot;code&quot;: &quot;InvalidParameter&quot;,\u003Cbr \u002F> &quot;message&quot;: &quot;resolution onlysupported 480p, 720p or 1080p&quot;,\u003Cbr \u002F> &quot;type&quot;: &quot;BadRequest&quot;\u003Cbr \u002F> }\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n---\n\n### 2. Query Task Status\n\n**GET** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}`\n\n#### Path Parameters\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| id | string | Yes | Task ID (create endpoint return`id`) |\n\n#### Response Parameters\n\n| Parameter | Type | Description |\n|-----|------|------|\n| id | string | Task ID |\n| model | string | Create Taskwhen`model` localized example text|\n| status | string | Task Status:`running` (queuedand in as`running`)\u002F `succeeded` \u002F `failed` \u002F `cancelled` (,「4. \u002F task」) |\n| content.video_url | string | video URL (`succeeded` returned when applicable) |\n| content.last_frame_url | string | last frame image URL (Request`return_last_frame` with returned when applicable)|\n| error.code | string | Error Codes (`failed` returned when applicable) |\n| error.message | string | Error(`failed` returned when applicable) |\n| created_at | int | Created Time (Unix seconds) |\n| updated_at | int | Updated Time (Unix seconds) |\n| usage.completion_tokens | int | token|\n| usage.prompt_tokens | int | token|\n| usage.total_tokens | int | token|\n\nreturn field with`id` \u002F `model` \u002F `status` \u002F `created_at` \u002F `updated_at`.`duration` \u002F `frames_per_second` \u002F `generate_audio` \u002F `ratio` \u002F `resolution` \u002F `service_tier` \u002F `priority` \u002F `output_format` \u002F `draft` \u002F `execution_expires_after` \u002F `usage` \u002F `content.last_frame_url` etc. fieldonly in with returned when applicable,「fieldcan in」Method.token in task complete after return.\n\n#### Response Example\n\n**processing**\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;status&quot;: &quot;running&quot;,\u003Cbr \u002F> &quot;created_at&quot;: 1786955946,\u003Cbr \u002F> &quot;updated_at&quot;: 1786955950\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n**Success**\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;status&quot;: &quot;succeeded&quot;,\u003Cbr \u002F> &quot;content&quot;: {\u003Cbr \u002F> &quot;video_url&quot;: &quot;https:\u002F\u002Fexample-oss.com\u002Fvideos\u002F2026\u002F08\u002F17\u002Foutput.mp4&quot;\u003Cbr \u002F> },\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;ratio&quot;: &quot;16:9&quot;,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;,\u003Cbr \u002F> &quot;output_format&quot;: &quot;mp4&quot;,\u003Cbr \u002F> &quot;created_at&quot;: 1786955946,\u003Cbr \u002F> &quot;updated_at&quot;: 1786956142\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n**Failure**\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;status&quot;: &quot;failed&quot;,\u003Cbr \u002F> &quot;error&quot;: {\u003Cbr \u002F> &quot;code&quot;: &quot;InternalServiceError&quot;,\u003Cbr \u002F> &quot;message&quot;: &quot;Video GenerationFailure, localized example text&quot;\u003Cbr \u002F> },\u003Cbr \u002F> &quot;created_at&quot;: 1786955946,\u003Cbr \u002F> &quot;updated_at&quot;: 1786956060\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n**Task not found** (HTTP 404)\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;error&quot;: {\u003Cbr \u002F> &quot;code&quot;: &quot;NotFound&quot;,\u003Cbr \u002F> &quot;message&quot;: &quot;Task not found&quot;,\u003Cbr \u002F> &quot;type&quot;: &quot;NotFound&quot;\u003Cbr \u002F> }\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n---\n\n### 3. Query Tasklist\n\nConditionQuery Task, return task Status.\n\n**GET** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`\n\n#### Query Parameter\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| filter.task_ids | string[] | No | Task ID,, supported.Parameter:`filter.task_ids=id1&amp;filter.task_ids=id2`.If omittedreturn first API Key tasklist|\n| filter.status | string | No | Status:`queued` \u002F `running` \u002F `succeeded` \u002F `failed` \u002F `cancelled`, in`queued` and`running` processing.If omittedStatus ( not will return list)|\n| page_num | int | No |, default`1`, range `[1, 500]`, localized example text|\n| page_size | int | No |, default`20`, range `[1, 500]`, localized example text|\n\n&gt; query first API Key task, no query task.`filter.model` and`filter.service_tier` can Request, will.\n\n#### Response Parameters\n\n| Parameter | Type | Description |\n|-----|------|------|\n| items | array | tasklist, and「2. Query Task Status」exactly identical|\n| total | int | Condition task|\n\n#### Request Example\n\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks?filter.status=succeeded&amp;page_num=1&amp;page_size=20\u003Cbr \u002F>Authorization: Bearer {API_KEY}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n#### Response Example\n\n```json\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>{\u003Cbr \u002F> &quot;items&quot;: [\u003Cbr \u002F> {\u003Cbr \u002F> &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\u003Cbr \u002F> &quot;model&quot;: &quot;seedance-2-5&quot;,\u003Cbr \u002F> &quot;status&quot;: &quot;succeeded&quot;,\u003Cbr \u002F> &quot;content&quot;: {\u003Cbr \u002F> &quot;video_url&quot;: &quot;https:\u002F\u002Fexample-oss.com\u002Fvideos\u002F2026\u002F08\u002F17\u002Foutput.mp4&quot;\u003Cbr \u002F> },\u003Cbr \u002F> &quot;duration&quot;: 5,\u003Cbr \u002F> &quot;resolution&quot;: &quot;720p&quot;,\u003Cbr \u002F> &quot;created_at&quot;: 1786955946,\u003Cbr \u002F> &quot;updated_at&quot;: 1786956142\u003Cbr \u002F> }\u003Cbr \u002F> ],\u003Cbr \u002F> &quot;total&quot;: 1\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n---\n\n### 4. \u002F task**DELETE** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}`\n\nas task first Status, can:| Task Status | as| localized example text|\n|---------|------|---------|\n| queued | task, Status as`cancelled` | localized example text|\n| in| no.task will Request ( return`running`):taskStatus when, complete; task return HTTP 409`TaskRunning` | Success when; complete|\n| (`succeeded` \u002F `failed` \u002F `cancelled`) | task data, task as| ()|\n\ntask after supported, returned when applicable HTTP 400`CancelNotSupported`, taskcomplete and.\n\n#### Path Parameters\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| id | string | Yes | Task ID (create endpoint return`id`) |\n\n#### Response Parameters\n\n| Parameter | Type | Description |\n|-----|------|------|\n| id | string | Task ID |\n| status | string | after Task Status:`cancelled`;`running` Request, after query results as;`succeeded` \u002F `failed` tasklocalized example text|\n| message | string | Description|\n\n#### Request Example\n\n```bash\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>curl -X DELETE &quot;https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002Ftask_20260817163906_i0ing18n&quot; \\\u003Cbr \u002F> -H &quot;Authorization: Bearer {API_KEY}&quot;\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n#### Response Example\n\nqueuedtaskSuccess:```json\n{\n &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\n &quot;status&quot;: &quot;cancelled&quot;,\n &quot;message&quot;: &quot;Task cancelled, localized example text&quot;\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>in task (Request, can ):```json\u003Cbr \u002F>{\u003Cbr \u002F> &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\u003Cbr \u002F> &quot;status&quot;: &quot;running&quot;,\u003Cbr \u002F> &quot;message&quot;: &quot;taskin no, as Request: will, taskStatus and; task complete, will, no&quot;\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\ntaskSuccess ( return ):```json\n{\n &quot;id&quot;: &quot;task_20260817163906_i0ing18n&quot;,\n &quot;status&quot;: &quot;succeeded&quot;,\n &quot;message&quot;: &quot;task data, task as&quot;\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>Failurereturned when applicable \u003Ccode>error\u003C\u002Fcode> and HTTP Status Code (\u003Ca href=\"#Error Codes\" target=\"_blank\" rel=\"noreferrer\">Error Codes\u003C\u002Fa>):\u003C\u002Fp>\n    \u003Cdiv class=\"ad-table\">\n    \u003Ctable>\n      \u003Cthead>\u003Ctr>\u003Cth>HTTP\u003C\u002Fth>\u003Cth>error.code\u003C\u002Fth>\u003Cth>error.message\u003C\u002Fth>\u003Cth>Description\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n      \u003Ctbody>\n        \u003Ctr>\u003Ctd>404\u003C\u002Ftd>\u003Ctd>\u003Ccode>NotFound\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Task not found\u003C\u002Ftd>\u003Ctd>Task ID in or first API Key\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>400\u003C\u002Ftd>\u003Ctd>\u003Ccode>CancelNotSupported\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>task supported\u003C\u002Ftd>\u003Ctd>taskwill complete and\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>409\u003C\u002Ftd>\u003Ctd>\u003Ccode>TaskFinished\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>task, no\u003C\u002Ftd>\u003Ctd>taskcomplete, in, after query can; complete after can data\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>409\u003C\u002Ftd>\u003Ctd>\u003Ccode>TaskRunning\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>task, no, will complete and\u003C\u002Ftd>\u003Ctd>taskin in, no\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>503\u003C\u002Ftd>\u003Ctd>\u003Ccode>ServiceUnavailable\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>taskin, after\u003C\u002Ftd>\u003Ctd>taskcreate, in, after can\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>503\u003C\u002Ftd>\u003Ctd>\u003Ccode>ServiceUnavailable\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>taskFailure, after\u003C\u002Ftd>\u003Ctd>when Failure, not, can\u003C\u002Ftd>\u003C\u002Ftr>\n      \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n    \u003C\u002Fdiv>\n  \u003Ch4 id=\"note-localized-example-text-taskusually-when-inid-after-etc-pollingstatus-after-in-no-task-query-results-as-returnrunning-when-query-task-status-ascancelled-success-and-assucceeded-task-complete-localized-example-text-taskdata-after-video-can\">Note-\u003Cstrong>localized example text\u003C\u002Fstrong>:taskUsually, when in\u003Ccode>id\u003C\u002Fcode> after, etc. PollingStatus after \n-\u003Cstrong>in no\u003C\u002Fstrong>:task\n-\u003Cstrong>query results as\u003C\u002Fstrong>:return\u003Ccode>running\u003C\u002Fcode> when Query Task Status, as\u003Ccode>cancelled\u003C\u002Fcode> Success and, as\u003Ccode>succeeded\u003C\u002Fcode> task complete \n-\u003Cstrong>localized example text\u003C\u002Fstrong>:taskdata,; after video can,\u003C\u002Fh4>\u003Cp>---## Callback Notification\u003C\u002Fp>\u003Cp>task complete (Success or Failure) when, if Create Task when provide\u003Ccode>callback_url\u003C\u002Fcode>, was provided when creating the task, the system sends a POST request to that URL.and query endpoint,.taskwhen will:\u003Ccode>status\u003C\u002Fcode> as\u003Ccode>failed\u003C\u002Fcode>, \u003Ccode>errorMsg\u003C\u002Fcode> as\u003Ccode>Task cancelled\u003C\u002Fcode>.\u003C\u002Fp>\u003Cp>\u003Cstrong>Headers\u003C\u002Fstrong>\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>Content-Type: application\u002Fjson\nX-Funcloud-Event: task.completed\nX-Funcloud-Signature: {localized example text}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>\u003Cstrong>Body\u003C\u002Fstrong>\u003C\u002Fp>\u003Cdiv class=\"ad-code\" data-lang=\"json\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>{\n &quot;event&quot;: &quot;task.completed&quot;,\n &quot;taskId&quot;: &quot;task_20260817163906_i0ing18n&quot;,\n &quot;status&quot;: &quot;success&quot;,\n &quot;result&quot;: [&quot;https:\u002F\u002Fexample-oss.com\u002Fvideos\u002Foutput.mp4&quot;],\n &quot;errorMsg&quot;: &quot;&quot;,\n &quot;timestamp&quot;: &quot;2026-08-17T16:42:22+08:00&quot;,\n &quot;signature&quot;: &quot;a1b2c3d4e5f6...&quot;\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Chr \u002F>\u003Ch2 id=\"task-type-omni_reference_task_type\">Task Type (omni_reference_task_type)\u003C\u002Fh2>\u003Cp>If omittedwhen input asset:Reference video→ \u003Ccode>auto\u003C\u002Fcode>; \u002F last frame→ last frame;→ \u003Ccode>reference\u003C\u002Fcode>.\u003C\u002Fp>\n    \u003Cdiv class=\"ad-table\">\n    \u003Ctable>\n      \u003Cthead>\u003Ctr>\u003Cth>localized example text\u003C\u002Fth>\u003Cth>Description\u003C\u002Fth>\u003Cth>asset Requirements\u003C\u002Fth>\u003Cth>ratio\u003C\u002Fth>\u003Cth>duration\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n      \u003Ctbody>\n        \u003Ctr>\u003Ctd>\u003Ccode>auto\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>:Reference video when etc. Video Editing\u003C\u002Ftd>\u003Ctd>no\u003C\u002Ftd>\u003Ctd>Reference video when\u003Ccode>adaptive\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Reference video when\u003Ccode>-1\u003C\u002Fcode>\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ccode>reference\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>\u002F Reference image \u002F last frame Video\u003C\u002Ftd>\u003Ctd>no\u003C\u002Ftd>\u003Ctd>can ( last frame when\u003Ccode>adaptive\u003C\u002Fcode>)\u003C\u002Ftd>\u003Ctd>can\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ccode>edit\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Video Editing:reference Video Generation\u003C\u002Ftd>\u003Ctd>mustlocalized example text\u003Ccode>role=reference_video\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>localized example text\u003Ccode>adaptive\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>localized example text\u003Ccode>-1\u003C\u002Fcode>\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>\u003Ccode>extend\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>videolocalized example text\u003C\u002Ftd>\u003Ctd>mustlocalized example text\u003Ccode>role=reference_video\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>localized example text\u003Ccode>adaptive\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>can\u003C\u002Ftd>\u003C\u002Ftr>\n      \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n    \u003C\u002Fdiv>\n  \u003Cp>localized example text\u003Ccode>adaptive\u003C\u002Fcode> when output input asset,\u003Ccode>ratio\u003C\u002Fcode> localized example text.localized example text\u003Ccode>-1\u003C\u002Fcode> when output DurationModel, token.\u003Ccode>edit\u003C\u002Fcode> \u002F \u003Ccode>extend\u003C\u002Fcode> Reference video when Request will (HTTP 400).localized example text\u003Ccode>auto\u003C\u002Fcode> \u002F \u003Ccode>reference\u003C\u002Fcode> \u002F \u003Ccode>edit\u003C\u002Fcode> \u002F \u003Ccode>extend\u003C\u002Fcode> return 400.\u003C\u002Fp>\u003Chr \u002F>\u003Ch2 id=\"error-codes\">Error Codes\u003C\u002Fh2>\u003Cp>ErrorHTTP Status Code and\u003Ccode>error\u003C\u002Fcode> return:```json\u003Cbr \u002F>{\u003Cbr \u002F> &quot;error&quot;: {\u003Cbr \u002F> &quot;code&quot;: &quot;InvalidParameter&quot;,\u003Cbr \u002F> &quot;message&quot;: &quot;Errorlocalized example text&quot;,\u003Cbr \u002F> &quot;type&quot;: &quot;BadRequest&quot;\u003Cbr \u002F> }\u003Cbr \u002F>}\u003C\u002Fp>\u003Cdiv class=\"ad-code\">\u003Cbutton class=\"ad-code__copy\" type=\"button\" data-copy>Copy\u003C\u002Fbutton>\u003Cpre>\u003Ccode>\n| HTTP | error.code | error.type | localized example text|\n|------|-----------|-----------|-------------|\n| 400 | `InvalidParameter` | `BadRequest` | `model as`, `supported model: xxx`, `content as`, `content in must text Type Prompt`, `resolution onlysupported 480p, 720p or 1080p`, `duration onlysupported 4~30 secondsor -1(Duration)`, `asset image exceeds 30 images`, `Reference videoexceeds 10`, `Reference audioexceeds 10`, `outputFormat onlysupported mp4 or mov`, `bitrateMode onlysupported standard \u002F high` |\n| 401 | `AuthenticationError` | `Unauthorized` | API Key invalid or missing |\n| 402 | `InsufficientBalance` | `PaymentRequired` | Insufficient balance |\n| 403 | `PermissionDenied` | `Forbidden` | no|\n| 404 | `NotFound` | `NotFound` | Task not found; or`Model not: xxx` |\n| 400 | `CancelNotSupported` | `BadRequest` | task:task supported|\n| 409 | `TaskFinished` | `Conflict` | task:task, no|\n| 409 | `TaskRunning` | `Conflict` | task:task, no|\n| 500 | `InternalServiceError` | `InternalServerError` | Internal server error, can|\n| 503 | `ServiceUnavailable` | `ServiceUnavailable` | task: when Failure, can|\n\nrecommendedHTTP Status Code ( can \u002F Parameter \u002F ),`error.code` localized example text.\n\nwith (Success and Failure)`X-Trace-Id`, Request.when provide and task`id`.\n\n---\n\n## Migrating from V2\n\n| localized example text| V2 | V3 ()|\n|------|----|-------------|\n| create Path| ModelPath| localized example text`POST \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`, Modellocalized example text`model` localized example text|\n| query Path| V2 query endpoint| `GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}` |\n| fieldlocalized example text| camelCase (`generateAudio`) | snake_case (`generate_audio`) |\n| create| `{code, msg, data}` localized example text| localized example text`{&quot;id&quot;: &quot;...&quot;}` |\n| query| localized example text+ `data.output` localized example text| return task|\n| Errorlocalized example text| Error Codes| HTTP Status Code+ `{&quot;error&quot;: {...}}` |\n| `ratio` Default | `16:9` | `adaptive` |\n| V3 localized example text| — | `omni_reference_task_type`, listquery endpoint|\n\nV2 endpointcan use, task and.fieldDescription[Seedance 2.5 V2 endpointlocalized example text](\u002Fdocs\u002Fseedance-2-5-v2).\n\n---\n\n## Best Practices\n\n### 1. Polling Strategy\n\n- First 30 seconds:query every 3 seconds\n- 30 seconds ~ 2 minutes:query every 5 seconds\n- After 2 minutes:query every 10 seconds\n\n### 2. Status Handling\n\nlocalized example text`status`:`running` as processing (),`succeeded` localized example text`content.video_url`, `failed` localized example text`error.message`, `cancelled` Task cancelled,.\n\n### 3. Prompt Tips\n\n- Prompt:3~ 20,000 characters\n- Prompt = subject+,+,+ - can (,, etc. )\n-&quot;Image 1&quot;, &quot;Image 2&quot;, &quot;Video 1&quot;, &quot;Audio 1&quot; content in Location reference asset \n- generated result when, \n- with when, recommended image Modelimage, Image-to-Video\n\n---## FAQ\n\n### Q1: can`frames` localized example text？\n\n**A**: recommended.will`frames`, Model first Parameter, will return ParameterError.localized example text`duration` Duration.\n\n### Q2: If omitted `duration` will？\n\n**A**: Duration`-1`, output Model, token, create when 30 seconds, after.can 4~ 30 seconds.\n\n### Q3: Why are fields like `duration` and `resolution` missing from the query response?\n\n**A**: fieldonly in with returned when applicable, in with`id` \u002F `model` \u002F `status` \u002F `created_at` \u002F `updated_at`.localized example text「fieldcan in」Method.\n\n### Q4: Will the `model` I send be rewritten?\n\n**A**: will.query`model` Create Task when.\n\n### Q5: Can I omit text inside content?\n\n**A**: can.mustlocalized example text`text` TypeContent item as Prompt, Request (HTTP 400).\n\n---\n\n## Task ID \n\nOptional,.after with API Key, V3 endpoint, V2 endpoint.\n\n| Item | not (default)| after|\n|------|---------------|--------|\n| create, query, list, endpoint return`id` | Task ID (`task_` )| Task ID (`cgt-20261104163907-xxxxx`), create endpointsee belowDescription|\n| query, list, endpoint ID| Task ID| Task ID and Task ID can|\n| video`content.video_url` | default return|, 24 hours after|\n| query, listendpoint return`model` | Create Taskwhen`model` localized example text| ModelID:`doubao-seedance-2-5-260628` |\n| frame rate field| `frames_per_second` | `frames_per_second` and`framespersecond` returned when applicable,|\n| in the`taskId` | Task ID| Task ID ()|\n\n**create endpoint return ID**\n\n- not`real_person_mode` or`false`:create endpoint etc. task complete after return Task ID, up to etc. 30 seconds; when return Task ID, task execute.create endpoint when as 30 seconds.\n- localized example text`real_person_mode: true`:create endpoint return Task ID, after query endpoint return Task ID.\n\nID task, can.recommendedquery endpoint return`id` as.\n\n**Notelocalized example text**\n\n- 24 hours after, in taskSuccess after and when.\n- Task ID create task API Key query or, Key ( query return HTTP 404).\n\n---\n\n## Technical Support\n\nIf you have any questions, please contact our technical support team.\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>","# Seedance 2.5 Video Generation \n\n> as**V3 localized example text** (snake_case Request Body + ).in use endpoint[Seedance 2.5 V2 endpointlocalized example text](\u002Fdocs\u002Fseedance-2-5-v2).task and, can.\n\n## Overview\n\nSeedance 2.5 Video Generationendpoint, supported, image, video, audio etc. input video.Request Bodyand snake_case, with, Model`model` fieldlocalized example text.\n\n**localized example text**:\n- 🎬 **localized example text**:, and \n-🧠 **localized example text**:image, video, audio etc. reference asset \n-⏱️ **Duration**:`duration` default `-1`, output Model, can 4~30 seconds\n- 🔊 **defaultaudio**:`generate_audio` not when default`true`\n- 🇨🇳 **localized example text**:as**Base URL**: `https:\u002F\u002Fmm-internal-cn.leonecloud.com` ()> and when, can height[Seedance 2.5 Flash](\u002Fdocs\u002Fseedance-2-5-flash) (and, reference asset 10 image \u002F 5 video \u002F 5 audio, Resolutiononly 480p \u002F 720p, supported and task).\n\n---\n\n## Authentication\n\nAll endpoints require a token in the request header for authentication:\n\n```\nAuthorization: Bearer {YOUR_AUTH_TOKEN}\n```\n\nFailurereturned when applicable HTTP 401:```json\n{\n \"error\": {\n \"code\": \"AuthenticationError\",\n \"message\": \"API Key no\",\n \"type\": \"Unauthorized\"\n }\n}\n```\n\n---\n\n## model Values\n\n`model` as**Required**field, as:| model | Description |\n|-------|------|\n| `seedance-2-5` |, supported Duration|\n\nlocalized example text`model` return HTTP 400 (`supported model: xxx`); not Model return HTTP 404 (`Model not: xxx`).\n\n---\n\n## Defaultand value range| field | Default | value range |\n|------|--------|---------|\n| `ratio` | `adaptive` | `adaptive` \u002F `16:9` \u002F `9:16` \u002F `1:1` \u002F `4:3` \u002F `3:4` \u002F `21:9` |\n| `duration` | `-1` (Duration)| 4 ~ 30 seconds, or`-1` |\n| `resolution` | `720p` | `480p` \u002F `720p` \u002F `1080p` |\n| `generate_audio` | `true` | `true` \u002F `false` |\n| `output_format` | `mp4` | `mp4` \u002F `mov` |\n| `bitrate_mode` | If omitted (etc.`standard`) | `standard` \u002F `high` |\n| `watermark` | `false` | `true` \u002F `false` |\n\n**asset**:Reference imageup to 30 images, Reference videoup to 10, Reference audioup to 10.\n\n### duration\n\n- **Duration (default`-1`)**:output DurationModel.when token, create when 30 seconds, task after.\n- **Duration**:4~ 30 seconds, can.\n\nrange return HTTP 400:`duration onlysupported 4~30 secondsor -1(Duration)`.\n\n### resolution\n\nsupported`480p` \u002F `720p` \u002F `1080p`, default `720p`.return HTTP 400:`resolution onlysupported 480p, 720p or 1080p`.\n\n---\n\n## Supported Scenarios\n\n### Scenario 1: Text-to-Video\n\n```bash\ncurl -X POST \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" \\\n -H \"Authorization: Bearer your_auth_token_here\" \\\n -H \"Content-Type: application\u002Fjson\" \\\n -d '{\n \"model\": \"seedance-2-5\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \",,,, in, with\"\n }\n ],\n \"ratio\": \"16:9\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"generate_audio\": true\n }'\n```\n\n### Scenario 2: Image-to-Video (First Frame)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" \\\n -H \"Authorization: Bearer your_auth_token_here\" \\\n -H \"Content-Type: application\u002Fjson\" \\\n -d '{\n \"model\": \"seedance-2-5\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \",,,\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fportrait.jpg\" },\n \"role\": \"first_frame\"\n }\n ],\n \"duration\": 5,\n \"resolution\": \"720p\"\n }'\n```\n\n### Scenario 3: First\u002FLast Frame to Video\n\nfirst frame and last frame image, Model image video.first frame \u002F last frame when output input asset,`ratio` localized example text.\n\n```bash\ncurl -X POST \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" \\\n -H \"Authorization: Bearer your_auth_token_here\" \\\n -H \"Content-Type: application\u002Fjson\" \\\n -d '{\n \"model\": \"seedance-2-5\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"number images image number images image,, and,\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fframe_start.jpg\" },\n \"role\": \"first_frame\"\n },\n {\n \"type\": \"image_url\",\n \"image_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fframe_end.jpg\" },\n \"role\": \"last_frame\"\n }\n ],\n \"duration\": 5,\n \"resolution\": \"720p\"\n }'\n```\n\n### Scenario4:image Reference-to-Video\n\n in Prompt in\"Image 1\", \"Image 2\" (up to 30 images ).\n\n```bash\ncurl -X POST \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" \\\n -H \"Authorization: Bearer your_auth_token_here\" \\\n -H \"Content-Type: application\u002Fjson\" \\\n -d '{\n \"model\": \"seedance-2-5\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"[Image 1]T and[Image 2], in[image3], video\"\n },\n { \"type\": \"image_url\", \"image_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fboy.png\" }, \"role\": \"reference_image\" },\n { \"type\": \"image_url\", \"image_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fdog.png\" }, \"role\": \"reference_image\" },\n { \"type\": \"image_url\", \"image_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fgrass.png\" }, \"role\": \"reference_image\" }\n ],\n \"ratio\": \"16:9\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }'\n```\n\n### Scenario5:Video Editing\n\n`omni_reference_task_type=edit` mustlocalized example text`role=reference_video` Reference video, and will`ratio=adaptive` and`duration=-1` (input video).\n\n```bash\ncurl -X POST \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" \\\n -H \"Authorization: Bearer your_auth_token_here\" \\\n -H \"Content-Type: application\u002Fjson\" \\\n -d '{\n \"model\": \"seedance-2-5\",\n \"content\": [\n { \"type\": \"text\", \"text\": \"will Video 1 in the, as\" },\n { \"type\": \"video_url\", \"video_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fhouse.mp4\" }, \"role\": \"reference_video\" }\n ],\n \"omni_reference_task_type\": \"edit\",\n \"resolution\": \"720p\"\n }'\n```\n\n### Scenario6:videolocalized example text`omni_reference_task_type=extend` mustReference video,`ratio=adaptive`, `duration` localized example text.\n\n```bash\ncurl -X POST \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\" \\\n -H \"Authorization: Bearer your_auth_token_here\" \\\n -H \"Content-Type: application\u002Fjson\" \\\n -d '{\n \"model\": \"seedance-2-5\",\n \"content\": [\n { \"type\": \"text\", \"text\": \",, as\" },\n { \"type\": \"video_url\", \"video_url\": { \"url\": \"https:\u002F\u002Fexample.com\u002Fclip.mp4\" }, \"role\": \"reference_video\" }\n ],\n \"omni_reference_task_type\": \"extend\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }'\n```\n\n---\n\n## Endpoint details\n\n### 1. Create Task\n\n**POST** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`\n\n**Content-Type**: `application\u002Fjson`\n\n#### Request Parameters\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| model | string | Yes | localized example text`seedance-2-5` |\n| content | array | Yes |,[content Items](#content-Content item) |\n| omni_reference_task_type | string | No | Task Type:`auto` \u002F `reference` \u002F `edit` \u002F `extend`.If omittedwhen input asset,[Task Type](#Task Type-omni_reference_task_type) |\n| ratio | string | No | Aspect ratio, default `adaptive`.Scenario will as`adaptive` |\n| duration | int | No | videoDuration (seconds), 4~30 or`-1`, default `-1` |\n| frames | int | No |,.⚠️ Model first Parameter, will return ParameterError; Duration`duration` |\n| resolution | string | No | Output resolution:`480p` \u002F `720p` \u002F `1080p`, default `720p` |\n| generate_audio | bool | No | audio, default`true` |\n| output_format | string | No | output Format:`mp4`(default) \u002F `mov` |\n| bitrate_mode | string | No | Resolution output:`standard`(default, etc. If omitted) \u002F`high`.`high` as,, file.return ParameterError|\n| watermark | bool | No | watermark, default`false` |\n| seed | int | No | random seed, localized example text.localized example text|\n| camera_fixed | bool | No | Whether to fix the camera, localized example text.⚠️ Model first Parameter, will return ParameterError|\n| return_last_frame | bool | No | return last-frame image|\n| callback_url | string | No | Callback notification URL after the task is complete, Format[Callback Notification](#Callback Notification) |\n| task_nickname | string | No | Task label for business tracking |\n| real_person_mode | bool | No |, default`false` |\n| priority | int | No |,|\n| service_tier | string | No |,|\n| execution_expires_after | int | No | taskexecute when (seconds),|\n| safety_identifier | string | No |,|\n| draft | bool | No |,|\n\n> localized example text「localized example text」field,, as Model.\n\n#### content Items\n\n| Type | field | Description |\n|-----|------|------|\n| text | `type`: \"text\", `text`: \"Prompt\" | **must**, videoPrompt (3-20000characters)|\n| image_url | `type`: \"image_url\", `image_url`: {\"url\": \"URL\"}, `role`: see below | Reference image (up to 30 images, supported jpeg\u002Fpng\u002Fwebp\u002Fbmp\u002Ftiff\u002Fgif, Aspect ratio 0.4-2.5, dimensions 300-6000px, maximum 30MB)|\n| video_url | `type`: \"video_url\", `video_url`: {\"url\": \"URL\"}, `role`: \"reference_video\" | Reference video (up to 10, mp4\u002Fmov, 480p\u002F720p, 2-15 seconds, maximum 200MB, 24-60FPS) |\n| audio_url | `type`: \"audio_url\", `audio_url`: {\"url\": \"URL\"}, `role`: \"reference_audio\" | Reference audio (up to 10, wav\u002Fmp3, 2-15 seconds, maximum 15MB) |\n\ncontent must`text` TypeContent item as Prompt, return HTTP 400 (`content in must text Type Prompt`); `content` as return 400 (`content as`).in Prompt in\"Image 1\", \"Image 2\", \"Video 1\", \"Audio 1\" Location reference asset.\n\n> asset: in[Seedance asset](\u002Fdocs\u002Fseedance-asset-library) create asset, Status as`Active` after, in`image_url.url` \u002F `video_url.url` \u002F `audio_url.url` in`asset:\u002F\u002F\u003Casset Id>` can.\n\n#### role Values for image_url\n\n| role localized example text| Description |\n|---------|------|\n| `reference_image` | Reference image |\n| `first_frame` | first-frame image |\n| `last_frame` | last-frame image |\n\n#### Response Parameters\n\ncreate Success return HTTP 200:| Parameter | Type | Description |\n|-----|------|------|\n| id | string | Task ID, used to query task status |\n\n#### Response Example\n\n```json\n{\n \"id\": \"task_20260817163906_i0ing18n\"\n}\n```\n\ncreate Failure return HTTP Status Code,[Error Codes](#Error Codes):\n\n```json\n{\n \"error\": {\n \"code\": \"InvalidParameter\",\n \"message\": \"resolution onlysupported 480p, 720p or 1080p\",\n \"type\": \"BadRequest\"\n }\n}\n```\n\n---\n\n### 2. Query Task Status\n\n**GET** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}`\n\n#### Path Parameters\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| id | string | Yes | Task ID (create endpoint return`id`) |\n\n#### Response Parameters\n\n| Parameter | Type | Description |\n|-----|------|------|\n| id | string | Task ID |\n| model | string | Create Taskwhen`model` localized example text|\n| status | string | Task Status:`running` (queuedand in as`running`)\u002F `succeeded` \u002F `failed` \u002F `cancelled` (,「4. \u002F task」) |\n| content.video_url | string | video URL (`succeeded` returned when applicable) |\n| content.last_frame_url | string | last frame image URL (Request`return_last_frame` with returned when applicable)|\n| error.code | string | Error Codes (`failed` returned when applicable) |\n| error.message | string | Error(`failed` returned when applicable) |\n| created_at | int | Created Time (Unix seconds) |\n| updated_at | int | Updated Time (Unix seconds) |\n| usage.completion_tokens | int | token|\n| usage.prompt_tokens | int | token|\n| usage.total_tokens | int | token|\n\nreturn field with`id` \u002F `model` \u002F `status` \u002F `created_at` \u002F `updated_at`.`duration` \u002F `frames_per_second` \u002F `generate_audio` \u002F `ratio` \u002F `resolution` \u002F `service_tier` \u002F `priority` \u002F `output_format` \u002F `draft` \u002F `execution_expires_after` \u002F `usage` \u002F `content.last_frame_url` etc. fieldonly in with returned when applicable,「fieldcan in」Method.token in task complete after return.\n\n#### Response Example\n\n**processing**\n```json\n{\n \"id\": \"task_20260817163906_i0ing18n\",\n \"model\": \"seedance-2-5\",\n \"status\": \"running\",\n \"created_at\": 1786955946,\n \"updated_at\": 1786955950\n}\n```\n\n**Success**\n```json\n{\n \"id\": \"task_20260817163906_i0ing18n\",\n \"model\": \"seedance-2-5\",\n \"status\": \"succeeded\",\n \"content\": {\n \"video_url\": \"https:\u002F\u002Fexample-oss.com\u002Fvideos\u002F2026\u002F08\u002F17\u002Foutput.mp4\"\n },\n \"duration\": 5,\n \"ratio\": \"16:9\",\n \"resolution\": \"720p\",\n \"output_format\": \"mp4\",\n \"created_at\": 1786955946,\n \"updated_at\": 1786956142\n}\n```\n\n**Failure**\n```json\n{\n \"id\": \"task_20260817163906_i0ing18n\",\n \"model\": \"seedance-2-5\",\n \"status\": \"failed\",\n \"error\": {\n \"code\": \"InternalServiceError\",\n \"message\": \"Video GenerationFailure, localized example text\"\n },\n \"created_at\": 1786955946,\n \"updated_at\": 1786956060\n}\n```\n\n**Task not found** (HTTP 404)\n```json\n{\n \"error\": {\n \"code\": \"NotFound\",\n \"message\": \"Task not found\",\n \"type\": \"NotFound\"\n }\n}\n```\n\n---\n\n### 3. Query Tasklist\n\nConditionQuery Task, return task Status.\n\n**GET** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`\n\n#### Query Parameter\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| filter.task_ids | string[] | No | Task ID,, supported.Parameter:`filter.task_ids=id1&filter.task_ids=id2`.If omittedreturn first API Key tasklist|\n| filter.status | string | No | Status:`queued` \u002F `running` \u002F `succeeded` \u002F `failed` \u002F `cancelled`, in`queued` and`running` processing.If omittedStatus ( not will return list)|\n| page_num | int | No |, default`1`, range `[1, 500]`, localized example text|\n| page_size | int | No |, default`20`, range `[1, 500]`, localized example text|\n\n> query first API Key task, no query task.`filter.model` and`filter.service_tier` can Request, will.\n\n#### Response Parameters\n\n| Parameter | Type | Description |\n|-----|------|------|\n| items | array | tasklist, and「2. Query Task Status」exactly identical|\n| total | int | Condition task|\n\n#### Request Example\n\n```\nGET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks?filter.status=succeeded&page_num=1&page_size=20\nAuthorization: Bearer {API_KEY}\n```\n\n#### Response Example\n\n```json\n{\n \"items\": [\n {\n \"id\": \"task_20260817163906_i0ing18n\",\n \"model\": \"seedance-2-5\",\n \"status\": \"succeeded\",\n \"content\": {\n \"video_url\": \"https:\u002F\u002Fexample-oss.com\u002Fvideos\u002F2026\u002F08\u002F17\u002Foutput.mp4\"\n },\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"created_at\": 1786955946,\n \"updated_at\": 1786956142\n }\n ],\n \"total\": 1\n}\n```\n\n---\n\n### 4. \u002F task**DELETE** `\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}`\n\nas task first Status, can:| Task Status | as| localized example text|\n|---------|------|---------|\n| queued | task, Status as`cancelled` | localized example text|\n| in| no.task will Request ( return`running`):taskStatus when, complete; task return HTTP 409`TaskRunning` | Success when; complete|\n| (`succeeded` \u002F `failed` \u002F `cancelled`) | task data, task as| ()|\n\ntask after supported, returned when applicable HTTP 400`CancelNotSupported`, taskcomplete and.\n\n#### Path Parameters\n\n| Parameter | Type | Required | Description |\n|-----|------|-----|------|\n| id | string | Yes | Task ID (create endpoint return`id`) |\n\n#### Response Parameters\n\n| Parameter | Type | Description |\n|-----|------|------|\n| id | string | Task ID |\n| status | string | after Task Status:`cancelled`;`running` Request, after query results as;`succeeded` \u002F `failed` tasklocalized example text|\n| message | string | Description|\n\n#### Request Example\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fmm-internal-cn.leonecloud.com\u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002Ftask_20260817163906_i0ing18n\" \\\n -H \"Authorization: Bearer {API_KEY}\"\n```\n\n#### Response Example\n\nqueuedtaskSuccess:```json\n{\n \"id\": \"task_20260817163906_i0ing18n\",\n \"status\": \"cancelled\",\n \"message\": \"Task cancelled, localized example text\"\n}\n```\n\nin task (Request, can ):```json\n{\n \"id\": \"task_20260817163906_i0ing18n\",\n \"status\": \"running\",\n \"message\": \"taskin no, as Request: will, taskStatus and; task complete, will, no\"\n}\n```\n\ntaskSuccess ( return ):```json\n{\n \"id\": \"task_20260817163906_i0ing18n\",\n \"status\": \"succeeded\",\n \"message\": \"task data, task as\"\n}\n```\n\nFailurereturned when applicable `error` and HTTP Status Code ([Error Codes](#Error Codes)):\n\n| HTTP | error.code | error.message | Description |\n|------|-----------|---------------|------|\n| 404 | `NotFound` | Task not found | Task ID in or first API Key|\n| 400 | `CancelNotSupported` | task supported| taskwill complete and|\n| 409 | `TaskFinished` | task, no| taskcomplete, in, after query can; complete after can data|\n| 409 | `TaskRunning` | task, no, will complete and| taskin in, no|\n| 503 | `ServiceUnavailable` | taskin, after| taskcreate, in, after can|\n| 503 | `ServiceUnavailable` | taskFailure, after| when Failure, not, can|\n\n#### Note-**localized example text**:taskUsually, when in`id` after, etc. PollingStatus after \n-**in no**:task\n-**query results as**:return`running` when Query Task Status, as`cancelled` Success and, as`succeeded` task complete \n-**localized example text**:taskdata,; after video can, \n\n---## Callback Notification\n\ntask complete (Success or Failure) when, if Create Task when provide`callback_url`, was provided when creating the task, the system sends a POST request to that URL.and query endpoint,.taskwhen will:`status` as`failed`, `errorMsg` as`Task cancelled`.\n\n**Headers**\n```\nContent-Type: application\u002Fjson\nX-Funcloud-Event: task.completed\nX-Funcloud-Signature: {localized example text}\n```\n\n**Body**\n```json\n{\n \"event\": \"task.completed\",\n \"taskId\": \"task_20260817163906_i0ing18n\",\n \"status\": \"success\",\n \"result\": [\"https:\u002F\u002Fexample-oss.com\u002Fvideos\u002Foutput.mp4\"],\n \"errorMsg\": \"\",\n \"timestamp\": \"2026-08-17T16:42:22+08:00\",\n \"signature\": \"a1b2c3d4e5f6...\"\n}\n```\n\n---\n\n## Task Type (omni_reference_task_type)\n\nIf omittedwhen input asset:Reference video→ `auto`; \u002F last frame→ last frame;→ `reference`.\n\n| localized example text| Description | asset Requirements| ratio | duration |\n|------|------|----------|-------|----------|\n| `auto` |:Reference video when etc. Video Editing| no| Reference video when`adaptive` | Reference video when`-1` |\n| `reference` | \u002F Reference image \u002F last frame Video| no| can ( last frame when`adaptive`) | can|\n| `edit` | Video Editing:reference Video Generation| mustlocalized example text`role=reference_video` | localized example text`adaptive` | localized example text`-1` |\n| `extend` | videolocalized example text| mustlocalized example text`role=reference_video` | localized example text`adaptive` | can|\n\nlocalized example text`adaptive` when output input asset,`ratio` localized example text.localized example text`-1` when output DurationModel, token.`edit` \u002F `extend` Reference video when Request will (HTTP 400).localized example text`auto` \u002F `reference` \u002F `edit` \u002F `extend` return 400.\n\n---\n\n## Error Codes\n\nErrorHTTP Status Code and`error` return:```json\n{\n \"error\": {\n \"code\": \"InvalidParameter\",\n \"message\": \"Errorlocalized example text\",\n \"type\": \"BadRequest\"\n }\n}\n```\n\n| HTTP | error.code | error.type | localized example text|\n|------|-----------|-----------|-------------|\n| 400 | `InvalidParameter` | `BadRequest` | `model as`, `supported model: xxx`, `content as`, `content in must text Type Prompt`, `resolution onlysupported 480p, 720p or 1080p`, `duration onlysupported 4~30 secondsor -1(Duration)`, `asset image exceeds 30 images`, `Reference videoexceeds 10`, `Reference audioexceeds 10`, `outputFormat onlysupported mp4 or mov`, `bitrateMode onlysupported standard \u002F high` |\n| 401 | `AuthenticationError` | `Unauthorized` | API Key invalid or missing |\n| 402 | `InsufficientBalance` | `PaymentRequired` | Insufficient balance |\n| 403 | `PermissionDenied` | `Forbidden` | no|\n| 404 | `NotFound` | `NotFound` | Task not found; or`Model not: xxx` |\n| 400 | `CancelNotSupported` | `BadRequest` | task:task supported|\n| 409 | `TaskFinished` | `Conflict` | task:task, no|\n| 409 | `TaskRunning` | `Conflict` | task:task, no|\n| 500 | `InternalServiceError` | `InternalServerError` | Internal server error, can|\n| 503 | `ServiceUnavailable` | `ServiceUnavailable` | task: when Failure, can|\n\nrecommendedHTTP Status Code ( can \u002F Parameter \u002F ),`error.code` localized example text.\n\nwith (Success and Failure)`X-Trace-Id`, Request.when provide and task`id`.\n\n---\n\n## Migrating from V2\n\n| localized example text| V2 | V3 ()|\n|------|----|-------------|\n| create Path| ModelPath| localized example text`POST \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks`, Modellocalized example text`model` localized example text|\n| query Path| V2 query endpoint| `GET \u002Fapi\u002Fv3\u002Fcontents\u002Fgenerations\u002Ftasks\u002F{id}` |\n| fieldlocalized example text| camelCase (`generateAudio`) | snake_case (`generate_audio`) |\n| create| `{code, msg, data}` localized example text| localized example text`{\"id\": \"...\"}` |\n| query| localized example text+ `data.output` localized example text| return task|\n| Errorlocalized example text| Error Codes| HTTP Status Code+ `{\"error\": {...}}` |\n| `ratio` Default | `16:9` | `adaptive` |\n| V3 localized example text| — | `omni_reference_task_type`, listquery endpoint|\n\nV2 endpointcan use, task and.fieldDescription[Seedance 2.5 V2 endpointlocalized example text](\u002Fdocs\u002Fseedance-2-5-v2).\n\n---\n\n## Best Practices\n\n### 1. Polling Strategy\n\n- First 30 seconds:query every 3 seconds\n- 30 seconds ~ 2 minutes:query every 5 seconds\n- After 2 minutes:query every 10 seconds\n\n### 2. Status Handling\n\nlocalized example text`status`:`running` as processing (),`succeeded` localized example text`content.video_url`, `failed` localized example text`error.message`, `cancelled` Task cancelled,.\n\n### 3. Prompt Tips\n\n- Prompt:3~ 20,000 characters\n- Prompt = subject+,+,+ - can (,, etc. )\n-\"Image 1\", \"Image 2\", \"Video 1\", \"Audio 1\" content in Location reference asset \n- generated result when, \n- with when, recommended image Modelimage, Image-to-Video\n\n---## FAQ\n\n### Q1: can`frames` localized example text？\n\n**A**: recommended.will`frames`, Model first Parameter, will return ParameterError.localized example text`duration` Duration.\n\n### Q2: If omitted `duration` will？\n\n**A**: Duration`-1`, output Model, token, create when 30 seconds, after.can 4~ 30 seconds.\n\n### Q3: Why are fields like `duration` and `resolution` missing from the query response?\n\n**A**: fieldonly in with returned when applicable, in with`id` \u002F `model` \u002F `status` \u002F `created_at` \u002F `updated_at`.localized example text「fieldcan in」Method.\n\n### Q4: Will the `model` I send be rewritten?\n\n**A**: will.query`model` Create Task when.\n\n### Q5: Can I omit text inside content?\n\n**A**: can.mustlocalized example text`text` TypeContent item as Prompt, Request (HTTP 400).\n\n---\n\n## Task ID \n\nOptional,.after with API Key, V3 endpoint, V2 endpoint.\n\n| Item | not (default)| after|\n|------|---------------|--------|\n| create, query, list, endpoint return`id` | Task ID (`task_` )| Task ID (`cgt-20261104163907-xxxxx`), create endpointsee belowDescription|\n| query, list, endpoint ID| Task ID| Task ID and Task ID can|\n| video`content.video_url` | default return|, 24 hours after|\n| query, listendpoint return`model` | Create Taskwhen`model` localized example text| ModelID:`doubao-seedance-2-5-260628` |\n| frame rate field| `frames_per_second` | `frames_per_second` and`framespersecond` returned when applicable,|\n| in the`taskId` | Task ID| Task ID ()|\n\n**create endpoint return ID**\n\n- not`real_person_mode` or`false`:create endpoint etc. task complete after return Task ID, up to etc. 30 seconds; when return Task ID, task execute.create endpoint when as 30 seconds.\n- localized example text`real_person_mode: true`:create endpoint return Task ID, after query endpoint return Task ID.\n\nID task, can.recommendedquery endpoint return`id` as.\n\n**Notelocalized example text**\n\n- 24 hours after, in taskSuccess after and when.\n- Task ID create task API Key query or, Key ( query return HTTP 404).\n\n---\n\n## Technical Support\n\nIf you have any questions, please contact our technical support team.",[551,555,558,561],{"id":552,"level":553,"text":554},"overview",2,"Overview",{"id":556,"level":553,"text":557},"authentication","Authentication",{"id":559,"level":553,"text":560},"task-type-omni_reference_task_type","Task Type (omni_reference_task_type)",{"id":562,"level":553,"text":563},"error-codes","Error Codes","2026-11-18T15:17:25.924Z",false,null,[568,571],{"hreflang":569,"href":570},"zh-CN","https:\u002F\u002Fdocs.leonecloud.com\u002Fdocs\u002Fseedance-2-5",{"hreflang":572,"href":570},"x-default",{"title":574,"description":575,"canonical":440,"jsonLd":576},"Seedance 2.5 Video Generation API Documentation | LeoneCloud","Seedance 2.5 Video Generationendpoint, supported, image, video, audio etc. input video.Request Bodyand snake_case, with, Modelmodel fieldlocalized example…",[577,591],{"@context":348,"@type":353,"headline":160,"name":160,"description":575,"inLanguage":350,"url":440,"mainEntityOfPage":578,"articleSection":580,"about":581,"publisher":585,"isPartOf":589},{"@type":579,"@id":440},"WebPage","Video",{"@type":582,"name":583,"applicationCategory":584},"SoftwareApplication","Seedance 2","DeveloperApplication",{"@type":586,"name":587,"url":588},"Organization","LeoneCloud","https:\u002F\u002Fdocs.leonecloud.com",{"@type":353,"name":590,"url":345},"API Documentation",{"@context":348,"@type":592,"itemListElement":593},"BreadcrumbList",[594,597,598,600],{"@type":595,"position":596,"name":587,"item":588},"ListItem",1,{"@type":595,"position":553,"name":590,"item":345},{"@type":595,"position":599,"name":580,"item":440},3,{"@type":595,"position":601,"name":160,"item":440},4,1795776626836]