Kuaishoukling-4.0-flash
Kuaishou Kling 4.0 Flash: the quicker Kling 4.0, 3 to 20 second clips at 720p from a prompt, a first frame, or حتى 10 reference images and 5 reference videos, with a soundtrack of its own
$0.07536/ ثانية-20%$0.0942السعر الرسميلا رسوم على عمليات التوليد الفاشلة
- 3–20 second clips
- 720p
- حتى 10 images, 5 videos
- Soundtrack on by default
- النوع
- فيديو
- نقطة النهاية
- /v1/videos/generations
- معرّف النموذج
- kling-4.0-flash
- المزوّد
- Kuaishou
Kling 4.0 Flash نظرة عامة على API
نقطة نهاية موثّقة
تُرسَل طلبات الفيديو إلى /v1/videos/generations. يسرد جدول المعاملات أدناه الحقول التي توثّقها هذه الواجهة.
مزوّد النموذج
Kling 4.0 Flash من إصدار Kuaishou ويُستدعى عبر API بمعرّف النموذج kling-4.0-flash.
المخرجات والحدود
3–20 seconds; 720p only; one output per request; text: 21:9, 16:9, 1:1 or 9:16, and references may also use adaptive; a first frame sets the shape (adaptive), and no last frame is taken; an edit (omni_reference_task_type edit) changes reference_videos[0] and keeps its length, the other references steering it; حتى 10 images and 5 videos, 15 إجمالًا، and no reference audio; reference videos 3–20 ثانية لكل منها and 20 إجمالًا، 700–4553 pixels a side at 24–60 fps; reference images at least 300 pixels a side with a width to height ratio from 0.4 to 2.5; with a reference video, the billed seconds are twice the output, or the reference videos and the output together when the reference videos run longer; prompt مطلوب، حتى 26,000 English or 11,000 other characters; name references as @image1 or @video1; a soundtrack is generated unless generate_audio is false
Kling 4.0 Flash أسعار API
تُحتسب تكلفة Kling 4.0 Flash أقل بنسبة 20% من السعر الرسمي في كل بند أدناه.
| البند | سعر ArgoLink | السعر الرسمي | توفّر |
|---|---|---|---|
| 720p | $0.07536 / ثانية | -20% | |
| 720p مع إدخال فيديو | $0.0502 / ثانية | -20% |
3–20 seconds; 720p only; one output per request; text: 21:9, 16:9, 1:1 or 9:16, and references may also use adaptive; a first frame sets the shape (adaptive), and no last frame is taken; an edit (omni_reference_task_type edit) changes reference_videos[0] and keeps its length, the other references steering it; حتى 10 images and 5 videos, 15 إجمالًا، and no reference audio; reference videos 3–20 ثانية لكل منها and 20 إجمالًا، 700–4553 pixels a side at 24–60 fps; reference images at least 300 pixels a side with a width to height ratio from 0.4 to 2.5; with a reference video, the billed seconds are twice the output, or the reference videos and the output together when the reference videos run longer; prompt مطلوب، حتى 26,000 English or 11,000 other characters; name references as @image1 or @video1; a soundtrack is generated unless generate_audio is false
Kling 4.0 Flash مرجع API
البدء السريع
أنشئ مفتاح API في لوحة التحكم، ثم استخدم عنوان URL الأساسي ونقطة النهاية وجسم الطلب المعروضة في هذه الصفحة.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "A slow aerial shot over a foggy pine forest at sunrise"
}'
curl https://argolink.io/v1/videos/$REQUEST_ID \
-H "Authorization: Bearer $ARGOLINK_API_KEY"
curl -L https://argolink.io/v1/videos/$REQUEST_ID/content \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-o output.mp4
import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['ARGOLINK_API_KEY']}"}
job = requests.post(
"https://argolink.io/v1/videos/generations",
headers=headers,
json={"model": "kling-4.0-flash", "prompt": "A slow aerial shot over a foggy pine forest at sunrise"},
timeout=600,
)
job.raise_for_status()
request_id = job.json()["request_id"]
while True:
status = requests.get(f"https://argolink.io/v1/videos/{request_id}", headers=headers, timeout=60).json()
if status["status"] in ("done", "failed", "expired"):
break
time.sleep(5)
if status["status"] == "done":
video = requests.get(f"https://argolink.io/v1/videos/{request_id}/content", headers=headers, timeout=600)
open("output.mp4", "wb").write(video.content)
الأوضاع
من نص إلى فيديو
موجّه فقط، لا شيء غيره
أقصر استدعاء ممكن: الحقل prompt وحده مطلوب، وعند عدم إرسال بقية الحقول يُولَّد فيديو مدته 5 ثوانٍ بدقة 720p ونسبة 16:9 ويُحتسب على هذا الأساس.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "لقطة جوية بطيئة فوق غابة صنوبر يكسوها الضباب عند شروق الشمس",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}'
| الحقل | القيمة |
|---|---|
prompt | مطلوب، حتى 26,000 characters; describe the camera move, the subject and the mood |
duration | 3–20 ثانية بأعداد صحيحة، والقيمة الافتراضية 5 |
resolution | 720p |
aspect_ratio | 21:9 · 16:9 · 1:1 · 9:16، والقيمة الافتراضية 16:9 |
size | بكسلات بدلًا من resolution مع aspect_ratio، فـ 1280x720 تعني 720p بنسبة 16:9 |
يُنتج كل طلب فيديو واحدًا؛ ولا يُدعم seed وwatermark، ويحمل الناتج مسارًا صوتيًا مُولَّدًا ما لم تكن قيمة generate_audio هي false.
المرجع
يتبع الصور أو الفيديو أو الصوت الذي تقدّمه
تتبع النتيجة العنصر الرئيسي أو الحركة أو الإيقاع في الملفات التي ترسلها. أشِر إلى أحدها من الموجّه بـ @Image 1 أو @Video 1 أو @Audio 1؛ وتُستخدم أيضًا الملفات التي لا تذكرها.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "اجعل الشخص في @Image 1 يدخل شارعًا ممطرًا ليلًا",
"duration": 5,
"resolution": "720p",
"reference_images": [{"url": "https://example.com/subject.png"}]
}'
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "الفتاة في @Image 1 ترقص على إيقاع @Audio 1 وتتحرك مثل الراقصة في @Video 1",
"duration": 10,
"resolution": "720p",
"reference_images": [{"url": "https://example.com/girl.png"}],
"reference_videos": [{"url": "https://example.com/dance.mp4"}],
"reference_audios": [{"url": "https://example.com/beat.mp3"}]
}'
| الحقل | القيمة |
|---|---|
prompt | مطلوب؛ أشِر إلى ملف بـ @Image 1 أو @Video 1 أو @Audio 1 |
reference_images | حتى 10 صور عبر HTTPS، بصيغة JPEG أو PNG |
reference_videos | حتى 5 مقاطع، مدة كل منها 3–20 seconds and 20 ثانية إجمالًا |
reference_audios | غير مدعوم على هذا المسار |
duration | 3–20 ثانية بأعداد صحيحة، والقيمة الافتراضية 5 |
resolution | 720p |
aspect_ratio | 21:9 · 16:9 · 1:1 · 9:16 · adaptive، والقيمة الافتراضية 16:9 |
تمتزج الصور والفيديو بحرية، حتى 15 assets in total. Reference videos are billed at the output rate; الصور المرجعية مجانية.
الإطاران الأول والأخير
ثبّت البداية، والنهاية اختياريًا
start_image وحده إطار أول؛ أضف end_image فيملأ النموذج ما بينهما.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "تقترب الكاميرا ببطء بينما تنجرف أوراق الشجر عبر الكادر",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/first-frame.png"}
}'
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "يتحوّل النهار إلى ليل فوق أفق المدينة نفسه بينما تُضاء الأنوار",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/day.png"},
"end_image": {"url": "https://example.com/night.png"}
}'
| الحقل | القيمة |
|---|---|
prompt | مطلوب؛ صِف كيف تتحرك اللقطة |
start_image | صورة واحدة عبر HTTPS، وهي تحدّد إطار النتيجة |
end_image | اختياري؛ صورة واحدة عبر HTTPS ينتهي عندها الفيديو |
duration | 3–20 ثانية بأعداد صحيحة، والقيمة الافتراضية 5 |
resolution | 720p |
aspect_ratio | adaptive فقط؛ فهي تتبع الإطار الأول |
لا يمكن دمج أيٍّ من الحقلين مع أي ملف مرجعي. تأخذ النتيجة النسبة الأقرب إلى الإطار الأول.
تعديل فيديو
عدّل لقطات فيديو لديك بالفعل
الوضع الوحيد الذي ينطلق من فيديو: تحتفظ النتيجة بمدة ذلك الفيديو ونسبته، وتختار المستوى عبر resolution.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"omni_reference_task_type": "edit",
"prompt": "اجعل الألوان أدفأ وأبقِ كل ما عدا ذلك كما هو",
"resolution": "720p",
"reference_videos": [{"url": "https://example.com/street.mp4"}]
}'
| الحقل | القيمة |
|---|---|
omni_reference_task_type | أرسل edit |
reference_videos | المقطع الأول هو الفيديو المراد تعديله، 3–20 ثانية |
reference_images | حتى 10 images and 4 more videos steer the edit |
prompt | مطلوب، حتى 26,000 characters; say what to change |
resolution | 720p |
duration · aspect_ratio | يُؤخذان من الفيديو المعدَّل، لذا لا ترسل أيًّا منهما |
يُحتسب الفيديو المعدَّل كناتج وكفيديو مرجعي معًا: تعديل فيديو مدته 5 ثوانٍ يُحتسب 10 ثوانٍ. لا يمكن إرسال start_image وend_image هنا.
كيفية رفع الملفات المرجعية واستخدامها
رابطك الخاص، أو ملف محلي يُرفع أولًا
The url of start_image, end_image and every entry of reference_images and reference_videos is an HTTPS address. يُرسَل الرابط الذي تستضيفه بالفعل كما هو، ما دام تنزيله ممكنًا دون تسجيل الدخول وتبقى كل عمليات إعادة التوجيه على HTTPS. أما الملف المحلي فيُرفع أولًا، ثم يوضع media_url الذي تحصل عليه في الطلب.
FILE=dance.mp4
TICKET=$(curl -fsS https://argolink.io/v1/media/uploads \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\":\"kling-4.0-flash\",\"type\":\"video\",\"content_type\":\"video/mp4\",\"size_bytes\":$(wc -c < "$FILE" | tr -d ' ')}")
curl -fsS -X PUT "$(jq -r .upload_url <<<"$TICKET")" \
-H "Content-Type: video/mp4" --data-binary @"$FILE"
# Put this media_url in reference_videos[].url
jq -r .media_url <<<"$TICKET"
طلب تذكرة الرفع مجاني ولا يُنشئ أي مهمة: يظل upload_url صالحًا لمدة 15 دقيقة، ويجب أن يحمل طلب PUT ترويسة Content-Type التي صرّحت بها؛ ويبقى media_url الذي تُستبدل به التذكرة قابلًا للقراءة سبعة أيام.
| الحقل | التنسيق | الحجم | المدة |
|---|---|---|---|
reference_images · start_image · end_image | JPEG أو PNG | ≤ 20 MiB | — |
reference_videos | MP4 أو MOV | ≤ 100 MiB | 3–20 ثانية لكل منها |
reference_videos[0] (الفيديو المراد تعديله) | MP4 أو MOV | ≤ 100 MiB | 3–20 seconds |
أي ملف خارج هذه النطاقات يُفشل المهمة بالخطأ invalid_input قبل بدء التوليد، ولا يُحتسب أي شيء.
كيفية الإشارة إلى ملفاتك في الموجّه
أشر إلى ملف من داخل الموجّه
أشر إلى كل مرجع بـ @ ونوعه ورقمه. الرقم هو موضعه في reference_images أو reference_videos أو reference_audios، وتبدأ كل قائمة من 1.
| في الموجّه | يشير إلى |
|---|---|
@الصورة 1 | العنصر الأول في reference_images |
@الفيديو 1 | العنصر الأول في reference_videos |
{
"model": "kling-4.0-flash",
"prompt": "الفتاة في @الصورة 1 ترقص على إيقاع @الصوت 1 وتتحرك مثل الراقصة في @الفيديو 1",
"reference_images": [
{
"url": "https://example.com/girl.png"
}
],
"reference_videos": [
{
"url": "https://example.com/dance.mp4"
}
],
"reference_audios": [
{
"url": "https://example.com/beat.mp3"
}
]
}
هذه هي الصيغة التي تكتبها مساحة العمل في لوحة التحكم عند اختيار مرجع بعد @. يُتعرَّف أيضًا على الصورة 1 دون @ و<الصورة 1> و@Image 1 والكلمات نفسها بلغات أخرى مثل @图片1. الإشارة اختيارية: تُستخدم جميع المراجع في كل الأحوال. مع @ أو < >، يُرفض الرقم الذي يتجاوز عدد عناصر القائمة. عند تعديل فيديو (omni_reference_task_type بقيمة edit)، يكون @الفيديو 1 هو الفيديو الذي يُعدَّل ولا حاجة إلى الإشارة إليه، وتحتفظ المراجع الأخرى بأرقامها.
Kling 4.0 Flash معاملات الطلب كاملةً
| المعامل | النوع | المتطلب | الوظيفة |
|---|---|---|---|
model | string | مطلوب | The catalog identifier for this page: kling-4.0-flash. |
prompt | string | مطلوب | Describes the video: camera motion, subject action and mood. This model needs one in every mode, assets or not. Name a reference in the prompt as @Image 1 or @Video 2. It holds بحد أقصى 26,000 characters. |
duration | integer | اختياري | Output length in whole seconds, 3 to 20؛ والقيمة الافتراضية 5. An edit keeps the length of the video it edits, so leave it out there. |
resolution | string | اختياري | Output resolution. This model accepts 720p only, which is also the default. |
aspect_ratio | string | اختياري | Output aspect ratio: 21:9, 16:9, 1:1 or 9:16؛ والقيمة الافتراضية 16:9. A reference request may also send adaptive, which follows the references. In first-frame and first-and-last-frame modes, send adaptive only; the result follows the first frame and uses the ratio closest to its first frame. An edit keeps its video's ratio, so leave it out there too. |
size | string | اختياري | Pixels instead of resolution plus aspect_ratio, written WIDTHxHEIGHT: the short side picks the tier (720 for 720p) and the shape picks the ratio, so 1280x720 تعني 720p 16:9. It picks a tier and a ratio, not exact pixels; a resolution or aspect_ratio sent with it must match, or the request is rejected with 400. An edit takes a resolution name only. |
start_image | object | أوضاع الإطار الأول | HTTPS URL للإطار الأول. إذا أُرسل وحده يُنتج فيديو انطلاقًا من إطار أول، ومع end_image يُنتج فيديو بين إطار أول وإطار أخير؛ ولا يمكن دمجه مع الملفات المرجعية. |
end_image | object | الإطاران الأول والأخير فقط | HTTPS URL للإطار الأخير؛ أرسله مع start_image. قد تختلف نسبة الصورة المصدر، لأن النتيجة تكيّفها مع الإطار الأول. |
reference_images | array | وضعا المرجع والتعديل | HTTPS URLs of reference images, حتى 10. Images, videos and audio together are limited to 15 per request. |
reference_videos | array | وضعا المرجع والتعديل | HTTPS URLs of reference videos, حتى 5 مقاطع، مدة كل منها 3–20 seconds and 20 ثانية إجمالًا. Their seconds are billed like the output's. In an edit the first video is the one edited, 3–20 ثانية. |
reference_audios | array | غير مدعوم | This model takes no reference audio: sending reference_audios is rejected with 400. |
omni_reference_task_type | string | التعديل فقط | Set it to edit to edit the first entry of reference_videos, 3–20 ثانية. Left out, auto and reference all make an ordinary request. |
seconds · ratio | — | أسماء متوافقة | اسمان بديلان لـ duration وaspect_ratio؛ أرسل اسمًا واحدًا لكل قيمة، ولا ترسل الاثنين معًا أبدًا. |
image_url · image_urls · video_urls · audio_urls · frame_images · input_references | — | أسماء متوافقة | تعمل أيضًا أسماء الحقول المستخدمة في طلبات fal وOpenRouter: image_url هو start_image؛ وimage_urls وvideo_urls وaudio_urls هي قوائم المراجع الثلاث؛ وعناصر frame_images التي تكون قيمة frame_type فيها first_frame أو last_frame هي start_image وend_image؛ وعناصر input_references من النوع image_url أو video_url أو audio_url هي مراجع. استخدم اسمًا واحدًا لكل مُدخل. |
n | integer | اختياري | يجب أن تكون قيمته 1 أو ألا يُرسَل؛ فكل طلب يُنتج فيديو واحدًا بالضبط. |
generate_audio | boolean | اختياري | Defaults to true: Kling 4.0 Flash scores the video itself. Send false for a silent result. |
seed · watermark | — | غير مدعوم | غير متاح في هذا النموذج: يُرفض أي seed أو watermark: true بالخطأ 400. |
request_id | string | حقل في الاستجابة | يُعيده استدعاء الإرسال، وهو المعرّف الوحيد الذي تقبله نقطتا نهاية الحالة والمحتوى. |
progress · estimated_seconds_remaining | integer | حقل في الاستجابة | تُعيدهما نقطة نهاية الحالة ما دامت قيمة status هي pending: يقدّر progress مدى تقدّم المهمة من 0 إلى 99، ويقدّر estimated_seconds_remaining عدد الثواني المتبقية؛ ولا يُضمَّن الأخير إلا عند توفر تقدير. وتصبح قيمة progress هي 100 عندما تصبح قيمة status هي done. |
video.url | string | حقل في الاستجابة | رابط تنزيل ملف MP4 المكتمل عندما تصبح قيمة status هي done: رابط من ArgoLink يمكن لأي شخص فتحه دون مفتاح API، لمدة 30 يومًا. |
usage | object | حقل في الاستجابة | يُعاد عندما تصبح قيمة status هي done: output_seconds وreference_video_seconds وbilled_seconds، وهو مجموعهما الذي تُحتسب عليه المهمة. |
Kling 4.0 Flash مقارنة API بنماذج مماثلة
| النموذج | معرّف النموذج | المزوّد | السعر | الاستخدام الأنسب |
|---|---|---|---|---|
| Kling 4.0 Flash | kling-4.0-flash | Kuaishou | $0.07536 / ثانية | Kuaishou Kling 4.0 Flash: the quicker Kling 4.0, 3 to 20 second clips at 720p from a prompt, a first frame, or حتى 10 reference images and 5 reference videos, with a soundtrack of its own |
| Seedance 2.5 | seedance-2.5 | ByteDance Seed | $0.0874 / ثانية | أقدر نماذج فيديو Seedance حتى الآن: مقاطع مدتها 30 ثانية، وحتى 50 ملفًا مرجعيًا، ودعم أصلي للمراجع التي تضم أشخاصًا حقيقيين دون موافقة يدوية أو تحقق إضافي |
| Grok Imagine Video 1.5 | grok-imagine-video-1.5 | xAI | $0.032 / ثانية | توليد فيديو بدقة 480p و720p و1080p، يُحتسب لكل ثانية من الناتج |
| Gemini Omni 1.2 Flash | gemini-omni-1.2-flash | $0.0215 / ثانية | Google Gemini Omni 1.2 Flash: 3 to 15 second clips with native sound at 720p, 1080p or 4K, from a prompt, a first and last frame, حتى 10 reference images and 3 reference videos, or as an edit of a video |
نماذج أخرى من هذا المزوّد
- Kling 3.0Kuaishou Kling 3.0: 3 to 15 second clips at 720p, 1080p or 4K from a prompt, a first frame, or a first and a last frame, with or without a soundtrack$0.1134 / ثانية
- Kling 4.0Kuaishou Kling 4.0: 3 to 30 second clips at 720p or 1080p from a prompt, or from حتى 10 reference images and 5 reference videos, with a soundtrack of its own$0.1256 / ثانية
نماذج أخرى من النوع نفسه
- Seedance 2.5أقدر نماذج فيديو Seedance حتى الآن: مقاطع مدتها 30 ثانية، وحتى 50 ملفًا مرجعيًا، ودعم أصلي للمراجع التي تضم أشخاصًا حقيقيين دون موافقة يدوية أو تحقق إضافي$0.0874 / ثانية
- Grok Imagine Video 1.5توليد فيديو بدقة 480p و720p و1080p، يُحتسب لكل ثانية من الناتج$0.032 / ثانية
- Gemini Omni 1.2 FlashGoogle Gemini Omni 1.2 Flash: 3 to 15 second clips with native sound at 720p, 1080p or 4K, from a prompt, a first and last frame, حتى 10 reference images and 3 reference videos, or as an edit of a video$0.0215 / ثانية
- MAGI-2Sand AI's MAGI-2: 4 to 30 second 1080p clips with native sound, from a prompt or from حتى 10 reference images, 5 reference videos and 5 audio clips$0.072 / ثانية
Kling 4.0 Flash الأسئلة الشائعة حول API
كيف يمكنني استدعاء Kling 4.0 Flash؟
Create an API key in the console and POST https://argolink.io/v1/videos/generations مع ضبط model على kling-4.0-flash. The response carries request_id, the only job identifier: poll GET https://argolink.io/v1/videos/{request_id}, which reports progress and estimated_seconds_remaining while the job is pending, until status is done, then download the MP4 from GET https://argolink.io/v1/videos/{request_id}/content، وهو العنوان الذي تُعيده الحالة في video.url.
كم تبلغ تكلفة Kling 4.0 Flash؟
يُحتسب السعر لكل ثانية من الفيديو الناتج، بدءًا من $0.07536 للثانية في أدنى مستوى؛ ولكل مستوى في جدول الأسعار سعره الخاص للثانية، ويُضرب في مدة الفيديو. كل مستوى أقل بنسبة 20% من سعر القائمة الرسمي للثانية ($0.0942 للثانية في أدنى مستوى). تُحتسب الفيديوهات المرجعية والفيديو الذي يُبنى عليه التعديل كما يحسبها السعر الرسمي لـ Kling: ضعف ثواني الناتج إذا لم تكن أطول من الناتج، وإلا فمدتها الفعلية مضافًا إليها ثواني الناتج. فالفيديو الذي مدته 5 ثوانٍ مع فيديو مرجعي مدته 3 ثوانٍ يُحتسب 10 ثوانٍ، ومع فيديو مرجعي مدته 7.3 ثانية يُحتسب 12.3 ثانية. الصور المرجعية مجانية. لا يُحتسب إلا الفيديو المكتمل؛ أما المهمة الفاشلة أو المرفوضة فلا تكلّف شيئًا. عند إدخال فيديو، أي فيديو مرجعي أو الفيديو الذي يُبنى عليه التعديل، يُطبَّق على كل ثانية محتسبة سعر «مع إدخال فيديو» في جدول الأسعار.
ما أوضاع الإدخال التي يدعمها Kling 4.0 Flash؟
جميعها على نقطة النهاية نفسها: reference (a prompt alone, or with images, videos and audio as references: حتى 10 reference_images, 5 reference_videos و 0 reference_audios, 15 إجمالًا، بأي تركيبة that includes an image or a video); first frame (start_image); first and last frames (start_image plus end_image on one aspect ratio); video editing (omni_reference_task_type edit, which edits the first entry of reference_videos). First-frame and first-and-last-frame videos take their aspect ratio from the first frame. Every asset is an HTTPS URL.
ما الذي لا يدعمه Kling 4.0 Flash؟
أكثر من فيديو واحد لكل طلب (يجب أن تكون قيمة n هي 1 أو ألا تُرسَل)، أو أي seed، أو watermark: true؛ وكلها تُرجع 400. الناتج ملف بترميز H.264 بصيغة MP4 يحمل مسارًا صوتيًا مُولَّدًا ما لم تكن قيمة generate_audio هي false.
كيف تُحدَّد نسبة العرض إلى الارتفاع لفيديو الإطار الأول في Kling 4.0 Flash؟
Leave aspect_ratio out, or send adaptive, and the first frame decides: the video takes the closest of 21:9, 16:9, 1:1, 9:16, so the frame is cropped as little as possible. The two frame modes take no fixed ratio; naming one is rejected. With first and last frames, the source images may have different ratios; the result adapts the last frame to the first.
هل تحتوي فيديوهات Kling 4.0 Flash على صوت؟
نعم، افتراضيًا: Kling 4.0 Flash scores the video itself. Send generate_audio: false for a silent result.