
🇨🇳 Chinese

🇨🇳 Chinese
- 系统内部接口
- OpenAI
- Anthropic
- Suno(音乐)
- 场景一:续写音乐并获取完整音乐
- 场景二:Cover 音乐:音乐翻版\修改风格
- 场景三:Replace Section:替换片段
- 场景四:Persona:歌手风格
- 场景五:stems:声曲分离(仅限chirp_auk)
- 场景六:Timing:歌词、音频时间线(仅限chirp_auk)
- 场景七:wav:获取 wav 格式文件
- 场景八:mp4:生成 mp4 mv 视频(仅限chirp_auk)
- 生成音乐POST
- 上传音乐POST
- 歌曲拼接POST
- 新建 PersonaPOST
- 声曲分离GET
- Timing:歌词、音频时间线GET
- 获取 wav 格式文件GET
- 生成 mp4 mv 视频GET
- 生成歌词POST
- 查询单个任务GET
- 批量查询任务POST
- 批量查询歌曲GET
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
单个查询任务
GET
/dream-machine/v1/generations/{task_id}
Last modified:2025-02-05 11:29:37
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
task_id
string
required
Example:
4b3c464e-94f6-4e54-bc21-12f0e6da5791
Header Params
Authorization
string
optional
Default:
{{YOUR_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 -g --request GET '/dream-machine/v1/generations/4b3c464e-94f6-4e54-bc21-12f0e6da5791' \
--header 'Authorization: '
Responses
🟢200成功
application/json
Body
id
string
required
liked
null
required
state
string
required
video
object
required
url
string
required
width
integer
required
height
integer
required
download_url
string
required
prompt
string
required
thumbnail
object
required
url
string
required
width
integer
required
height
integer
required
video_raw
object
required
url
string
required
width
integer
required
height
integer
required
created_at
string
required
last_frame
object
required
url
string
required
width
integer
required
height
integer
required
queue_state
null
required
estimate_wait_seconds
null
required
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
}