Extend(Video)
POST
/luma/extend/{id}Extend(Video) from Luma AI. This API is used to extend previously generated videos, adding 5s of playback time.
Note: Since the official API does not support setting the first and last frames for video extensions, the extended content may be somewhat unpredictable. We recommend using the submit interface to input the last frame of the previous video for generation, and then manually stitching the videos together afterward.
Luma AI:https://lumalabs.ai/dream-machine
Price: 0.4 PTC / call
请求参数
之前视频返回的id,以luma_开头
API Key
API Key from 302.AI backend
Video prompt
The first frame of the video, but not recommended to upload it. If you choose to do so, it is best to also pass the last frame that needs to be expanded to maintain visual coherence.
The last frame of the video that we suggest not upload it. If you do, it must be identical to the first frame because the extension does not support generating different first and last frames; if they differ, an error will occur. We recommend submitting the first and last frames through the submit interface and splicing them together later.
示例代码
Responses
{
"created_at": "",
"estimate_wait_seconds": null,
"id": "",
"liked": null,
"prompt": "",
"state": "",
"video": null
}