Image to Video
Generate videos from images using the Kling v2.5 Turbo model.
Documentation Index
Fetch the complete documentation index at: https://mulerun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Generate videos from images using the Kling v2.5 Turbo model with faster generation speed and advanced features.Key Features
- Fast image-to-video generation
- Standard and Professional quality modes
- 5s or 10s duration
- End frame control (image_tail)
- Motion brush support (static_mask, dynamic_masks)
Image Requirements
| Property | Requirement |
|---|---|
| Formats | JPEG, JPG, PNG |
| Dimensions | Min 300px for both width and height |
| Aspect Ratio | Between 1:2.5 and 2.5:1 |
| File Size | Max 10MB |
| Input | Public URL or Base64 encoded data |
Example Requests
Basic Image-to-Video
With End Frame Control
With Dynamic Masks
Parameters
image_tail
- Optional: Yes
- Description: End frame image for video interpolation
- Note: Cannot be used with
dynamic_masks/static_mask
dynamic_masks
- Optional: Yes
- Description: Up to 6 groups of mask and trajectory configurations
- Note: Cannot be used with
image_tail
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Reference Image. Support inputting image Base64 encoding or image URL.
Important: When using Base64 encoding, do not add any prefixes such as data:image/png;base64,. Provide only the Base64-encoded string itself.
- Supported image formats: .jpg, .jpeg, .png
- Image file size cannot exceed 10MB
- Width and height dimensions must not be less than 300px
- Aspect ratio should be between 1:2.5 ~ 2.5:1
Reference Image - End frame control. Support inputting image Base64 encoding or image URL.
- At least one parameter should be filled in between
imageandimage_tail image+image_tailanddynamic_masks/static_maskcannot be used at the same time
Positive text prompt. Cannot exceed 2500 characters.
2500Negative text prompt. Cannot exceed 2500 characters.
2500Video generation mode
std: Standard Mode, which is cost-effective.
pro: Professional Mode, generates videos use longer duration but higher quality video output.
std, pro Static Brush Application Area (Mask image created by users using the motion brush).
- Support inputting image Base64 encoding or image URL
- The aspect ratio of the mask image must match the input image
Dynamic Brush Configuration List. Multiple configurations can be set up (up to 6 groups).
6Video Length in seconds
5, 10 Response
Accepted - Task created successfully