কনটেন্টে যান

Kling 1.5

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

মডেল id kling-video/v1.5/pro/effects
# 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/v1.5/pro/effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "effect_scene": "heart_gesture"
  }'

# 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 কী পান

আপনার ছবিতে উইংস বা বুলেট টাইমের মতো 91টি প্রিসেট ইফেক্ট দৃশ্যের একটি প্রয়োগ করে একটি ছোট ক্লিপ তৈরি করে

Kling · ভিডিও

আপনার প্রথম ফলাফল এখানে আসবে

নিচে একটি রিকোয়েস্ট তৈরি করে আপনার API কী দিয়ে চালান। আউটপুট আমাদের স্টোরেজে কপি করা হয়, চিরকাল বা বিনামূল্যে ৭ দিন পর্যন্ত রাখা হয়।

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

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

duration ৫ s

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

•আবশ্যক

effect scene নির্বাচন, যেখানে multi-image heart_gesture বিকল্প ছাড়া single-image effects দেওয়া হয়।

অ্যাডভান্সড input_image_urls · enable_safety_checker
একটি ফাইল ড্রপ করুন, অথবা

effect ইনপুট ছবি URLs, যেখানে heart_gesture-এর জন্য ঠিক দুটি এবং অন্য যেকোনো effect-এর জন্য একটি প্রয়োজন।

POST /run/kling-video/v1.5/pro/effects?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/v1.5/pro/effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "effect_scene": "heart_gesture"
  }'

# 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 1.5 সম্পর্কে

নির্বাচিত `effect_scene` এবং `input_image_urls`-এ দেওয়া ছবি থেকে 5 অথবা 10 সেকেন্ডের ভিডিও তৈরি করে। অধিকাংশ ইফেক্টের জন্য ঠিক একটি ছবি প্রয়োজন, তবে heart_gesture-এর জন্য ঠিক দুটি। heart_gesture, bullet_time_360, running_man, instant_christmas এবং আরও অনেকসহ মোট 91টি অপশন রয়েছে। কোনো টেক্সট প্রম্পট ব্যবহৃত হয় না।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
অ্যাকাউন্ট অনুমোদন থাকলেই কেবল সেফটি চেক নিষ্ক্রিয় করা যায়; অনুমোদনহীন রিকোয়েস্টে সবসময় চেক করা হয়।
input_image_urlsঐচ্ছিক
ধরনurl[] · image
effect ইনপুট ছবি URLs, যেখানে heart_gesture-এর জন্য ঠিক দুটি এবং অন্য যেকোনো effect-এর জন্য একটি প্রয়োজন।
effect_sceneআবশ্যক
ধরনenum
heart_gesturebullet_time_360swish_swishrunning_manswing_swingbuilding_sweaterpure_white_wingsblack_wingsgolden_wingpink_pink_wingscountdown_teleportinstant_christmasbirthday_startiger_hug_propet_lion_prodrunk_dance
+75টি আরওdrunk_dance_petdaoma_dancebouncy_dancesmooth_sailing_dancenew_year_greetinglion_danceprosperitygreat_successgolden_horse_fortunered_packet_boxlucky_horse_yearlucky_red_packetlucky_money_comelion_dance_petdumpling_making_petfish_making_petpet_red_packetlantern_glowexpression_challengeoverdriveheart_gesture_dancepopingmartial_artsrunningnezhamotorcycle_dancesubject_3_danceghost_step_dancephantom_jewelzoom_outcheers_2026kiss_profight_prohug_proheart_gesture_prodollar_rain_propet_bee_prosanta_random_surprisemagic_match_treehappy_birthdaythumbs_up_prosurprise_bouquetbouquet_dropglamour_photo_shootbox_of_joyfirst_toast_of_the_yearmy_santa_picsanta_giftsteampunk_christmassnowglobechristmas_photo_shootornament_crashsanta_expresscoronation_of_frostspark_in_the_snowscarlet_and_snowbullet_time_litejumping_ginger_joyvenomous_spiderthrone_of_kingluminous_elfwoodland_elfsnowboardingwitch_transformvampire_transformpumpkin_head_transformdemon_transformmummy_transformzombie_transformcute_pumpkin_transformhalloween_escapekorean_baseballgirlfriendboyfriendsplashsplash
effect scene নির্বাচন, যেখানে multi-image heart_gesture বিকল্প ছাড়া single-image effects দেওয়া হয়।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
510
আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে পরিমাপ করা হয়।
আবশ্যক

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v1.5/pro/effects",
  "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": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "effect_scene": "heart_gesture"
  },
  "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/v1.5/pro/effects.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt