Skip to main content
POST
Image to Video - Traditional Mode - Submit Task

Introduction

Submit image-to-video task in traditional mode, used to generate video based on input image.

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

array[string]
required
Input image URL array: 0: source image (RGB, 3-channel) 1: optional mask (grayscale, 1-channel; 0 black = keep, 255 white = remove)
string
required
Prompt describing desired video effect
string
required
Video duration, supported values: 3, 5, 8, 10, 12
string
required
Video resolution (enum): 480p, 720p, 1080p
string
Request key for business correlation or de-duplication
boolean
Whether to return the result URL directly (default off)

Response Example