zsxkib/outpainter-to-video

🎥 Outpaint videos (i2v) in each direction (top, bottom, left, right)

Public
32 runs

Run zsxkib/outpainter-to-video with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
image
string
Image to expand and animate
video_prompt
string
Describe the video motion and style
extend_left
integer
0

Max: 2000

Pixels to extend left
extend_right
integer
0

Max: 2000

Pixels to extend right
extend_top
integer
0

Max: 2000

Pixels to extend top
extend_bottom
integer
0

Max: 2000

Pixels to extend bottom
preset
None
none
Quick expansion presets (overrides extend values if not 'none')
outpaint_prompt
string
Continue the scene naturally
What should fill the expanded areas
steps
integer
50

Min: 15

Max: 50

Outpainting steps (quality)
guidance
number
30

Min: 1.5

Max: 100

Outpainting prompt adherence
num_frames
integer
81

Min: 81

Max: 121

Video length in frames (81 for speed)
resolution
None
720p
Video resolution
aspect_ratio
None
16:9
Video aspect ratio
frames_per_second
integer
24

Min: 5

Max: 30

Video frame rate
seed
integer
Random seed for reproducibility (leave blank for random)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/mbCMTFtYBvanDNPpoxePLxqdkubrCevTIpoqaf329gN4BIWqA/output.mp4'