DeerAPI-API文档
  1. 逆向格式
DeerAPI-API文档
  • 快速开始
    • 快速开始
    • 入门必看
    • DeerAPI 公告
  • API 参考
    • 报错状态码说明
    • OpenAI格式
      • 聊天
      • response
      • gpt-4o-image生图
      • 识图
      • 图像
      • 图像编辑(gpt-image-1)
      • 嵌入
      • Realtime
      • 获取模型列表
      • response id获取结果
    • Anthropic 格式
      • Anthropic Claude
    • Midjourney 图像生成
      • 快速教学-完整流程一遍过
      • 任务查询
        • 分页查询
        • 指定ID获取任务
      • 提交Imagine任务
      • 提交视频任务
      • 提交编辑任务
      • 提交Action任务
      • 提交Blend任务
      • 提交Describe任务
      • 提交Modal
    • 图像生成
      • ideogram(images)
        • 官方文档(实时更新)
        • Generate 3.0(文生图)
        • Reframe 3.0(重构)
        • Replace Background 3.0(背景替换)
        • Remix 3.0(混合图)
        • Edit 3.0(编辑)
        • Generate(文生图)
        • Remix(混合图)
        • Upscale(放大高清)
        • Describe(描述)
        • Edit(编辑)
      • Replicate(image)
        • 创建任务-通用
        • 创建任务 -flux-kontext-pro、max
        • 创建任务-black-forest-labs/flux-1.1-pro
        • 创建任务-black-forest-labs/flux-1.1-pro-ultra
        • 查询任务
        • 创建任务
      • Flux(images)
        • 创建任务-通用
        • 生成图片
        • 微调(暂不可用)
        • 查询任务
        • 生成图片(replicate格式)
      • Recraft(images)
        • 附录
        • Generate Image(生成图片)
        • Vectorize Image(矢量化图片)
        • Remove Background(删除背景)
        • Clarity Upscale(清晰度提升)
        • Create style(创建样式)
        • Generative Upscale(生成高清)
    • 音乐生成
      • Suno
        • 设置 suno 版本
        • Suno API 场景应用指南
        • 生成歌词
        • 生成音乐
        • 上传音乐
        • 歌曲拼接
        • 全轨声曲分离
        • 单轨声曲分离
        • 新建 Persona
        • 查询单个任务
        • 生成 mp4 mv 视频
        • 获取 wav 格式文件
        • Timing:歌词、音频时间线
        • 批量查询任务
        • 使用 persona_id 创作音乐
      • Udio(暂不可用)
        • 生成音乐
        • 查询单个任务
    • 视频生成
      • veo3
        • veo3-chat格式
        • 提交视频生成任务-测试中
        • 查询视频生成状态-测试中
      • seedace测试中
        • 视频-测试中
          • seedance
          • seedance-video
          • seedance-video get
        • 图片
          • seedance-image-generation
          • seedance-image-edits
      • runway(video)
        • 官方格式
          • 从图像生成视频
          • 获取任务详细信息
        • 逆向格式
          • generate(文本)
          • generate(参考图片)
          • video2video 视频转视频 风格重绘
          • Act-one 表情迁移
          • feed-获取任务
      • kling (video)
        • Callback协议
        • 多模态视频编辑测试中
          • 初始化待编辑视频
          • 增加视频选区
          • 删减视频选区
          • 清除视频选区
          • 预览已选区视频
          • 创建任务
        • 扩图
        • 生成图像
        • 文生视频
        • 图生视频
        • 多图参考生视频
        • 视频延长
        • 虚拟试穿
        • 对口型
        • 视频特效
        • 文生音效
        • 视频生音效
        • 查询任务(单个)
      • luma (video)
        • 官方API格式
          • 生成视频
          • 单个查询任务
      • MiniMax 海螺(video)
        • 官方文档
        • 视频生成
        • 查询任务
        • 文件下载
      • PIKA(video)
        • 通用版
          • generate video
          • 查询视频任务
        • generate(参考视频/扩展视频)
        • generate(参考图片)
        • generate(文本)
        • feed
      • sora
        • 逆向格式
          • 创建视频
            POST
          • 生成视频
            POST
          • 查询视频任务
            GET
    • 音频
      • 文本转音频
      • 音频转文本
      • 创建翻译
  • 代码示例
    • 代码示例
  • 集成指南
    • 应用集成指南
      • DeerAPI 本站调用
      • OpenManus
      • Chatbox
      • CherryStudio
      • Cursor
      • Lobe-Chat
      • NEXT CHAT (ChatGPT Next Web)
      • cline
      • gptme
      • LangChain
      • AnythingLLM
      • ChatHub
      • ChatAll
      • Zotero
      • librechat
      • avante.nvim
      • Dify
      • OpenAI Translator
      • Open WebUI
      • obsidian的text generator插件
      • STranslate
      • 沉浸式翻译
      • Pot 翻译
      • 欧陆翻译
      • utools-ChatGPT 好友
      • GPT 学术优化(gpt_academic)
      • 懒人客服
      • IntelliJ Translation Plugin
      • FastGPT
      • COZE
    • 最佳实践
      • Claude code 接入说明
      • Deerapi 账户余额查询API 使用说明
      • 使用 DeerAPI 和 OpenAI 官方 API 的重试逻辑说明文档
      • Midjorney调用最佳实践
      • Runway调用最佳实践
      • Gemini CLI 接入说明
  • 定价计费
    • 关于价格
    • 关于分组
  • 帮助中心
    • 帮助中心
    • 接口稳定性
    • 常见误区
    • 使用困惑
    • 隐私政策
    • 服务条款
  1. 逆向格式

