رفتن به محتوا

Kling 3.0 Pro Text to Video

یکپارچه‌سازی

شناسه مدل 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://api.doitong.com/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

این درخواست: ⁨‎$۰٫۵۶⁩ ۵۶۰ اعتبار API اجرای آن در این صفحه

دریافت کلید API
Kling متن به ویدیو صوت بومی۳–۱۵ ثانیه #audio#cinematic#multi-shot

کلیپ‌های سینمایی 3 تا 15 ثانیه‌ای از پرامپت، با صدای بومی و داستان‌گویی چندنما.

نمونه‌ها

خروجی · ~141 ثانیه

پرامپت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

نحوه برنامه‌ریزی نماها در تولید چندنما را انتخاب می‌کند؛ انتخاب '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://api.doitong.com/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

اجرای این درخواست

کلید شما در این مرورگر باقی می‌ماند: فقط به Doitong API ارسال می‌شود و فقط در صورت فعال‌کردن گزینه «یادآوری»، در localStorage ذخیره می‌شود. دریافت کلید API

ساخته‌شده در Doitong

آثار عمومی ساخته‌شده با Kling v3 توسط جامعه Doitong. یک پرامپت را با یک کلیک دوباره استفاده کنید.

آثار عمومی نمایش‌داده‌شده: 16
**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...

**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...

**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...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ویدیو

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**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...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ویدیو

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ویدیو

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ویدیو

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

درباره 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
کلید تولید صوت بومی ویدیو؛ از صداهای چینی یا انگلیسی پشتیبانی می‌کند و هر زبان دیگر را به‌طور خودکار به انگلیسی ترجمه می‌کند. برای گفتار انگلیسی، سرواژه‌ها و نام‌های خاص را با حروف بزرگ و سایر موارد را با حروف کوچک بنویسید.
shot_typeاختیاری
نوعenum
پیش‌فرضcustomize
customizeintelligent
نحوه برنامه‌ریزی نماها در تولید چندنما را انتخاب می‌کند؛ انتخاب '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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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}ویدیوی تولیدشده توسط مدل.

مدل‌های بیشتر: متن به ویدیو

برای عامل‌های هوش مصنوعی: این صفحه به‌صورت Markdown در دسترس است https://doitong.com/fa/developers/models/kling-video/v3/pro/text-to-video.md. همه مدل‌ها و راهنماها: https://doitong.com/developers/llms.txt