কনটেন্টে যান

Kling 3.0 Pro Text to Video

ইন্টিগ্রেট করুন

মডেল id kling-video/v3/pro/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-video/v3/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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"

এই অনুরোধ: ০.৫৬$ ৫৬০ API ক্রেডিট এই পেজে চালান

API কী পান
Kling টেক্সট থেকে ভিডিও নেটিভ অডিও৩–১৫ s #audio#cinematic#multi-shot

প্রম্পট থেকে 3 থেকে 15 সেকেন্ডের সিনেমাটিক ক্লিপ, নেটিভ শব্দ ও মাল্টি-শট গল্প বলার সুবিধাসহ।

উদাহরণ

আউটপুট · ~141 s

প্রম্পটA paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.

৫ sgenerate_audio: false16:9০.৫৬$ · ৫৬০ API ক্রেডিট

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

289 / 2500

ভিডিও জেনারেট করতে ব্যবহৃত টেক্সট নির্দেশনা। প্রম্পট অথবা multi_prompt-এর মধ্যে ঠিক একটি দিন।

duration ৫ s

আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।

aspect_ratio

আউটপুট ভিডিওর ফ্রেমের প্রস্থ-উচ্চতা অনুপাত।

অ্যাডভান্সড negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type ডিফল্ট customize

multi-shot জেনারেশন কীভাবে শট পরিকল্পনা করবে তা নির্বাচন করুন; 'intelligent' নির্বাচন করলে শটের কাঠামো মডেলের ওপর ছেড়ে দেওয়া হয়।

ডিফল্ট 0.5

CFG ব্যবহার করে জেনারেশন আপনার প্রম্পট কতটা অনুসরণ করবে তা নির্ধারণ করুন; CFG-এর পূর্ণরূপ Classifier Free Guidance।

সরবরাহ করা হলে একক প্রম্পটের পরিবর্তে একাধিক শটে বিভক্ত ভিডিও তৈরি করতে ব্যবহৃত প্রতিটি শটের প্রম্পট ও সময়কাল।

POST /run/kling-video/v3/pro/text-to-video?wait=20 মূল্য → ০.৫৬$
# 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-video/v3/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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 3.0 Pro Text to Video সম্পর্কে

Kling-এর প্রধান টেক্সট-টু-ভিডিও মডেলটি মসৃণ, পদার্থবিদ্যাসম্মত গতিবিধি ও চলচ্চিত্রসুলভ আলো তৈরি করে এবং ডিফল্টভাবে সামঞ্জস্যপূর্ণ শব্দ ও কথোপকথন জেনারেট করে। প্রতি-শট প্রম্পট দিয়ে একটি ক্লিপকে একাধিক শটে ভাগ করুন, অথবা মডেলকে নিজেই কাট পরিকল্পনা করতে দিন। 16:9, 9:16 বা 1:1, 3 থেকে 15 সেকেন্ডের যেকোনো দৈর্ঘ্য, নেগেটিভ প্রম্পট ও গাইডেন্স স্কেলসহ।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptঐচ্ছিক
ধরনstring | null
≤ ২,৫০০টি অক্ষর
ভিডিও জেনারেট করতে ব্যবহৃত টেক্সট নির্দেশনা। প্রম্পট অথবা multi_prompt-এর মধ্যে ঠিক একটি দিন।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
3456789101112131415
আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।
multi_promptঐচ্ছিক
ধরনobject[]
সরবরাহ করা হলে একক প্রম্পটের পরিবর্তে একাধিক শটে বিভক্ত ভিডিও তৈরি করতে ব্যবহৃত প্রতিটি শটের প্রম্পট ও সময়কাল।
multi_prompt[].promptআবশ্যক
ধরনstring
বর্তমান শটের টেক্সট নির্দেশনা।
multi_prompt[].durationঐচ্ছিক
ধরনenum
ডিফল্ট5
123456789101112131415
বর্তমান শটের দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।
generate_audioঐচ্ছিক
ধরনboolean
ডিফল্টtrue
নেটিভ ভিডিও অডিও জেনারেশনের টগল, যা Chinese বা English ভয়েস সমর্থন করে এবং অন্য যেকোনো ভাষাকে স্বয়ংক্রিয়ভাবে English-এ অনুবাদ করে। English স্পিচের ক্ষেত্রে acronym ও proper noun বড় হাতের অক্ষরে এবং বাকি সব ছোট হাতের অক্ষরে লিখুন।
shot_typeঐচ্ছিক
ধরনenum
ডিফল্টcustomize
customizeintelligent
multi-shot জেনারেশন কীভাবে শট পরিকল্পনা করবে তা নির্বাচন করুন; 'intelligent' নির্বাচন করলে শটের কাঠামো মডেলের ওপর ছেড়ে দেওয়া হয়।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্ট16:9
16:99:161:1
আউটপুট ভিডিওর ফ্রেমের প্রস্থ-উচ্চতা অনুপাত।
negative_promptঐচ্ছিক
ধরনstring
ডিফল্টblur, distort, and low quality
≤ ২,৫০০টি অক্ষর
cfg_scaleঐচ্ছিক
ধরনnumber
ডিফল্ট0.5
০ – ১
CFG ব্যবহার করে জেনারেশন আপনার প্রম্পট কতটা অনুসরণ করবে তা নির্ধারণ করুন; CFG-এর পূর্ণরূপ Classifier Free Guidance।
আবশ্যক

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/pro/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": 560,
    "usd": "0.56",
    "charged": 560,
    "refunded": 0
  },
  "input": {
    "prompt": "Close-up of fireflies dancing in a dark forest at twilight, soft glowing particles, slow dolly forward",
    "duration": 5,
    "aspect_ratio": "16:9"
  },
  "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= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
video
object {url, content_type, file_name, file_size}মডেল দ্বারা তৈরি ভিডিও।

আরও মডেল: টেক্সট থেকে ভিডিও

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/kling-video/v3/pro/text-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt