feed 查询
开发中
GET
/api/video/pix/feed
请求参数
Query 参数
task_id
string
任务ID
示例值:
dd1887db-2fbf-4987-9ff8-d2cbba0560ce
Header 参数
Authorization
string
鉴权密钥
示例值:
Bh3oi26r1FPFCMrJ59RKngSXB2
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://duomiapi.com/api/video/pix/feed?task_id=dd1887db-2fbf-4987-9ff8-d2cbba0560ce' \
--header 'Authorization: Bh3oi26r1FPFCMrJ59RKngSXB2'
返回响应
🟢200成功
application/json
Body
code
enum<integer>
必需
枚举值:
200400
msg
string
必需
data
object
必需
task_id
string
必需
state
enum<string>
新版状态值
枚举值:
pendingrunningsucceedederror
默认值:
pending
示例值:
pending
prompt
string
描述词
video_url
string | null
视频
image_url
string | null
动图
poster
string | null
封面
msg
null
说明
point
string
所花费的点数
refund
string
退款状态
status
string
早期状态值
create_time
string
必需
update_time
string
必需
exec_time
number
必需
ip
string
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"task_id": "3c4bac07-9ba2-48e7-8072-a4e53c4feb7c",
"state": "success",
"prompt": "make fading wind waving entire necromancer panning slow motion with bioluminescent spirits rotating around itself",
"video_url": "http://source.wike.cc/attachments/video/pix/20240802/fb5f4b310b0451d4e76c377f078edb3b.mp4",
"image_url": "http://source.wike.cc/attachments/video/pix/20240802/4fcf47d9e42c7c36d79a76721868bbc3.webp",
"poster": "http://source.wike.cc/attachments/video/pix/20240802/34b6792278cd1e2e45ad5a9f9ffc92f0.jpg",
"msg": null,
"point": "120",
"refund": "0",
"status": "3",
"create_time": "1722600457",
"update_time": "1722602100"
},
"exec_time": 0.041962,
"ip": "118.120.152.227"
}