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

LongCat Video · Text to Video · 480p

التكامل

معرّف النموذج longcat-video/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/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.27 $⁩ 270 رصيد API · ≈ ⁨‏28.97 ₽⁩ تُقاس ملفاتك قبل التشغيل تشغيله في هذه الصفحة

الحصول على مفتاح API

تحويل من النص إلى فيديو بدقة 480p بإطارات 16:9 أو 9:16 أو 1:1، ومقاطع طويلة تصل إلى 961 إطارًا، ومطالبة سلبية

Meituan · فيديو

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

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

إنشاء طلب

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

•مطلوب

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

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

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

الافتراضي 162

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

متقدم negative_prompt · video_output_type · video_quality · video_write_mode · acceleration · num_inference_steps · guidance_scale · fps · seed · enable_prompt_expansion · enable_safety_checker
الافتراضي Bright tones, overexp...

الموجّه السلبي المستخدم عند توليد الفيديو.

video_output_type الافتراضي X264 (.mp4)

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

video_quality الافتراضي high

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

video_write_mode الافتراضي balanced

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

acceleration الافتراضي regular

مستوى التسريع المطبّق أثناء توليد الفيديو.

الافتراضي 40

عدد خطوات الاستدلال المنفذة أثناء توليد الفيديو.

الافتراضي 4

مقياس التوجيه المطبق عند توليد الفيديو.

الافتراضي 15

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

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

POST /run/longcat-video/text-to-video/480p?wait=20 عرض السعر → ⁨‏0.27 $⁩
# 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/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 · Text to Video · 480p

ينشئ فيديو من `prompt` نصية فقط. يمكن أن يكون `aspect_ratio` هو 16:9 أو 9:16 أو 1:1، ويتراوح `num_frames` من 17 إلى 961 (الافتراضي 162) عند 1 إلى 60 `fps`. يوفّر `num_inference_steps` (من 8 إلى 50) و`guidance_scale` (من 1 إلى 10) ومطالبة سلبية. يمكن أن تكون النتيجة MP4 أو WebM أو ProRes MOV أو GIF.

المعاملات

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
موجّه يوجّه توليد الفيديو.
negative_promptاختياري
النوعstring
الافتراضيBright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards
الموجّه السلبي المستخدم عند توليد الفيديو.
num_framesاختياري
النوعinteger
الافتراضي162
17 – 961
عدد الإطارات في المخرج المولّد.
num_inference_stepsاختياري
النوعinteger
الافتراضي40
8 – 50
عدد خطوات الاستدلال المنفذة أثناء توليد الفيديو.
guidance_scaleاختياري
النوعnumber
الافتراضي4
1 – 10
مقياس التوجيه المطبق عند توليد الفيديو.
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
وضع كتابة الفيديو الناتج.
accelerationاختياري
النوعenum
الافتراضيregular
noneregular
مستوى التسريع المطبّق أثناء توليد الفيديو.
مطلوب

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/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": 270,
    "usd": "0.27",
    "charged": 270,
    "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/text-to-video/480p.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt