Skip to main content
POST
/
v1
/
ai
/
video
/
kling-v3-omni-pro
/
video-reference
Kling 3 Omni Pro - Create video with video reference
curl --request POST \
  --url https://api.freepik.com/v1/ai/video/kling-v3-omni-pro/video-reference \
  --header 'Content-Type: application/json' \
  --header 'x-freepik-api-key: <api-key>' \
  --data '
{
  "webhook_url": "<string>",
  "prompt": "<string>",
  "image_url": "<string>",
  "video_url": "<string>",
  "duration": "5",
  "aspect_ratio": "16:9",
  "cfg_scale": 0.5,
  "negative_prompt": "blur, distort, and low quality"
}
'
"<unknown>"

Authorizations

x-freepik-api-key
string
header
required

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Body

application/json

Generate video using Kling 3 Omni with a reference video for motion/style guidance.

Best for:

  • Transferring motion patterns from reference videos
  • Maintaining visual consistency with reference material
  • Creating videos that follow a specific style or movement pattern
webhook_url
string<uri>

Optional callback URL that receives asynchronous notifications when the task changes status. The payload includes the task status and result URL when completed.

prompt
string

Text prompt describing the desired video content. Maximum 2500 characters. Reference the video in your prompt as @Video1.

Tips for better results:

  • Be specific about actions, camera movements, and mood
  • Reference @Video1 to indicate how the reference video should influence generation
Maximum string length: 2500
image_url
string

URL of the start frame image for image-to-video generation with video reference.

Image requirements:

  • Minimum: 300x300 pixels
  • Maximum: 10MB file size
  • Formats: JPG, JPEG, PNG
video_url
string

Reference video URL for video-guided generation. Reference in your prompt as @Video1.

Video requirements:

  • Formats: MP4, MOV only
  • Duration: 3-10 seconds
  • Resolution: 720-2160px
  • Maximum file size: 200MB
duration
enum<string>
default:5

Duration of the generated video in seconds.

Range: 3-15 seconds Note: When using multi-shot mode, total duration across all shots cannot exceed 15 seconds.

Available options:
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
aspect_ratio
enum<string>
default:16:9

Aspect ratio for Kling V3 Omni video generation:

  • auto: Automatically match the input image/video aspect ratio (video-to-video only)
  • 16:9: Landscape (widescreen)
  • 9:16: Portrait (vertical)
  • 1:1: Square
Available options:
auto,
16:9,
9:16,
1:1
cfg_scale
number<float>
default:0.5

Guidance scale for prompt adherence. Higher values mean stronger adherence to the prompt.

  • 0: Maximum flexibility, more creative interpretation
  • 0.5 (default): Balanced between prompt adherence and creativity
  • 2: Strict adherence to prompt, less creative variation
Required range: 0 <= x <= 2
negative_prompt
string
default:blur, distort, and low quality

Undesired elements to avoid in the generated video. Maximum 2500 characters.

Maximum string length: 2500

Response

OK - Task created successfully

OK - The task exists and the status is returned