API Doc-CometAPI
HomeDashBoardModel_Price
HomeDashBoardModel_Price
Discord_Support
  1. Reverse Format
  • GET START
    • Model New Release Announcement
    • Platform notification
    • Help Center
    • Quick Start
    • About Pricing
    • About Grouping
    • Interface Stability
    • Privacy policy
    • Terms of service
    • Error code description
    • Code example
    • Must see for use
    • Common Misconceptions
    • Confusion about use
    • Best Practices
      • CometAPI Account Balance Query API Usage Instructions
      • Retry Logic Documentation for CometAPI and OpenAI Official API
      • Midjourney Best Practices
      • Runway Best Practices
  • OpenAI Compatiable Endpoint
    • gpt-4o-image generates image
    • Chat
    • Recognizing Images
    • Models
    • Embeddings
    • Images
    • Realtime
    • Image Editing (gpt-image-1)
  • Audio
    • Create speech
    • Create transcription
    • Create translation
  • Anthropic Compatiable Endpoint
    • Anthropic Claude
  • Music Generation Endpoint
    • Suno
      • Setting suno Version
      • Generate lyrics
      • Generate music clip
      • Upload clip
      • Submit concatenation
      • Single task query
      • Batch query tasks
    • Udio(Temporarily unavailable)
      • Generate music
      • Task query
  • Image Generation Endpoint
    • Midjourney(images)
      • Quick Tutorial - Complete Process in One Go
      • Task Fetching API
        • List by Condition
        • Fetch Single Task (most recommended)
      • Imagine
      • Action (UPSCALE; VARIATION; REROLL; ZOOM, etc.)
      • Blend (image -> image)
      • Describe (image -> text)
      • Modal (Area Redesign & Zoom)
    • Ideogram(images)
      • Official documentation (updated in real time)
      • Generate 3.0 (text to image)
      • Remix 3.0 (hybrid image)
      • Reframe 3.0(Reconstruction)
      • Replace Background 3.0(Background replacement)
      • Edit 3.0(Editing images)
      • ideogram Text Raw Image
      • ideogram Hybrid image
      • ideogram enlargement HD
      • ideogram describes the image
      • ideogram Edit image
    • Flux(images)
      • Generate image (replicate format)
      • flux fine-tune images(Temporarily unavailable)
      • flux generate image(Temporarily unavailable)
      • flux query
    • Replicate(image)
      • replicate Generate
      • replicate query
    • Recraft(images)
      • Appendix
      • Recraft Generate Image
      • Recraft Vectorize Image
      • Recraft Remove Background
      • Recraft Clarity Upscale
      • Recraft Create style
      • Recraft Generative Upscale
  • Video Generation Ednpoint
    • runway(video)
      • official format
        • runway images raw video
        • runway to get task details
      • Reverse Format
        • generate(text)
        • generate(Reference images)
        • Video to Video Style Redraw
        • Act-one Expression Migration
        • feed-get task
    • kling (video)
      • callback_url
      • Generating images
      • Text Generation Video
      • Image Generation Video
      • Video Extension
      • virtual try-on
      • lip sync
      • Individual queries (videos)
    • MiniMax Conch(video)
      • MiniMax Conch Official Documentation
      • MiniMax Conch Generation
      • MiniMax Conch Query
      • MiniMax Conch Download
    • luma (video)
      • Official api interface format
        • luma generate
        • luma search
    • PIKA(video)
      • pika feed
      • PIKA Reference Video Generation
      • PIKA Reference Image Generation
      • PIKA reference text generation
    • sora
      • Reverse Format
        • Create Video
          POST
        • Query Video Task
          GET
        • Create Video
          POST
  • Software Integration Guide
    • cometapi Site API Call Testing
    • OpenManus
    • Chatbox
    • CherryStudio
    • Cursor
    • ChatHub
    • COZE
    • FastGPT
    • cline
    • dify
    • gptme
    • Immersive Translation
    • Lobe-Chat
    • Zotero
    • LangChain
    • AnythingLLM
    • Eudic Translation
    • OpenAI Translator
    • ChatAll Translation
    • Pot Translation
    • GPT Academic Optimization (gpt_academic)
    • NEXT CHAT (ChatGPT Next Web)
    • Obsidian's Text Generator Plugin
    • Open WebUI
    • avante.nvim
    • librechat
    • Lazy Customer Service
    • utools-ChatGPT Friend
    • IntelliJ Translation Plugin
    • n8n
  1. Reverse Format

Query Video Task

Developing
GET
https://api.comet.com/sora/v1/videos/{task_id}
Maintainer:Not configured

Request

Path Params
task_id
string 
required
Example:
task_01jhjnz502ejqsm6r37km2q637
Header Params
Authorization
string 
optional
Example:
Bearer {{api-key}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.comet.com/sora/v1/videos/task_01jhjnz502ejqsm6r37km2q637' \
--header 'Authorization: Bearer  {{api-key}}'

Responses

🟢200success
application/json
Body
code
string 
required
message
string 
required
data
object 
required
task_id
string 
required
notify_hook
string 
required
action
string 
required
status
string 
required
fail_reason
string 
required
submit_time
integer 
required
start_time
integer 
required
finish_time
integer 
required
progress
string 
required
data
object 
required
Example
{
  "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
    }
  }
}
Previous
Create Video
Next
Create Video
Built with