Skip to content

kling-4.0/flash-reference-to-video ​

This page lists parameters from the ModelFold model catalog.

Overview ​

FieldValue
Model IDkling-4.0/flash-reference-to-video
Family slugkling-4-0-flash
ModalityVideo Generation (video)
EndpointPOST /v1/videos/generations

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/videos/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kling-4.0/flash-reference-to-video","prompt":"Replace the environment and characters throughout the video with the content from Image.","duration":5,"resolution":"720p","image_urls":["https://example.com/reference.png"],"video_urls":["https://example.com/reference.mp4"],"keep_original_sound":false,"elements":[{"name":"Hero"}]}'

Required parameters ​

Required: prompt.

Pass model parameters at the top level; do not wrap them in input. Replace sample media URLs with your own publicly accessible files. The request waits for generation and returns data[].url.

See the complete parameter reference for conditional requirements, limits and alternative input modes.

See also ​

ModelFold — one API for all the best AI models.