# 文档 ## Docs - 根目录 [seedance 2.0(火山)接口 · 视频生成步骤](https://rrtz4tnyll.apifox.cn/9656573m0.md): - 根目录 [seedance 2.0(火山)接口 · 创建素材](https://rrtz4tnyll.apifox.cn/9656574m0.md): - 根目录 [seedance 2.0(火山)接口 · 创建视频任务](https://rrtz4tnyll.apifox.cn/9656575m0.md): - 根目录 [seedance 2.0(火山)接口 · 查询视频任务](https://rrtz4tnyll.apifox.cn/9656576m0.md): ## API Docs - 根目录 > 视频生成 [提交 Omni Flash 视频任务](https://rrtz4tnyll.apifox.cn/483694061e0.md): 提交异步视频任务,成功后返回 task_id。请保存 task_id,并使用 GET /v1/videos/{task_id} 查询进度和结果。不要为了查询状态重复提交 POST,否则会产生新的扣费任务。 - 根目录 > 任务查询 [查询视频任务状态](https://rrtz4tnyll.apifox.cn/483694062e0.md): 根据提交任务返回的 task_id 查询任务状态、进度和视频 URL。查询接口不会产生新的模型扣费。任务完成后请及时下载保存 video_url,上游结果地址通常存在有效期。 - 根目录 [Chat Completions - Multi-Agent](https://rrtz4tnyll.apifox.cn/475781143e0.md): OpenAI-compatible chat completions. Set multi_agent=true and service_tier=fast to enable upstream multi-sub-agent execution for supported dabuguoni language models. - 根目录 [Responses - Multi-Agent](https://rrtz4tnyll.apifox.cn/475781144e0.md): OpenAI-compatible Responses endpoint. Set multi_agent=true and service_tier=fast to enable upstream multi-sub-agent execution for supported dabuguoni language models. - 根目录 [Gemini Native Generate Content](https://rrtz4tnyll.apifox.cn/475781145e0.md): Gemini-native generateContent endpoint for non-agent Gemini models. This route does not require multi_agent. Agent Gemini models should use /v1/chat/completions or /v1/responses instead. - 根目录 > 图片生成 [同步生成图片](https://rrtz4tnyll.apifox.cn/527313162e0.md): OpenAI 兼容图片生成接口。HTTP 请求会等待图片生成完成,成功时直接返回 data[].url 或 data[].b64_json。服务端会强制使用 quality=high。2K/4K 模型会在服务端注入 upscale=2k / upscale=4k。返回 URL 为 api.aiyxgaw.com 的 image-proxy 代理地址。同步接口失败时,若 New API 已预扣费用,会自动返还预扣费用并记录自动退款。 - 根目录 > 图片生成 [异步提交图片生成任务(文生图/图生图)](https://rrtz4tnyll.apifox.cn/527313163e0.md): 同一个异步接口支持文生图和图生图,先返回 task_id,再通过查询接口领取结果。 - 根目录 > 图片生成 [查询异步图片任务](https://rrtz4tnyll.apifox.cn/527313164e0.md): 文生图和图生图使用同一查询接口,把异步提交返回的本地 task_id 放入路径,并使用提交时相同的 Bearer API Key。queued/in_progress 表示仍在处理,每 3—5 秒查询一次即可。completed 时读取 data[].url 或 data[].b64_json;URL 结果兼容返回 url、result_url、image_url、images。operation=edit 表示图生图,generation 表示文生图。failed 时查看 error.error.message、error.message 或 error.detail,不能仅凭 failed 判断是否已退款。reconciliation_required=true 表示结果待确认,必要时联系管理员核查,不要直接重新提交生成。查询不会发起新的生成。任务记录当前保留 7 天;图片 URL 并非永久有效,完成后应及时下载保存。 - 根目录 > 图片生成 [查询异步图片任务(兼容路径)](https://rrtz4tnyll.apifox.cn/527313165e0.md): 文生图和图生图均支持此兼容查询路径,返回内容和鉴权要求与 GET /v1/images/generations/{task_id} 相同。新接入客户建议使用主推荐查询路径。 - 根目录 > 视频生成 [提交 Seedance-2.0-720P 视频任务](https://rrtz4tnyll.apifox.cn/532345987e0.md): 提交一个异步视频任务。成功受理返回 HTTP 200 和任务 id,并不表示视频已经生成完成。只接收 application/json;不直接接收 multipart 文件表单。 - 根目录 > 任务查询 [查询 Seedance 视频任务状态](https://rrtz4tnyll.apifox.cn/532345988e0.md): 使用提交响应中的 id 查询同一任务,建议每 15 秒查询一次。请使用与提交任务相同账号的客户 API Key。查询不会创建新视频任务或产生新的生成费用。 - 根目录 > 视频生成 [提交 Seedance-2.0-2K 视频任务](https://rrtz4tnyll.apifox.cn/532351441e0.md): 提交一个异步视频任务。成功受理返回 HTTP 200 和任务 id,并不表示视频已经生成完成。只接收 application/json;不直接接收 multipart 文件表单。 - 根目录 > 任务查询 [查询 Seedance-2.0-2K 视频任务状态](https://rrtz4tnyll.apifox.cn/532351442e0.md): 使用提交响应中的 id 查询同一任务,建议每 15 秒查询一次。请使用与提交任务相同账号的客户 API Key。查询不会创建新视频任务或产生新的生成费用。 - 根目录 > Seedance-2.0-720P(特价2) > 视频生成 [提交 Seedance-2.0-720P(特价2) 视频任务](https://rrtz4tnyll.apifox.cn/532373317e0.md): 提交一个异步视频任务。成功受理返回 HTTP 200 和任务 id,并不表示视频已经生成完成。只接收 application/json;不直接接收 multipart 文件表单。 - 根目录 > Seedance-2.0-720P(特价2) > 任务查询 [查询 Seedance-2.0-720P(特价2) 视频任务状态](https://rrtz4tnyll.apifox.cn/532373318e0.md): 使用提交响应中的 id 查询同一任务,建议每 15 秒查询一次。请使用与提交任务相同账号的客户 API Key。查询不会创建新视频任务或产生新的生成费用。 - 根目录 > Seedance-2.5-720P(稳定2) > 视频生成 [提交 Seedance-2.5-720P(稳定2) 视频任务](https://rrtz4tnyll.apifox.cn/532373491e0.md): 提交一个异步视频任务,受理响应HTTP 200和任务id不代表已完成。只接收application/json,不直接接收multipart文件表单。 - 根目录 > Seedance-2.5-720P(稳定2) > 任务查询 [查询 Seedance-2.5-720P(稳定2) 视频任务状态](https://rrtz4tnyll.apifox.cn/532373492e0.md): 使用提交响应中的 id 查询同一任务,建议每 15 秒查询一次。请使用与提交任务相同账号的客户 API Key。查询不会创建新视频任务或产生新的生成费用。 - 根目录 > Seedance-2.0-720P(特价3) > 视频生成 [提交 Seedance-2.0-720P(特价3) 视频任务](https://rrtz4tnyll.apifox.cn/533531543e0.md): 提交一个异步视频任务,受理响应HTTP 200和任务id不代表已完成。仅接收application/json,不接收multipart文件表单。 - 根目录 > Seedance-2.0-720P(特价3) > 任务查询 [查询 Seedance-2.0-720P(特价3) 视频任务状态](https://rrtz4tnyll.apifox.cn/533531544e0.md): 使用提交响应中的 id 查询同一任务,建议每 15 秒查询一次。请使用与提交任务相同账号的客户 API Key。查询不会创建新视频任务或产生新的生成费用。 - 根目录 > omni_flash-1.2 > 视频任务 [创建生成或视频编辑任务](https://rrtz4tnyll.apifox.cn/533995700e0.md): 创建只POST一次,保存响应id;后续每约15秒GET查询同一id。没有任务总等待时限。queued/in_progress继续查询;completed读取url或video_url,failed读取error。查询连接异常不表示生成失败,可恢复查询原id。创建连接中断、408/502或“提交状态待确认”时先核查任务记录,不自动重复POST。未承诺客户端幂等键防重复扣费。GET查询不创建新的计费视频任务。 - 根目录 > omni_flash-1.2 > 视频任务 [查询原任务状态与结果](https://rrtz4tnyll.apifox.cn/533995701e0.md): 创建只POST一次,保存响应id;后续每约15秒GET查询同一id。没有任务总等待时限。queued/in_progress继续查询;completed读取url或video_url,failed读取error。查询连接异常不表示生成失败,可恢复查询原id。创建连接中断、408/502或“提交状态待确认”时先核查任务记录,不自动重复POST。未承诺客户端幂等键防重复扣费。GET查询不创建新的计费视频任务。 - 根目录 > omni_flash-1.2 > 视频任务 [读取已完成任务的视频内容](https://rrtz4tnyll.apifox.cn/533995702e0.md): 优先在查询响应中读取url/video_url;也可在任务完成后尝试此媒体代理入口。未完成或媒体暂时不可读时可能返回错误,不代表生成失败;再次GET原任务确认。媒体代理尚未通过本模型真实产物验证。按响应Content-Type处理,不把错误JSON保存成MP4。 - 根目录 > minimax-h3(特价) [创建视频任务](https://rrtz4tnyll.apifox.cn/535219720e0.md): 每次创建一个计费任务。仅提交一次并保存id;创建超时或5xx不自动重试。默认6秒0.18元;30秒0.90元,提示词第15秒位置须用 ------- 分段。 - 根目录 > minimax-h3(特价) [查询视频任务](https://rrtz4tnyll.apifox.cn/535219721e0.md): 建议每15秒查询一次;网络错误保留id并稍后查询原任务,不重新创建。 - 根目录 > minimax-h3(特价) [下载已完成视频](https://rrtz4tnyll.apifox.cn/535219722e0.md): 任务completed后携同一令牌获取二进制视频。暂时失败可重试下载原任务。 - 根目录 > Veo 3.1 三种方式统一对接文档 [创建视频任务](https://rrtz4tnyll.apifox.cn/537376542e0.md): JSON异步接口,一次请求生成一个视频。只提交一次并保存ID;网络超时不代表未受理,先核查任务记录。 - 根目录 > Veo 3.1 三种方式统一对接文档 [查询视频任务](https://rrtz4tnyll.apifox.cn/537376543e0.md): 每10秒查询,使用创建时的同一客户令牌。临时查询错误只重试GET,不重新POST。 - 根目录 > Veo 3.1 三种方式统一对接文档 [下载完成视频](https://rrtz4tnyll.apifox.cn/537376544e0.md): 任务完成后携带同一客户令牌下载。临时失败只重试查询/下载。 - 根目录 > Grok 1.5 Preview 对接文档 [创建视频任务](https://rrtz4tnyll.apifox.cn/537376547e0.md): JSON异步接口,一次请求生成一个视频。只提交一次并保存ID;网络超时不代表未受理,先核查任务记录。 - 根目录 > Grok 1.5 Preview 对接文档 [查询视频任务](https://rrtz4tnyll.apifox.cn/537376548e0.md): 每10秒查询,使用创建时的同一客户令牌。临时查询错误只重试GET,不重新POST。 - 根目录 > MiniMax H3 [创建视频任务](https://rrtz4tnyll.apifox.cn/537376674e0.md): 仅JSON,单次创建一个视频;不支持聊天接口或multipart上传。费用按请求duration×0.08元计算,默认5秒。首尾帧模式与其他参考素材互斥,参考素材合计≤12。不要自动重试创建。 - 根目录 > MiniMax H3 [查询视频任务](https://rrtz4tnyll.apifox.cn/537376675e0.md): 每10秒查询,使用创建时的同一客户令牌。临时查询错误只重试GET,不重新POST。 ## Schemas - 根目录 [OmniFlash10sRequest](https://rrtz4tnyll.apifox.cn/292095009d0.md): - 根目录 [OmniFlashAbraEditRequest](https://rrtz4tnyll.apifox.cn/292095010d0.md): - 根目录 [SubmitVideoTaskResponse](https://rrtz4tnyll.apifox.cn/292095011d0.md): - 根目录 [VideoTaskStatusResponse](https://rrtz4tnyll.apifox.cn/292095012d0.md): - 根目录 [VideoTask](https://rrtz4tnyll.apifox.cn/292095013d0.md): - 根目录 [ErrorResponse](https://rrtz4tnyll.apifox.cn/292095014d0.md): - 根目录 [MultiAgentChatCompletionRequest](https://rrtz4tnyll.apifox.cn/286615281d0.md): - 根目录 [ChatMessage](https://rrtz4tnyll.apifox.cn/286615282d0.md): - 根目录 [ChatCompletionResponse](https://rrtz4tnyll.apifox.cn/286615283d0.md): - 根目录 [ErrorResponse](https://rrtz4tnyll.apifox.cn/286615284d0.md): - 根目录 [MultiAgentResponseRequest](https://rrtz4tnyll.apifox.cn/286615285d0.md): - 根目录 [ResponseObject](https://rrtz4tnyll.apifox.cn/286615286d0.md): - 根目录 [GeminiGenerateContentRequest](https://rrtz4tnyll.apifox.cn/286615287d0.md): - 根目录 [GeminiContent](https://rrtz4tnyll.apifox.cn/286615288d0.md): - 根目录 [GeminiPart](https://rrtz4tnyll.apifox.cn/286615289d0.md): - 根目录 [GeminiGenerateContentResponse](https://rrtz4tnyll.apifox.cn/286615290d0.md): - 根目录 [ImageGenerationRequest](https://rrtz4tnyll.apifox.cn/322458995d0.md): - 根目录 [ImageGenerationResponse](https://rrtz4tnyll.apifox.cn/322458996d0.md): - 根目录 [AsyncImageTask](https://rrtz4tnyll.apifox.cn/322458997d0.md): - 根目录 [ImageResult](https://rrtz4tnyll.apifox.cn/322458998d0.md): - 根目录 [ErrorResponse](https://rrtz4tnyll.apifox.cn/322458999d0.md): - 根目录 [AsyncImageGenerationRequest](https://rrtz4tnyll.apifox.cn/322459000d0.md): - 根目录 [SeedanceVideoRequest](https://rrtz4tnyll.apifox.cn/326042903d0.md): - 根目录 [ReferenceMedia](https://rrtz4tnyll.apifox.cn/326042904d0.md): - 根目录 [ReferenceAsset](https://rrtz4tnyll.apifox.cn/326042905d0.md): - 根目录 [ReferenceUrl](https://rrtz4tnyll.apifox.cn/326042906d0.md): - 根目录 [ReferenceBase64](https://rrtz4tnyll.apifox.cn/326042907d0.md): - 根目录 [VideoTaskResponse](https://rrtz4tnyll.apifox.cn/326042908d0.md): - 根目录 [ErrorResponse](https://rrtz4tnyll.apifox.cn/326042909d0.md): - 根目录 [Seedance2KVideoRequest](https://rrtz4tnyll.apifox.cn/326047461d0.md): - 根目录 [Seedance2KReferenceMedia](https://rrtz4tnyll.apifox.cn/326047462d0.md): - 根目录 [Seedance2KReferenceAsset](https://rrtz4tnyll.apifox.cn/326047463d0.md): - 根目录 [Seedance2KReferenceUrl](https://rrtz4tnyll.apifox.cn/326047464d0.md): - 根目录 [Seedance2KReferenceBase64](https://rrtz4tnyll.apifox.cn/326047465d0.md): - 根目录 [Seedance2KVideoTaskResponse](https://rrtz4tnyll.apifox.cn/326047466d0.md): - 根目录 [Seedance2KErrorResponse](https://rrtz4tnyll.apifox.cn/326047467d0.md): - 根目录 [SeedanceSpecial2VideoRequest](https://rrtz4tnyll.apifox.cn/326058153d0.md): - 根目录 [SeedanceSpecial2ReferenceMedia](https://rrtz4tnyll.apifox.cn/326058154d0.md): - 根目录 [SeedanceSpecial2ReferenceAsset](https://rrtz4tnyll.apifox.cn/326058155d0.md): - 根目录 [SeedanceSpecial2ReferenceUrl](https://rrtz4tnyll.apifox.cn/326058156d0.md): - 根目录 [SeedanceSpecial2ReferenceBase64](https://rrtz4tnyll.apifox.cn/326058157d0.md): - 根目录 [SeedanceSpecial2VideoTaskResponse](https://rrtz4tnyll.apifox.cn/326058158d0.md): - 根目录 [SeedanceSpecial2ErrorResponse](https://rrtz4tnyll.apifox.cn/326058159d0.md): - 根目录 [SeedanceStable2VideoRequest](https://rrtz4tnyll.apifox.cn/326058240d0.md): - 根目录 [SeedanceStable2ReferenceMedia](https://rrtz4tnyll.apifox.cn/326058241d0.md): - 根目录 [SeedanceStable2ReferenceAsset](https://rrtz4tnyll.apifox.cn/326058242d0.md): - 根目录 [SeedanceStable2ReferenceUrl](https://rrtz4tnyll.apifox.cn/326058243d0.md): - 根目录 [SeedanceStable2ReferenceBase64](https://rrtz4tnyll.apifox.cn/326058244d0.md): - 根目录 [SeedanceStable2VideoTaskResponse](https://rrtz4tnyll.apifox.cn/326058245d0.md): - 根目录 [SeedanceStable2ErrorResponse](https://rrtz4tnyll.apifox.cn/326058246d0.md): - 根目录 [SeedanceSpecial3VideoRequest](https://rrtz4tnyll.apifox.cn/326809462d0.md): - 根目录 [SeedanceSpecial3ReferenceMedia](https://rrtz4tnyll.apifox.cn/326809463d0.md): - 根目录 [SeedanceSpecial3ReferenceAsset](https://rrtz4tnyll.apifox.cn/326809464d0.md): - 根目录 [SeedanceSpecial3ReferenceUrl](https://rrtz4tnyll.apifox.cn/326809465d0.md): - 根目录 [SeedanceSpecial3ReferenceBase64](https://rrtz4tnyll.apifox.cn/326809466d0.md): - 根目录 [SeedanceSpecial3VideoTaskResponse](https://rrtz4tnyll.apifox.cn/326809467d0.md): - 根目录 [SeedanceSpecial3ErrorResponse](https://rrtz4tnyll.apifox.cn/326809468d0.md): - 根目录 [Omni12MediaUrl](https://rrtz4tnyll.apifox.cn/327159184d0.md): - 根目录 [Omni12GenerateAuto](https://rrtz4tnyll.apifox.cn/327159185d0.md): - 根目录 [Omni12EditAuto](https://rrtz4tnyll.apifox.cn/327159186d0.md): - 根目录 [Omni12Tier1](https://rrtz4tnyll.apifox.cn/327159187d0.md): - 根目录 [Omni12Tier2](https://rrtz4tnyll.apifox.cn/327159188d0.md): - 根目录 [Omni12Tier3](https://rrtz4tnyll.apifox.cn/327159189d0.md): - 根目录 [Omni12Tier4](https://rrtz4tnyll.apifox.cn/327159190d0.md): - 根目录 [Omni12Tier5](https://rrtz4tnyll.apifox.cn/327159191d0.md): - 根目录 [Omni12Tier6](https://rrtz4tnyll.apifox.cn/327159192d0.md): - 根目录 [Omni12Tier7](https://rrtz4tnyll.apifox.cn/327159193d0.md): - 根目录 [Omni12Tier8](https://rrtz4tnyll.apifox.cn/327159194d0.md): - 根目录 [Omni12Tier9](https://rrtz4tnyll.apifox.cn/327159195d0.md): - 根目录 [Omni12Tier10](https://rrtz4tnyll.apifox.cn/327159196d0.md): - 根目录 [Omni12Tier11](https://rrtz4tnyll.apifox.cn/327159197d0.md): - 根目录 [Omni12Tier12](https://rrtz4tnyll.apifox.cn/327159198d0.md): - 根目录 [Omni12Tier13](https://rrtz4tnyll.apifox.cn/327159199d0.md): - 根目录 [Omni12Tier14](https://rrtz4tnyll.apifox.cn/327159200d0.md): - 根目录 [Omni12Tier15](https://rrtz4tnyll.apifox.cn/327159201d0.md): - 根目录 [Omni12GenerateRequest](https://rrtz4tnyll.apifox.cn/327159202d0.md): - 根目录 [Omni12EditRequest](https://rrtz4tnyll.apifox.cn/327159203d0.md): - 根目录 [Omni12Request](https://rrtz4tnyll.apifox.cn/327159204d0.md): - 根目录 [Omni12Task](https://rrtz4tnyll.apifox.cn/327159205d0.md): - 根目录 [Omni12Error](https://rrtz4tnyll.apifox.cn/327159206d0.md): - 根目录 [CreateVideoRequest](https://rrtz4tnyll.apifox.cn/327980387d0.md): - 根目录 [VideoTask](https://rrtz4tnyll.apifox.cn/327980388d0.md): - 根目录 [VideoTask](https://rrtz4tnyll.apifox.cn/329499702d0.md): - 根目录 [TextVideo](https://rrtz4tnyll.apifox.cn/329499703d0.md): - 根目录 [FrameVideo](https://rrtz4tnyll.apifox.cn/329499704d0.md): - 根目录 [ReferenceVideo](https://rrtz4tnyll.apifox.cn/329499705d0.md): - 根目录 [CreateVideo](https://rrtz4tnyll.apifox.cn/329499706d0.md): - 根目录 [VideoTask](https://rrtz4tnyll.apifox.cn/329499710d0.md): - 根目录 [CreateVideo](https://rrtz4tnyll.apifox.cn/329499711d0.md): - 根目录 [VideoTask](https://rrtz4tnyll.apifox.cn/329499770d0.md): - 根目录 [CreateVideo](https://rrtz4tnyll.apifox.cn/329499771d0.md):