Reframe a video
Changed onReframe a video by its ID
Request
- Base URLhttps://api.lumalabs.ai/dream-machine/v1
- AuthHTTP bearer
Request body
The reframe video generation request object
The image entity object
The image entity object
The model used for the reframe video
The prompt of the generation
The aspect ratio of the generation
The x position of the image in the grid
The y position of the image in the grid
The x start of the crop bounds
The x end of the crop bounds
The y start of the crop bounds
The y end of the crop bounds
Resized width of source video
Resized height of source video
The callback URL of the generation, a POST request with Generation object will be sent to the callback URL when the generation is dreaming, completed, or failed
Example request
{
"aspect_ratio": "16:9"
}Response
Video reframed
The generation response object
The ID of the generation
The type of the generation
The state of the generation
The reason for the state of the generation
The date and time when the generation was created
The assets of the generation
The model used for the generation
The request of the generation
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"state": "completed",
"failure_reason": null,
"created_at": "2023-06-01T12:00:00Z",
"assets": {
"video": "https://example.com/video.mp4"
},
"model": "ray-2",
"request": {
"prompt": "A serene lake surrounded by mountains at sunset",
"aspect_ratio": "16:9",
"loop": true,
"keyframes": {
"frame0": {
"type": "image",
"url": "https://example.com/image.jpg"
},
"frame1": {
"type": "generation",
"id": "123e4567-e89b-12d3-a456-426614174000"
}
}
}
}Changes
- info
the
modelresponse's property default valueray-2was added for the status
- info
- info
the
modelresponse's property default valueray-2was removed for the status
- info