- 系统介绍
- 系统 优势
- 补充说明
- 辅助功能
- 功能介绍
- 账户余额查询
- 文件上传
- 文件解析(无特定接口)
- 按量计费
- 按次计费
- MJ Chat
- Suno-Proxy
- sora
- 可灵(官方格式)
- MJ Proxy
- SD Chat
- SD Proxy
- Suno Chat
- Suno Proxy 旧
- Luma Chat
- Lumvip Proxy
- Luma Proxy
- Pika
- Domo
- urlanalysis
/extend
开发中
POST
/v1/luma/extend
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
string
可选
Header 参数
string
可选
Body 参数application/json
user_prompt
string
提示词
aspect_ratio
string
画面比例
expand_prompt
boolean
是否优化扩展提示词
image_end_url
string
结束帧图片,关键帧
video_url
string
视频 URL
示例
{
"user_prompt": "move",
"aspect_ratio": "16:9",
"expand_prompt": true,
"video_url": "https://storage.cdn-luma.com/lit_lite_inference_text2vid_v1.0/b2e7200f-53a2-4d02-8aa5-35b0f5c8b121/watermarked_video081db4603dec241f1b310447bf1df0cf6.mp4",
// "image_end_url": "https://cdn.midjourney.com/2bdc0f7b-b8a4-43ad-9c44-b5fc8b49be39/0_0.png"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/luma/extend' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_prompt": "move",
"aspect_ratio": "16:9",
"expand_prompt": true,
"video_url": "https://storage.cdn-luma.com/lit_lite_inference_text2vid_v1.0/b2e7200f-53a2-4d02-8aa5-35b0f5c8b121/watermarked_video081db4603dec241f1b310447bf1df0cf6.mp4",
// "image_end_url": "https://cdn.midjourney.com/2bdc0f7b-b8a4-43ad-9c44-b5fc8b49be39/0_0.png"
}'
返回响应
🟢200成功
application/json
Body
id
string
必需
prompt
string
必需
state
string
必需
created_at
string
必需
video
null
必需
liked
null
必需
estimate_wait_seconds
null
必需
server_id
string
必需
示例
{
"id": "55cf86fd-72a0-47cc-88c5-ee8974a1e17f",
"prompt": "robot fighting",
"state": "pending",
"created_at": "2024-06-21T02:49:07.820469Z",
"video": null,
"liked": null,
"estimate_wait_seconds": null,
"server_id": "2a526980-24d4-4086-9a1e-f1590c0c3e31"
}
修改于 2024-07-09 03:11:10