Light Mode
Video Extend
POST
/api/luma/v1/video/{task_id}/extendThis endpoint from PiAPI's Dream Machine API can extend an existing video.
Request
Path Params
task_id
string
required
Header Params
X-API-Key
string
required
Insert your API Key here
Body Params application/json
prompt
string
required
the prompt to guide the video extend
expand_prompt
boolean
required
loop
boolean
optional
default to false
Example
{
"prompt": "string",
"expand_prompt": true,
"loop": true
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Default
Data Schema
code
integer
optional
data
object
optional
task_id
string
optional
message
string
optional
Example
{
"code": 0,
"data": {
"task_id": "string"
},
"message": "string"
}
Modified at 15 days ago