查询视频任务

开发中
GET
https://api.deerapi.com/sora/v1/videos/{task_id}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.deerapi.com/sora/v1/videos/task_01jhjnz502ejqsm6r37km2q637' \
--header 'Authorization: Bearer  {{api-key}}'
响应示例响应示例
{
  "code": "success",
  "message": "",
  "data": {
    "task_id": "task_01jhjp54x0f759wceyasz6xrge",
    "notify_hook": "",
    "action": "sora-video",
    "status": "SUCCESS",
    "fail_reason": "",
    "submit_time": 1736867805,
    "start_time": 0,
    "finish_time": 1736867860,
    "progress": "100%",
    "data": {
      "actions": {
        "0": "A man with insect-like features, including large compound eyes and translucent wings, hovers in the air against a backdrop of towering city skyscrapers. His appearance is a blend of human and fly, with a sleek, aerodynamic body covered in a shiny, chitinous exoskeleton. The sun sets behind the skyline, casting long shadows across the scene. The air around him shimmers as his wings buzz rapidly, keeping him aloft.",
        "75": "The fly man performs a series of agile maneuvers, showcasing his aerial acrobatics."
      },
      "created_at": "2025-01-14T15:15:46.724124Z",
      "estimated_queue_wait_time": null,
      "failure_reason": null,
      "generations": [
        {
          "actions": {
            "0": "A man with insect-like features, including large compound eyes and translucent wings, hovers in the air against a backdrop of towering city skyscrapers. His appearance is a blend of human and fly, with a sleek, aerodynamic body covered in a shiny, chitinous exoskeleton. The sun sets behind the skyline, casting long shadows across the scene. The air around him shimmers as his wings buzz rapidly, keeping him aloft.",
            "75": "The fly man performs a series of agile maneuvers, showcasing his aerial acrobatics."
          },
          "can_download": true,
          "caption": {
            "0": "wide-angle shot with a vibrant color palette and dramatic lighting, capturing a futuristic landscape as the backdrop. the view focuses on a man with insect-like features hovering in the air against a towering backdrop of city skyscrapers. his large compound eyes and translucent wings are prominent, while his sleek, aerodynamic body is covered in a shiny, chitinous exoskeleton. the setting sun casts long, exaggerated shadows across the skyscrapers, creating a riveting contrast with his otherworldly appearance. the air around him shimmers in the sunlight, as his wings buzz rapidly, keeping him aloft. the atmosphere is both surreal and awe-inspiring, showcasing the unique fusion of human and insect anatomy.",
            "75": "wide-angle shot with a vibrant color palette and dramatic lighting, capturing a futuristic urban environment. the focus remains on the man with insect-like features, now performing a series of agile maneuvers in the air. his aerial acrobatics are dynamic and fluid, showcasing his immense agility and control. his translucent wings shimmer and blur in motion, sustaining his flight with effortless grace. the vista of towering skyscrapers contrasts with his smooth, exuberant movements, while the setting sun continues to cast long shadows, enhancing the dramatic atmosphere. the scene unfolds with a sense of exhilarating freedom and the spectacle of an extraordinary blend of human and fly capabilities."
          },
          "cf_thumbnail_url": null,
          "cloudflare_metadata": null,
          "config": {
            "actions": {
              "0": "A man with insect-like features, including large compound eyes and translucent wings, hovers in the air against a backdrop of towering city skyscrapers. His appearance is a blend of human and fly, with a sleek, aerodynamic body covered in a shiny, chitinous exoskeleton. The sun sets behind the skyline, casting long shadows across the scene. The air around him shimmers as his wings buzz rapidly, keeping him aloft.",
              "75": "The fly man performs a series of agile maneuvers, showcasing his aerial acrobatics."
            },
            "caption": {
              "0": "wide-angle shot with a vibrant color palette and dramatic lighting, capturing a futuristic landscape as the backdrop. the view focuses on a man with insect-like features hovering in the air against a towering backdrop of city skyscrapers. his large compound eyes and translucent wings are prominent, while his sleek, aerodynamic body is covered in a shiny, chitinous exoskeleton. the setting sun casts long, exaggerated shadows across the skyscrapers, creating a riveting contrast with his otherworldly appearance. the air around him shimmers in the sunlight, as his wings buzz rapidly, keeping him aloft. the atmosphere is both surreal and awe-inspiring, showcasing the unique fusion of human and insect anatomy.",
              "75": "wide-angle shot with a vibrant color palette and dramatic lighting, capturing a futuristic urban environment. the focus remains on the man with insect-like features, now performing a series of agile maneuvers in the air. his aerial acrobatics are dynamic and fluid, showcasing his immense agility and control. his translucent wings shimmer and blur in motion, sustaining his flight with effortless grace. the vista of towering skyscrapers contrasts with his smooth, exuberant movements, while the setting sun continues to cast long shadows, enhancing the dramatic atmosphere. the scene unfolds with a sense of exhilarating freedom and the spectacle of an extraordinary blend of human and fly capabilities."
            },
            "prompt": "fly man"
          },
          "created_at": "2025-01-14T15:16:28.791941Z",
          "download_status": "ready",
          "encodings": {
            "ld": {
              "duration_secs": 5,
              "height": 480,
              "path": "https://videos.openai.com/vg-assets/assets%2Ftask_01jhjp54x0f759wceyasz6xrge%2Ftask_01jhjp54x0f759wceyasz6xrge_genid_9fbb9402-72ec-4e3d-9481-d8be9ef31db2_25_01_14_15_16_277508%2Fvideos%2F00000_968194097%2Fld.mp4?st=2025-01-14T13%3A28%3A09Z&se=2025-01-20T14%3A28%3A09Z&sks=b&skt=2025-01-14T13%3A28%3A09Z&ske=2025-01-20T14%3A28%3A09Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=5f13508c-2274-47a2-9941-e8329f2d7b6a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=fnuwemoUSAYXmZsp3TVTs3AdE3bYDVBbx7OdOYGMs%2BI%3D&az=oaivgprodscus",
              "size": 363718,
              "ssim": 0.9114589,
              "width": 854
            },
            "md": {
              "duration_secs": 5,
              "height": 480,
              "path": "https://videos.openai.com/vg-assets/assets%2Ftask_01jhjp54x0f759wceyasz6xrge%2Ftask_01jhjp54x0f759wceyasz6xrge_genid_9fbb9402-72ec-4e3d-9481-d8be9ef31db2_25_01_14_15_16_277508%2Fvideos%2F00000_968194097%2Fmd.mp4?st=2025-01-14T13%3A28%3A09Z&se=2025-01-20T14%3A28%3A09Z&sks=b&skt=2025-01-14T13%3A28%3A09Z&ske=2025-01-20T14%3A28%3A09Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=5f13508c-2274-47a2-9941-e8329f2d7b6a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=lKTvJdLHcpyxPg5eds1v%2BRc4P7embZ2eLPiwFFIvybY%3D&az=oaivgprodscus",
              "size": 866705,
              "ssim": 0.960498,
              "width": 854
            },
            "source": {
              "duration_secs": 5,
              "height": 480,
              "path": "https://videos.openai.com/vg-assets/assets%2Ftask_01jhjp54x0f759wceyasz6xrge%2Ftask_01jhjp54x0f759wceyasz6xrge_genid_9fbb9402-72ec-4e3d-9481-d8be9ef31db2_25_01_14_15_16_277508%2Fvideos%2F00000_968194097%2Fsource.mp4?st=2025-01-14T13%3A28%3A09Z&se=2025-01-20T14%3A28%3A09Z&sks=b&skt=2025-01-14T13%3A28%3A09Z&ske=2025-01-20T14%3A28%3A09Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=5f13508c-2274-47a2-9941-e8329f2d7b6a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=0jw1aqljMIKb%2BIFQf2AWmVaQLJ%2B5%2BRVIJgbBn73XNlI%3D&az=oaivgprodscus",
              "size": 4034268,
              "ssim": 0.9911103,
              "width": 854
            },
            "spritesheet": {
              "path": "https://videos.openai.com/vg-assets/assets%2Ftask_01jhjp54x0f759wceyasz6xrge%2Ftask_01jhjp54x0f759wceyasz6xrge_genid_9fbb9402-72ec-4e3d-9481-d8be9ef31db2_25_01_14_15_16_277508%2Fvideos%2F00000_968194097%2Fsprite.jpg?st=2025-01-14T13%3A28%3A09Z&se=2025-01-20T14%3A28%3A09Z&sks=b&skt=2025-01-14T13%3A28%3A09Z&ske=2025-01-20T14%3A28%3A09Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=5f13508c-2274-47a2-9941-e8329f2d7b6a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=UFw6x4ONBjVoMICXwab58jMN9SOLyJuR9eOLlpud5w8%3D&az=oaivgprodscus",
              "size": null
            },
            "thumbnail": {
              "path": "https://videos.openai.com/vg-assets/assets%2Ftask_01jhjp54x0f759wceyasz6xrge%2Ftask_01jhjp54x0f759wceyasz6xrge_genid_9fbb9402-72ec-4e3d-9481-d8be9ef31db2_25_01_14_15_16_277508%2Fvideos%2F00000_968194097%2Fthumb.webp?st=2025-01-14T13%3A28%3A09Z&se=2025-01-20T14%3A28%3A09Z&sks=b&skt=2025-01-14T13%3A28%3A09Z&ske=2025-01-20T14%3A28%3A09Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=5f13508c-2274-47a2-9941-e8329f2d7b6a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=evmaa%2FGj9r4dQnzRyqo1s4NR1NKKGL5NC7%2F037Am1Ek%3D&az=oaivgprodscus",
              "size": null
            }
          },
          "has_feedback": false,
          "height": 480,
          "id": "gen_01jhjp646berwt0ezg1faay7mt",
          "inpaint_items": null,
          "interpolation": null,
          "is_archived": false,
          "is_favorite": false,
          "is_featured": false,
          "is_public": true,
          "legal_classifier_result": {
            "face": [
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              },
              {
                "l": -1,
                "p": 0,
                "v": false
              }
            ],
            "ip": [
              {
                "l": 788,
                "p": 0.98486328125,
                "v": false
              },
              {
                "l": 788,
                "p": 0.98291015625,
                "v": false
              },
              {
                "l": 788,
                "p": 0.970703125,
                "v": false
              },
              {
                "l": 788,
                "p": 0.9892578125,
                "v": false
              },
              {
                "l": 788,
                "p": 0.986328125,
                "v": false
              },
              {
                "l": 788,
                "p": 0.99365234375,
                "v": false
              },
              {
                "l": 788,
                "p": 0.99609375,
                "v": false
              },
              {
                "l": 788,
                "p": 0.98828125,
                "v": false
              },
              {
                "l": 788,
                "p": 0.98974609375,
                "v": false
              },
              {
                "l": 788,
                "p": 0.970703125,
                "v": false
              }
            ],
            "trademark": [
              {
                "l": 311,
                "p": 0.9990234375,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99853515625,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99853515625,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99853515625,
                "v": false
              },
              {
                "l": 311,
                "p": 0.998046875,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99755859375,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99853515625,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99658203125,
                "v": false
              },
              {
                "l": 311,
                "p": 0.9921875,
                "v": false
              },
              {
                "l": 311,
                "p": 0.99462890625,
                "v": false
              }
            ]
          },
          "max_visibility": null,
          "model": "turbo",
          "moderation_result": {
            "code": null,
            "is_output_rejection": false,
            "results_by_frame_index": {},
            "task_id": "task_01jhjp54x0f759wceyasz6xrge",
            "type": "passed"
          },
          "n_frames": 150,
          "operation": "simple_compose",
          "output_moderation_result": {
            "filter_results": {
              "election_misinformation": {
                "flagged_indices": null,
                "labels": [],
                "metadata": null,
                "reason": null,
                "type": "passed"
              },
              "moderation_api": {
                "flagged_indices": null,
                "labels": [],
                "metadata": {
                  "global": {
                    "A1": 0,
                    "A2": 0,
                    "A3": 0,
                    "C1": 0.001,
                    "C11": 0.006,
                    "C2": 0,
                    "E1": 0,
                    "E2": 0,
                    "E3": 0,
                    "H1": 0,
                    "H2": 0,
                    "H3": 0,
                    "IMG-C1": 0,
                    "IMG-C11": 0.005,
                    "IMG-C2": 0,
                    "IMG-S1": 0,
                    "IMG-SH": 0.002,
                    "IMG-V1": 0.006,
                    "IMG-V2+": 0.011,
                    "IMG-V4+": 0,
                    "JB1": 0,
                    "K1": 0,
                    "K2": 0,
                    "K3": 0,
                    "K4": 0,
                    "P1": 0,
                    "P2": 0,
                    "P3": 0,
                    "P4": 0,
                    "PD1": 0,
                    "PD4": 0,
                    "S1": 0.001,
                    "S3+": 0,
                    "S4": 0,
                    "SH": 0.001,
                    "TXT-C3": 0,
                    "TXT-C4": 0,
                    "V1": 0.019,
                    "V2+": 0.024,
                    "V4+": 0
                  }
                },
                "reason": null,
                "type": "passed"
              },
              "wellknown_figure": {
                "flagged_indices": null,
                "labels": [],
                "metadata": null,
                "reason": null,
                "type": "passed"
              }
            },
            "is_flagged": false,
            "is_terminal": false,
            "mapper_metadata": {
              "u18": {
                "is_child": false,
                "is_realistic": false,
                "rationale": "The images depict a large insect-like creature flying through a cityscape. There are no human figures present, so no children are visible."
              }
            },
            "original_prompt": "",
            "rewrite_results": {},
            "risk_level": 0,
            "type": "passed"
          },
          "paragen_status": null,
          "preset_id": null,
          "prompt": "fly man",
          "safety_classifier_result": [],
          "sdedit": null,
          "seed": 968194097,
          "task_id": "task_01jhjp54x0f759wceyasz6xrge",
          "title": "Aerial Acrobatics Fly Man",
          "url": "https://videos.openai.com/vg-assets/assets%2Ftask_01jhjp54x0f759wceyasz6xrge%2Ftask_01jhjp54x0f759wceyasz6xrge_genid_9fbb9402-72ec-4e3d-9481-d8be9ef31db2_25_01_14_15_16_277508%2Fvideos%2F00000_968194097_watermarked.mp4?st=2025-01-14T13%3A28%3A09Z&se=2025-01-20T14%3A28%3A09Z&sks=b&skt=2025-01-14T13%3A28%3A09Z&ske=2025-01-20T14%3A28%3A09Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=5f13508c-2274-47a2-9941-e8329f2d7b6a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=IvL2WVbSG20blL2aak7hPfAc9hQvU3D11S%2Bs1FJuNDw%3D&az=oaivgprodscus",
          "user": {
            "id": "user-EycidxDufsSNkq096Ee8M4XY",
            "username": null
          },
          "width": 854
        }
      ],
      "guidance": null,
      "height": 480,
      "id": "task_01jhjp54x0f759wceyasz6xrge",
      "inpaint_items": [],
      "interpolation": null,
      "model": "turbo",
      "moderation_result": {
        "code": null,
        "is_output_rejection": false,
        "results_by_frame_index": {},
        "task_id": "task_01jhjp54x0f759wceyasz6xrge",
        "type": "passed"
      },
      "n_frames": 150,
      "n_variants": 1,
      "needs_user_review": false,
      "operation": "simple_compose",
      "preset_id": null,
      "priority": 1,
      "progress_pct": null,
      "progress_pos_in_queue": null,
      "prompt": "fly man",
      "queue_status_message": null,
      "sdedit": null,
      "seed": null,
      "status": "succeeded",
      "style": "natural",
      "title": "Aerial Acrobatics Fly Man",
      "type": "video_gen",
      "user": "user-EycidxDufsSNkq096Ee8M4XY",
      "width": 854
    }
  }
}

请求参数

Path 参数

Header 参数

返回响应

🟢200成功
application/json
Body

修改于 2025-04-16 07:22:42
上一页
生成视频
下一页
文本转音频
Built with