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

LongCat Video · Image to Video · 720p

التكامل

معرّف النموذج longcat-video/image-to-video/720p
# 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/image-to-video/720p?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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.216 $⁩ 216 رصيد API · ≈ ⁨‏23.24 ₽⁩ تُقاس ملفاتك قبل التشغيل تشغيله في هذه الصفحة

الحصول على مفتاح API
Meituan من صورة إلى فيديو إخراج بدقة 4K

تحويل من صورة إلى فيديو بدقة 720p مع مرحلة تحسين إضافية ومعدل 30 fps افتراضي

Meituan · فيديو

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

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

إنشاء طلب

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

الافتراضي First-person view fro...

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

•مطلوب image_url
أفلت ملفًا، أو

عنوان URL لصورة المصدر لتوليد الفيديو.

الافتراضي 162

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

متقدم negative_prompt · video_output_type · video_quality · video_write_mode · acceleration · num_inference_steps · num_refine_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

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

الافتراضي 40

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

الافتراضي 4

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

الافتراضي 30

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

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

POST /run/longcat-video/image-to-video/720p?wait=20 عرض السعر → ⁨‏0.216 $⁩
# 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/image-to-video/720p?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 · Image to Video · 720p

يحرّك صورة الإدخال إلى فيديو طويل، مع مرحلة تحسين ثانية يتحكم فيها `num_refine_inference_steps` (من 8 إلى 50). يتراوح `num_frames` من 17 إلى 961 (الافتراضي 162)، ومعدل الإطارات الافتراضي 30. يقبل أيضًا مطالبة ومطالبة سلبية و`guidance_scale` (من 1 إلى 10). تشمل صيغ الناتج mp4 وwebm وProRes mov وGIF.

المعاملات

أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية

الاسمالنوع الافتراضيمسموح الوصف
image_urlمطلوب image
النوعurl · image
عنوان URL لصورة المصدر لتوليد الفيديو.
promptاختياري
النوعstring
الافتراضيFirst-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k
موجّه يوجّه توليد الفيديو.
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
عدد خطوات الاستدلال المنفذة أثناء توليد الفيديو.
num_refine_inference_stepsاختياري
النوعinteger
الافتراضي40
8 – 50
عدد خطوات الاستدلال المنفذة أثناء التحسين.
guidance_scaleاختياري
النوعnumber
الافتراضي4
1 – 10
مقياس التوجيه المطبق عند توليد الفيديو.
fpsاختياري
النوعinteger
الافتراضي30
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
مستوى التسريع المطبّق أثناء توليد الفيديو.
مطلوب الاسم الأساسي، مقبول أيضًا

تقبل معاملات الملفات عنوان URL عامًا يبدأ بـ https://، أو URI من نوع data: يصل حجمه إلى 10 MB، أو file_url لملف تم تحميله. الملفات

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/image-to-video/720p",
  "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": 216,
    "usd": "0.216",
    "charged": 216,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "prompt": "First-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k",
    "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/image-to-video/720p.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt