API Doc-CometAPI
HomeDashBoardModel_Price
HomeDashBoardModel_Price
Discord_Support
  1. Official api interface 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
          POST
        • luma search
          GET
    • PIKA(video)
      • pika feed
      • PIKA Reference Video Generation
      • PIKA Reference Image Generation
      • PIKA reference text generation
    • sora
      • Reverse Format
        • Create Video
        • Query Video Task
        • Create Video
  • 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. Official api interface format

luma search

GET
https://api.cometapi.com/dream-machine/v1/generations/{task_id}
Maintainer:Not configured

Request

Path Params
task_id
string 
required
Example:
48a94ce2-ce6c-4184-aa59-bdf3409b162b
Header Params
Authorization
string 
required
Example:
Bearer {{api-key}}
Body Params application/json
object {0}
Example
{}

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.cometapi.com/dream-machine/v1/generations/48a94ce2-ce6c-4184-aa59-bdf3409b162b' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'

Responses

🟢200Successful Response
application/json
Body
id
string 
required
Unique identifier of the task or resource.
state
string 
required
Current state of the task
video
object 
required
Detailed information about the generated video file.
url
string 
required
URL address of the video file.
width
integer 
required
Width of the video (unit: pixels).
height
integer 
required
Height of the video (unit: pixels).
duration
number 
required
Duration of the video (unit: seconds).
download_url
string 
required
Download link of the video file, which may be the same as url.
thumbnail
object 
required
Detailed information about the video thumbnail.
url
string 
required
URL address of the thumbnail file.
width
integer 
required
Width of the thumbnail (unit: pixels).
height
integer 
required
Height of the thumbnail (unit: pixels).
palette
object 
required
media_type
string 
required
Media type
video_raw
object 
required
Original video file information
url
string 
required
URL address of the original video file.
width
integer 
required
Width of the original video (unit: pixels).
height
integer 
required
Height of the original video (unit: pixels).
duration
number 
required
Duration of the original video (unit: seconds).
media_type
string 
required
Media type, here it is "video".
created_at
string 
required
Timestamp of when the resource or task was created
last_frame
object 
required
Detailed information about the video's last frame image.
url
string 
required
URL address of the last frame image file.
width
integer 
required
Width of the last frame image (unit: pixels).
height
integer 
required
Height of the last frame image (unit: pixels).
palette
null 
required
Palette information of the last frame image, null indicates none or not applicable.
media_type
string 
required
Media type
Example
{
    "id": "32ec5549-7b7a-4111-a43b-445b3a89c8ef",
    "liked": null,
    "state": "completed",
    "video": {
        "url": "https://storage.cdn-luma.com/lit_lite_inference_v1.6-xl/5bf08990-71ed-4a56-b531-2c2f02e18f51/5f7ca010-7e0e-4faf-a654-f41ce735d0ff_watermarked_video05a8efbcf1ba2498bb02aa9dcefab47f8.mp4",
        "width": 752,
        "height": 1360,
        "download_url": "https://dc53a917a6f427706a8ca3ecc7d70ea4.r2.cloudflarestorage.com/ai-lumalabs-storage/lit_lite_inference_v1.6-xl/5bf08990-71ed-4a56-b531-2c2f02e18f51/0af7d264-0ab5-45f1-befb-e382c81d8023_video05a8efbcf1ba2498bb02aa9dcefab47f8.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=60bf44f30d45b472f9dd032de33e15d1%2F20241015%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20241015T085653Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9b40f281fd019016625bb2a4fcdf9f9625de3dba2f5c80178f6bd5e8c4304499"
    },
    "prompt": "Please generate a video simulating the gentle undulating heights of water waves and sand dunes, with more focus on the imagery of the Nile River, based on the reference of the ceramic tile product design.",
    "thumbnail": {
        "url": "https://storage.cdn-luma.com/lit_lite_inference_v1.6-xl/5bf08990-71ed-4a56-b531-2c2f02e18f51/59ce5a3c-8fad-4735-94f7-243040c63a4e_video_0_thumb.jpg",
        "width": 752,
        "height": 1360
    },
    "video_raw": {
        "url": "https://storage.cdn-luma.com/lit_lite_inference_v1.6-xl/5bf08990-71ed-4a56-b531-2c2f02e18f51/0af7d264-0ab5-45f1-befb-e382c81d8023_video05a8efbcf1ba2498bb02aa9dcefab47f8.mp4",
        "width": 752,
        "height": 1360
    },
    "created_at": "2024-10-15T08:56:19.325Z",
    "last_frame": {
        "url": "https://storage.cdn-luma.com/lit_lite_inference_v1.6-xl/5bf08990-71ed-4a56-b531-2c2f02e18f51/0f434eba-2421-4abf-8a36-774abc3bf515_video_0_last_frame.jpg",
        "width": 752,
        "height": 1360
    },
    "queue_state": null,
    "estimate_wait_seconds": null
}
Previous
luma generate
Next
pika feed
Built with