- 文件服务
- 链接分析(url analysis)
- 图片生成
- flux
- ideogram
- midjourney
- gpt4oimage
- 音乐生成
- 视频生成
- vidu(官方格式)
- runway
- luma
- luma(官方格式)
- 官方格式lumavip⚡️
- 官方格式lumapro🚀 (优先保证稳定性)
- 官方格式luma
- luma(goamz格式)
- luma(chatgpt-next-web格式)
- 可灵(官方格式)
- pika
- pixverse(变身毒液效果等)
- sora
- GPTs 相关
- 数字人
- 智谱清言(glm)
- openai
视频扩展(extend)
POST
https://api.gptgod.online/v1/lumavip/extend
最后修改时间:2024-12-17 06:52:55
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
user_prompt
string
提示词
aspect_ratio
string
画面比例
expand_prompt
boolean
是否优化扩展提示词
image_end_url
string
结束帧图片,关键帧
video_url
string
必需
示例
{
"user_prompt": "move",
"aspect_ratio": "16:9",
"expand_prompt": true,
"video_url": "https://storage.cdn-luma.com/lit_lite_inference_text2vid_v1.0/b0bac5f0-09be-4315-858b-e2c96ceb08ee/watermarked_video0619b962756e24add9a4db4d592bd3af6.mp4",
"image_end_url": "https://filesystem.site/cdn/20240715/iDTHjU7aT00tEjv94wK0NK0Nnnes7a.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 'https://api.gptgod.online/v1/lumavip/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/b0bac5f0-09be-4315-858b-e2c96ceb08ee/watermarked_video0619b962756e24add9a4db4d592bd3af6.mp4",
"image_end_url": "https://filesystem.site/cdn/20240715/iDTHjU7aT00tEjv94wK0NK0Nnnes7a.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"}