Skip to main content
POST
Image to Video - First/Last Frame Mode - Submit Task

Introduction

Submit image-to-video task in first/last frame mode, used to generate video based on start and end images.

Authentication

string
required
Bearer Token, e.g., Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9... How to get: Obtain via the POST interface in the Authentication module at the top left, https://docs.leapx-hub.com/en/leapx-lab-v4/endpoint/get-token

Request Parameters

string[]
required
List of image URLs, including first and last images, must be 2 images
string
required
Text prompt
long
required
Video duration (seconds)
string
Request key
string
Resolution
boolean
Whether to return video URL

Response Example