تخطّي إلى المحتوى

LongCat Video Distilled · Text to Video · 480p

التكامل

معرّف النموذج longcat-video/distilled/text-to-video/480p
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/longcat-video/distilled/text-to-video/480p?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://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ملفات مثل المثال: ⁨‏0.054 $⁩ 54 رصيد API · ≈ ⁨‏5.80 ₽⁩ تُقاس ملفاتك قبل التشغيل تشغيله في هذه الصفحة

الحصول على مفتاح API
Meituan من نص إلى فيديو سريع

تحويل من النص إلى فيديو بدقة 480p باستخدام أخذ عينات مُقطَّر، مع دعم مقاطع طويلة تصل إلى 961 إطارًا وعدة حاويات إخراج

Meituan · فيديو

ستظهر نتيجتك الأولى هنا

أنشئ طلبًا أدناه وشغّله باستخدام مفتاح API الخاص بك. تُنسخ المخرجات إلى تخزيننا، وتُحفظ إلى الأبد أو لمدة 7 أيام مجانًا.

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب

موجّه يوجّه توليد الفيديو.

aspect_ratio الافتراضي 16:9

نسبة أبعاد فيديو المخرج.

الافتراضي 162

عدد الإطارات في المخرج المولّد.

متقدم video_output_type · video_quality · video_write_mode · num_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
video_output_type الافتراضي X264 (.mp4)

نوع مخرج الفيديو الناتج.

video_quality الافتراضي high

مستوى جودة الفيديو الناتج.

video_write_mode الافتراضي balanced

وضع كتابة الفيديو الناتج.

الافتراضي 12

عدد خطوات الاستدلال المنفذة.

الافتراضي 15

معدل إطارات فيديو المخرج.

قيمة البذرة التي تهيّئ توليد الأرقام العشوائية.

POST /run/longcat-video/distilled/text-to-video/480p?wait=20 عرض السعر → ⁨‏0.054 $⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/longcat-video/distilled/text-to-video/480p?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://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

حول LongCat Video Distilled · Text to Video · 480p

ينشئ مقطع فيديو من `prompt` نصية باستخدام نموذج مُقطَّر، مع 2 إلى 16 خطوة استدلال (الافتراضي 12). يتراوح `num_frames` من 17 إلى 961، و`fps` من 1 إلى 60، ويمكن أن يكون `aspect_ratio` هو 16:9 أو 9:16 أو 1:1. يمكن كتابة الناتج بصيغة MP4 أو WebM أو ProRes MOV أو GIF، مع توسيع اختياري للمطالبة و`seed` لتكرار النتائج.

المعاملات

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
موجّه يوجّه توليد الفيديو.
num_framesاختياري
النوعinteger
الافتراضي162
17 – 961
عدد الإطارات في المخرج المولّد.
num_inference_stepsاختياري
النوعinteger
الافتراضي12
2 – 16
عدد خطوات الاستدلال المنفذة.
aspect_ratioاختياري
النوعenum
الافتراضي16:9
16:99:161:1
نسبة أبعاد فيديو المخرج.
fpsاختياري
النوعinteger
الافتراضي15
1 – 60
معدل إطارات فيديو المخرج.
seedاختياري
النوعinteger | null
قيمة البذرة التي تهيّئ توليد الأرقام العشوائية.
enable_prompt_expansionاختياري
النوعboolean
الافتراضيfalse
يتحكم في تفعيل توسيع الموجّه.
enable_safety_checkerاختياري
النوعboolean
الافتراضيtrue
مفتاح فحص السلامة الخاضع لأذونات الحساب: تظل الفحوصات إلزامية للطلبات غير المفوّضة، ويتطلب تعطيلها التفويض.
video_output_typeاختياري
النوعenum
الافتراضيX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
نوع مخرج الفيديو الناتج.
video_qualityاختياري
النوعenum
الافتراضيhigh
lowmediumhighmaximum
مستوى جودة الفيديو الناتج.
video_write_modeاختياري
النوعenum
الافتراضيbalanced
fastbalancedsmall
وضع كتابة الفيديو الناتج.
مطلوب

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/text-to-video/480p",
  "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": 54,
    "usd": "0.054",
    "charged": 54,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "prompt": "realistic filming style, a person wearing a dark helmet, a deep-colored jacket, blue jeans, and bright yellow shoes rides a skateboard along a winding mountain road. The skateboarder starts in a standing position, then gradually lowers into a crouch, extending one hand to touch the road surface while maintaining a low center of gravity to navigate a sharp curve. After completing the turn, the skateboarder rises back to a standing position and continues gliding forward. The background features lush green hills flanking both sides of the road, with distant snow-capped mountain peaks rising against a clear, bright blue sky. The camera follows closely from behind, smoothly tracking the skateboarder’s movements and capturing the dynamic scenery along the route. The scene is shot in natural daylight, highlighting the vivid outdoor environment and the skateboarder’s fluid actions.",
    "seed": 42,
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ملفاتك، خيارككل outputs[].url هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
prompt
stringالموجّه المستخدم لتوليد المخرج.
seed
integerقيمة البذرة المطبّقة أثناء التوليد.
video
object {url, content_type, file_name, file_size}ملف الفيديو الناتج عن التوليد.

مزيد من النماذج: من نص إلى فيديو

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/longcat-video/distilled/text-to-video/480p.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt