Documentation Index
Fetch the complete documentation index at: https://docs.legnext.ai/llms.txt
Use this file to discover all available pages before exploring further.
video_diffusion(prompt=None, job_id=None, image_no=None, video_type=None, callback=None)
Generate a video from text prompt, image URL, or animate existing generated image.prompt(str, optional): Video prompt or “[image_url] prompt text” (1-8192 characters)job_id(str, optional): Job ID of previously generated imageimage_no(int, optional): Image index (0-3) when using job_idvideo_type(int, optional): Quality (0=480p, 1=720p)callback(str, optional): Webhook URL
TaskResponse with job_id and status
extend_video(job_id, video_no, prompt=None, callback=None)
Extend an existing video.job_id(str): Original video task IDvideo_no(int): Video index (0-3)prompt(str, optional): Extension prompt (1-8192 characters)callback(str, optional): Webhook URL
video_upscale(job_id, video_no, callback=None)
Upscale video to higher resolution.job_id(str): Original video task IDvideo_no(int): Video index (0-3)callback(str, optional): Webhook URL