- 🔥最新公告
- OpenAI SDK教程
- 聊天(OpenAIChat)
- AnthropicClaude
- 图像(Images)
- 视频生成(Videos)
- 视频生成
- sora
- 数字人系列-对口型(lipsync)
- Runway(官方格式)
- Luma(官方格式)
- 可灵API(官方格式)
- 智谱清影(Cogvideox官方格式)
- 音频(Audio)
- 嵌入(RAG-Embeddings)
- 重排序(RAG-Reranker)
- 对象存储+文件解析(Files)
- 内容审查(Moderations)
- 助手测试版(AssistantsBeta)待开发
- 线程数(Threads)待开发
- 留言(Messages)待开发
- 运行(Runs)待开发
- 批量API(Batch API)待开发
- 微调(Fine-tuning)待开发
- 🔥AI 工具
- 文档智能&图片处理
- AI产品配置教程
- 教程类
- 系统API
- 视频生成
- Midjourney
- Recraft(图片)
- 未命名接口POST
- 未命名接口POST
获取任务
正式环境
正式环境
GET
https://api.chatfire.cn/hailuo/v1/query/video_generation
最后修改时间:2024-10-28 06:16:35
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
task_id
string
必需
示例值:
hailuo-307186249483137032
示例代码
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://api.chatfire.cn/hailuo/v1/query/video_generation?task_id=hailuo-307186249483137032'
返回响应
🟢200成功
application/json
Body
task_id
string
必需
base_resp
object
必需
status_code
integer
必需
status_msg
string
必需
status
string
必需
file_id
string
必需
videos
array [object {12}]
必需
id
string
可选
canAppeal
boolean
可选
canRetry
boolean
可选
coverURL
string
可选
desc
string
可选
message
string
可选
originFiles
array [object {3}]
可选
percent
integer
可选
status
integer
可选
videoURL
string
可选
width
integer
可选
height
integer
可选
示例
{
"task_id": "336635509855858693",
"base_resp": {
"status_code": 0,
"status_msg": "Success"
},
"status": "Processing",
"file_id": "",
"videos": [
{
"id": "336635509855858693",
"canAppeal": false,
"canRetry": false,
"coverURL": "",
"desc": "两个人互相拥抱",
"message": "Video generation is in progress. Exiting will not halt video's creation process.",
"originFiles": [
{
"id": "336635507087904771",
"url": "https://cdn.hailuoai.video/moss/prod/2025-01-17-20/user/multi_chat_file/1737116303886731495-3396999e-7ec7-43a9-92db-af2fd2551861.jpg",
"type": "jpg"
}
],
"percent": 20,
"status": 1,
"videoURL": "",
"width": 0,
"height": 0
}
]
}
修改于 2024-10-28 06:16:35