உள்ளடக்கத்திற்குச் செல்க

Kling 4.0 Reference to Video

ஒருங்கிணை

மாடல் id kling/v4/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling/v4/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

எடுத்துக்காட்டு போன்ற கோப்புகள்: $1.175 1,175 API கிரெடிட்கள் இயக்குவதற்கு முன் உங்கள் கோப்புகள் அளவிடப்படும் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
Kling குறிப்பிலிருந்து வீடியோவிற்கு குறிப்பு உள்ளீடுகள்3–30 s1080p வரை #reference-to-video#multi-shot#image-reference#video-reference

10 குறிப்புப் படங்கள், 5 குறிப்புக் காணொளிகள் மற்றும் 7 கூறுகள் வரை உள்ள தோற்றத்தைத் தக்கவைக்கும் 3-30 வினாடிக் காணொளிகளை உருவாக்குகிறது

Doitong இல் உருவாக்கப்பட்டது

Doitong சமூகத்தினரால் Kling 4.0 மூலம் உருவாக்கப்பட்ட பொதுப் படைப்புகள். ஒரே கிளிக்கில் ப்ராம்ப்ட்டை மீண்டும் பயன்படுத்தவும்.

காட்டப்படும் பொதுப் படைப்புகள்: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... வீடியோ

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... வீடியோ

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... வீடியோ

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... வீடியோ

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... வீடியோ

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... வீடியோ

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... வீடியோ

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... வீடியோ

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

கோரிக்கையை உருவாக்கு

மாடல் ஸ்கீமாவிலிருந்து கட்டுப்பாடுகள் உருவாக்கப்படுகின்றன. அவற்றை மாற்றும்போது குறியீடும் விலையும் புதுப்பிக்கப்படும்.

88 / 2500

`prompt` அல்லது `multi_prompt` ஆகியவற்றில் ஒன்றை வழங்க வேண்டிய தேவையைப் பூர்த்திசெய்யும் உருவாக்க வழிமுறைகள். வழங்கப்பட்ட உள்ளீடுகளைக் குறிப்பிட @Image1, @Video1, @Element1 போன்றவற்றைப் பயன்படுத்தவும்.

video_urls
கோப்பை விடுங்கள் அல்லது · 5 வரை

@Video1, @Video2 போன்றவற்றைப் பயன்படுத்தி குறிப்பிடப்படும் அதிகபட்சம் 5 குறிப்பீட்டு வீடியோக்கள்; ஒவ்வொன்றும் 3–30 வினாடிகள் நீளமுடையது (அதிகபட்சம் 30.05 வினாடிகள்), மேலும் அவற்றின் மொத்த கால அளவு, கூறு வீடியோக்களுடன் சேர்த்து, 30 வினாடிகளை மீறக்கூடாது. ஒவ்வொரு கோப்பும் 300 MB-க்கு அதிகமாக இருக்கக்கூடாது; அகலமும் உயரமும் தலா 700 px முதல் 4553 px வரை இருக்க வேண்டும். அகல-உயர விகிதம் 0.40 முதல் 2.50 வரையிலும், ஃப்ரேம் வீதம் 23.9 முதல் 60.05 FPS வரையிலும் இருக்க வேண்டும்.

resolution இயல்புநிலை 1080p

வெளியீட்டின் தெளிவுத்திறன்.

aspect_ratio இயல்புநிலை 16:9

வீடியோ விகிதங்கள், வெளிப்படையாகத் தேர்ந்தெடுக்கப்பட்டவை அல்லது 'auto' என்பதைத் தேர்ந்தெடுத்து குறிப்புகளிலிருந்து பெறப்பட்டவை.

இயல்புநிலை 5

வீடியோவின் நீளம் வினாடிகளில், 3 முதல் 30 வரை.

மேம்பட்டவை image · images · multi_prompt · elements
start_image_url
கோப்பை விடுங்கள் அல்லது

விருப்ப முதல்-ஃப்ரேம் படம்; இது படக் குறிப்புகளுக்கான வரம்பில் கணக்கிடப்படும். அதிகபட்ச கோப்பு அளவு 30.0 MB; அகலமும் உயரமும் தலா 300 px ஆக இருக்க வேண்டும், மேலும் அகல-உயர விகிதம் 0.40 முதல் 2.50 வரை இருக்க வேண்டும்.

image_urls
கோப்பை விடுங்கள் அல்லது · 10 வரை

@Image1, @Image2 போன்றவற்றைப் பயன்படுத்தி குறிப்பிடப்படும் படக் குறிப்புகள்; அதிகபட்சம் 10 படங்கள். ஒவ்வொரு கோப்பும் 30.0 MB வரம்புக்குள், இரு பரிமாணங்களிலும் குறைந்தது 300 px கொண்டதாகவும், 0.40 முதல் 2.50 வரையிலான அகல-உயர விகிதத்துடனும் இருக்க வேண்டும்.

