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

Kling 4.0 Text to Video

ஒருங்கிணை

மாடல் id kling/v4/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling/v4/text-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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

காட்சி-வாரியான விருப்ப ப்ராம்ப்ட்டுகளுடன் உரை-மட்டும் வீடியோ உருவாக்கம்; 720p அல்லது 1080p இல் 3 முதல் 30 வினாடி கிளிப்புகள்

Kling · வீடியோ

உங்கள் முதல் முடிவு இங்கே வரும்

கீழே ஒரு கோரிக்கையை உருவாக்கி, உங்கள் API விசையுடன் இயக்குங்கள். வெளியீடுகள் எங்கள் சேமிப்பகத்தில் நகலெடுக்கப்பட்டு, நிரந்தரமாக அல்லது இலவசமாக 7 நாட்கள் வைக்கப்படும்.

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

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

88 / 2500

உருவாக்கத்திற்கான உரை வழிமுறைகள்; `prompt` அல்லது `multi_prompt` ஆகியவற்றில் ஒன்றை வழங்கவும்.

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

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

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

விளைவாக வரும் வீடியோவின் aspect ratio.

இயல்புநிலை 5

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

மேம்பட்டவை multi_prompt

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

POST /run/kling/v4/text-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://vit.doitong.com/api/v1/run/kling/v4/text-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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Kling 4.0 Text to Video பற்றி

அதிகபட்சம் 2500 எழுத்துகளைக் கொண்ட உரை ப்ராம்ப்ட்டிலிருந்து, படம் அல்லது வீடியோ உள்ளீடுகள் இல்லாமல் வீடியோவை உருவாக்குகிறது. மாற்றாக, பல-காட்சி கிளிப்புகளுக்கு ஒவ்வொரு காட்சிக்கும் ஒரு ப்ராம்ப்ட்டை `multi_prompt` வழங்குகிறது; மொத்த நீளம் காட்சிகளின் கால அளவுகளின் கூட்டுத்தொகையாகும். `duration` 3 முதல் 30 வினாடிகள் வரை, இயல்புநிலை 5. தெளிவுத்திறன் 720p அல்லது 1080p ஆகவும், `aspect_ratio` 16:9, 9:16, 1:1 அல்லது 21:9 ஆகவும் இருக்கலாம்.

அளவுருக்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptவிருப்பத்தேர்வு
வகைstring | null
≤ 2,500 எழுத்துகள்
உருவாக்கத்திற்கான உரை வழிமுறைகள்; `prompt` அல்லது `multi_prompt` ஆகியவற்றில் ஒன்றை வழங்கவும்.
multi_promptவிருப்பத்தேர்வு
வகைobject[]
காட்சி-வாரியான உருவாக்க வழிமுறைகள்; ஒவ்வொரு ப்ராம்ப்ட்டும் ஒரு காட்சியை வரையறுக்கும், அதன் கால அளவு வீடியோவின் மொத்த நீளத்தில் சேர்க்கப்படும்.
multi_prompt[].promptதேவை
வகைstring
1 – 512 characters
தற்போதைய காட்சிக்கான உரை வழிமுறைகள்.
multi_prompt[].durationவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை5
1 – 30
தனிப்பட்ட காட்சியின் கால அளவு, வினாடிகளில் அளவிடப்படுகிறது.
durationவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை5
3 – 30
வீடியோவின் நீளம் வினாடிகளில், 3 முதல் 30 வரை.
resolutionவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை1080p
720p1080p
வெளியீட்டின் தெளிவுத்திறன்.
aspect_ratioவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை16:9
16:99:161:121:9
விளைவாக வரும் வீடியோவின் aspect ratio.
தேவை

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling/v4/text-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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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/text-to-video.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt