- 引言
- 在线调试说明
- 发出请求
- 中转站基本介绍
- Chat模型
- 文生图模型
- 文生视频模型
- luma 视频生成
- 官方API格式
- 查询任务
- 快手可灵
- Runway 视频生成
- GPTs 相关
- 文生音乐 Suno
- 系统API
- Python配置方式
- python openai官方库(使用AutoGPT,langchain等)
- python 连续对话
- python 使用 语音转文本
- python 使用文本转语音
- python 使用Embeddings 向量化
- python 调用DALL·E
- python简单调用 openai function-calling demo
- python 简单langchain 调用openai demo
- python llama_index 配置
- Python使用gpt-4o识别图片-本地图片
- python 库流式输出
- gpt realtime模型调用
- python request 请求 流式输出demo
- Python基础对话
- Python使用gpt-4o识别图片
- Python使用Claude识别图片
- nodejs 配置方式
- 各种插件/软件使用教程
- 帮助中心
查询单个任务
GET
https://yunwu.ai/luma/generations/{task_id}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
task_id
string
任务id
示例值:
4665a07c-7641-4809-a133-10786201bb56
Header 参数
Content-Type
string
必需
示例值:
application/json
Accept
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://yunwu.ai/luma/generations/4665a07c-7641-4809-a133-10786201bb56' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json'
返回响应
🟢200成功
application/json
Body
id
string
必需
state
string
必需
video
object
必需
url
string
必需
width
integer
必需
height
integer
必需
download_url
string
必需
request
object
必需
prompt
string
必需
aspect_ratio
string
必需
artifact
object
必需
video
object
必需
thumbnail
object
必需
video_raw
object
必需
created_at
string
必需
last_frame
object
必需
thumbnail
object
必需
url
string
必需
width
integer
必需
height
integer
必需
palette
object
必需
media_type
string
必需
video_raw
object
必需
url
string
必需
width
integer
必需
height
integer
必需
duration
number
必需
media_type
string
必需
created_at
string
必需
last_frame
object
必需
url
string
必需
width
integer
必需
height
integer
必需
palette
null
必需
media_type
string
必需
示例
{
"id": "4665a07c-7641-4809-a133-10786201bb56",
"state": "completed",
"video": {
"url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/35049450-c008-4607-b1d0-0b025599f15d/video0b6619468da8e409da860706bbf26bbad.mp4",
"width": 1360,
"height": 752,
"download_url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/35049450-c008-4607-b1d0-0b025599f15d/video0b6619468da8e409da860706bbf26bbad.mp4"
},
"request": {
"prompt": "cat dance",
"aspect_ratio": "16:9"
},
"artifact": {
"video": {
"url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/35049450-c008-4607-b1d0-0b025599f15d/video0b6619468da8e409da860706bbf26bbad.mp4",
"width": 1360,
"height": 752,
"download_url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/35049450-c008-4607-b1d0-0b025599f15d/video0b6619468da8e409da860706bbf26bbad.mp4"
},
"thumbnail": {
"url": "https://imagedelivery.net/1KomXrSWiTojGGip43n0SQ/e4268de5-4a74-45ff-67b8-dc46df12de00/public",
"width": 1360,
"height": 752,
"palette": {
"grid": "em9csKqXYUgqdHVmmqeZLB8YaFpLjVw2bmFTTElBHhMNTzgodD8eVzUeTDorRSkYYEQymV80e1M0ck0ugWVRwKCApWk0hF1BgmVP"
},
"media_type": "image"
},
"video_raw": {
"url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/35049450-c008-4607-b1d0-0b025599f15d/video0b6619468da8e409da860706bbf26bbad.mp4",
"width": 1360,
"height": 752,
"duration": 5.041667,
"media_type": "video"
},
"created_at": "0001-01-01T00:00:00Z",
"last_frame": {
"url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/606108d9-9daf-4265-84fb-595f18240ac5/video_0_last_frame.jpg",
"width": 1360,
"height": 752,
"palette": null,
"media_type": "image"
}
},
"thumbnail": {
"url": "https://imagedelivery.net/1KomXrSWiTojGGip43n0SQ/e4268de5-4a74-45ff-67b8-dc46df12de00/public",
"width": 1360,
"height": 752,
"palette": {
"grid": "em9csKqXYUgqdHVmmqeZLB8YaFpLjVw2bmFTTElBHhMNTzgodD8eVzUeTDorRSkYYEQymV80e1M0ck0ugWVRwKCApWk0hF1BgmVP"
},
"media_type": "image"
},
"video_raw": {
"url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/35049450-c008-4607-b1d0-0b025599f15d/video0b6619468da8e409da860706bbf26bbad.mp4",
"width": 1360,
"height": 752,
"duration": 5.041667,
"media_type": "video"
},
"created_at": "2024-12-22T13:38:40.139Z",
"last_frame": {
"url": "https://storage.cdn-luma.com/dream-machine/b0d67582-c6f0-4973-a89c-3fea9d46d5e9/606108d9-9daf-4265-84fb-595f18240ac5/video_0_last_frame.jpg",
"width": 1360,
"height": 752,
"palette": null,
"media_type": "image"
}
}
修改于 2024-12-22 14:44:10