காட்சி-வாரியான உருவாக்க வழிமுறைகள்; ஒவ்வொரு ப்ராம்ப்ட்டும் ஒரு காட்சியை வரையறுக்கும், அதன் கால அளவு வீடியோவின் மொத்த நீளத்தில் சேர்க்கப்படும்.

அதிகபட்சம் 7 கதாபாத்திரங்கள் அல்லது பொருட்களின் தொகுப்பு; இதில் அதிகபட்சம் 3 `voice_id` கொண்டிருக்கலாம், மேலும் அதிகபட்சம் 3 வீடியோவைப் பயன்படுத்தலாம். இந்தக் கூறுகளை @Element1, @Element2 போன்றவற்றைப் பயன்படுத்தி குறிப்பிடவும்.

POST /run/kling/v4/reference-to-video?wait=20 விலை → $1.175
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling/v4/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

இந்தக் கோரிக்கையை இயக்கு

உங்கள் key இந்த உலாவியில் மட்டுமே இருக்கும்: அது Doitong API-க்கு மட்டும் அனுப்பப்படும்; Remember-ஐத் தேர்ந்தெடுத்தால் மட்டுமே (localStorage)-ல் சேமிக்கப்படும். API விசையைப் பெறுங்கள்

Kling 4.0 Reference to Video பற்றி

உரை `prompt` மற்றும் குறிப்பு படங்கள், குறிப்பு வீடியோக்கள், கதாபாத்திரம் அல்லது பொருள் உறுப்புகளைப் பயன்படுத்தி வீடியோவை உருவாக்குகிறது; இவை ப்ராம்ப்ட்டில் @Image1, @Video1 அல்லது @Element1 எனக் குறிப்பிடப்படுகின்றன. கால அளவு 3 முதல் 30 வினாடிகள் (இயல்புநிலை 5); வெளியீடு 720p அல்லது 1080p, காட்சி விகிதங்கள் auto, 16:9, 9:16, 1:1 அல்லது 21:9. ஒவ்வொரு காட்சிக்கும் தனித்தனி ப்ராம்ப்ட்களுக்கு `multi_prompt` ஐப் பயன்படுத்தலாம்; அப்போது மொத்த நீளம் காட்சிகளின் கால அளவுகளின் கூட்டுத்தொகையாகும். வரம்புகள்: 10 படங்கள், ஒவ்வொன்றும் 3-30s கொண்ட 5 வீடியோக்கள், 7 உறுப்புகள்; அவற்றில் அதிகபட்சம் 3 குரலைக் கொண்டிருக்கலாம்.

அளவுருக்கள்

நியமப் பெயர் அல்லது நேட்டிவ் பெயர் இரண்டில் ஒன்றை மட்டும் அனுப்பவும். நியமப் பெயர்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptவிருப்பத்தேர்வு
வகைstring | null
≤ 2,500 எழுத்துகள்
`prompt` அல்லது `multi_prompt` ஆகியவற்றில் ஒன்றை வழங்க வேண்டிய தேவையைப் பூர்த்திசெய்யும் உருவாக்க வழிமுறைகள். வழங்கப்பட்ட உள்ளீடுகளைக் குறிப்பிட @Image1, @Video1, @Element1 போன்றவற்றைப் பயன்படுத்தவும்.
multi_promptவிருப்பத்தேர்வு
வகைobject[]
காட்சி-வாரியான உருவாக்க வழிமுறைகள்; ஒவ்வொரு ப்ராம்ப்ட்டும் ஒரு காட்சியை வரையறுக்கும், அதன் கால அளவு வீடியோவின் மொத்த நீளத்தில் சேர்க்கப்படும்.
multi_prompt[].promptதேவை
வகைstring
1 – 512 characters
தற்போதைய காட்சிக்கான உரை வழிமுறைகள்.
multi_prompt[].durationவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை5
1 – 30
தனிப்பட்ட காட்சியின் கால அளவு, வினாடிகளில் அளவிடப்படுகிறது.
durationவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை5
3 – 30
வீடியோவின் நீளம் வினாடிகளில், 3 முதல் 30 வரை.
start_image_urlவிருப்பத்தேர்வு image
வகைurl · image
விருப்ப முதல்-ஃப்ரேம் படம்; இது படக் குறிப்புகளுக்கான வரம்பில் கணக்கிடப்படும். அதிகபட்ச கோப்பு அளவு 30.0 MB; அகலமும் உயரமும் தலா 300 px ஆக இருக்க வேண்டும், மேலும் அகல-உயர விகிதம் 0.40 முதல் 2.50 வரை இருக்க வேண்டும்.
image_urlsவிருப்பத்தேர்வு images
வகைurl[] · image
≤ 10 உருப்படிகள்
@Image1, @Image2 போன்றவற்றைப் பயன்படுத்தி குறிப்பிடப்படும் படக் குறிப்புகள்; அதிகபட்சம் 10 படங்கள். ஒவ்வொரு கோப்பும் 30.0 MB வரம்புக்குள், இரு பரிமாணங்களிலும் குறைந்தது 300 px கொண்டதாகவும், 0.40 முதல் 2.50 வரையிலான அகல-உயர விகிதத்துடனும் இருக்க வேண்டும்.
video_urlsவிருப்பத்தேர்வு videos
வகைurl[] · video
≤ 5 உருப்படிகள்
@Video1, @Video2 போன்றவற்றைப் பயன்படுத்தி குறிப்பிடப்படும் அதிகபட்சம் 5 குறிப்பீட்டு வீடியோக்கள்; ஒவ்வொன்றும் 3–30 வினாடிகள் நீளமுடையது (அதிகபட்சம் 30.05 வினாடிகள்), மேலும் அவற்றின் மொத்த கால அளவு, கூறு வீடியோக்களுடன் சேர்த்து, 30 வினாடிகளை மீறக்கூடாது. ஒவ்வொரு கோப்பும் 300 MB-க்கு அதிகமாக இருக்கக்கூடாது; அகலமும் உயரமும் தலா 700 px முதல் 4553 px வரை இருக்க வேண்டும். அகல-உயர விகிதம் 0.40 முதல் 2.50 வரையிலும், ஃப்ரேம் வீதம் 23.9 முதல் 60.05 FPS வரையிலும் இருக்க வேண்டும்.
elementsவிருப்பத்தேர்வு
வகைobject[]
≤ 7 உருப்படிகள்
அதிகபட்சம் 7 கதாபாத்திரங்கள் அல்லது பொருட்களின் தொகுப்பு; இதில் அதிகபட்சம் 3 `voice_id` கொண்டிருக்கலாம், மேலும் அதிகபட்சம் 3 வீடியோவைப் பயன்படுத்தலாம். இந்தக் கூறுகளை @Element1, @Element2 போன்றவற்றைப் பயன்படுத்தி குறிப்பிடவும்.
elements[].frontal_image_urlவிருப்பத்தேர்வு
வகைurl · image
கூறின் முதன்மைக் காட்சியைக் காட்டும் முன்புறப் படம். அதிகபட்ச கோப்பு அளவு 30.0 MB; இரு பரிமாணங்களும் குறைந்தது 300 px ஆகவும், அகல-உயர விகிதம் 0.40 முதல் 2.50 வரை இருக்க வேண்டும்.
elements[].reference_image_urlsவிருப்பத்தேர்வு
வகைurl[] · image
≤ 3 items
கூறின் வெவ்வேறு கோணங்களைக் காட்டும் துணைப் படங்கள், 1 முதல் 3 காட்சிகளுடன். ஒவ்வொரு கோப்பும் அதிகபட்சம் 30.0 MB ஆகவும், இரு பரிமாணங்களிலும் குறைந்தது 300 px ஆகவும், 0.40 முதல் 2.50 வரையிலான அகல-உயர விகிதத்துடனும் இருக்க வேண்டும்.
elements[].video_urlவிருப்பத்தேர்வு
வகைurl · video
படங்களுக்குப் பதிலாகப் பயன்படுத்தப்படும் ஒரு கூறின் வீடியோப் பிரதிநிதித்துவம்; 3–30 வினாடிகள் நீளம் (அதிகபட்சம் 30.05 வினாடிகள்). கோப்பு 300 MB-ஐ மீறக்கூடாது; அகலமும் உயரமும் தலா 700–4553 px வரம்பில் இருக்க வேண்டும். ஆதரிக்கப்படும் அகல-உயர விகிதங்கள் 0.40–2.50; ஃப்ரேம் வீதங்கள் 23.9–60.05 FPS.
elements[].voice_idவிருப்பத்தேர்வு
வகைstring | null
கூறுக்கு ஒதுக்கப்பட்ட குரல்.
resolutionவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை1080p
720p1080p
வெளியீட்டின் தெளிவுத்திறன்.
aspect_ratioவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை16:9
auto16:99:161:121:9
வீடியோ விகிதங்கள், வெளிப்படையாகத் தேர்ந்தெடுக்கப்பட்டவை அல்லது 'auto' என்பதைத் தேர்ந்தெடுத்து குறிப்புகளிலிருந்து பெறப்பட்டவை.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

கோப்பு அளவுருக்கள் பொதுவான https:// URL, 10 MB வரையிலான data: URI அல்லது பதிவேற்றத்தின் file_url-ஐ ஏற்கும். கோப்புகள்

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling/v4/reference-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 1175,
    "usd": "1.175",
    "charged": 1175,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
உங்கள் கோப்புகள், உங்கள் தேர்வுஒவ்வொரு outputs[].url-ம் எங்கள் சேமிப்பகத்தில் உள்ள ஒரு நகல்: நிரந்தரமாக (GB-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
video
object {url, content_type, file_name, file_size}மாதிரியால் உருவாக்கப்பட்ட வீடியோ.

மேலும் மாதிரிகள்: குறிப்பிலிருந்து வீடியோவிற்கு

AI ஏஜெண்டுகளுக்கு: இந்தப் பக்கம் Markdown வடிவில் இங்கே உள்ளது https://doitong.com/ta/developers/models/kling/v4/reference-to-video.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt