رفتن به محتوا

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"

فایل‌هایی مانند نمونه: ⁨‎$۰٫۰۵۴⁩ ۵۴ اعتبار API · ≈ ⁨‎₽۵٫۷۹⁩ فایل‌های شما پیش از اجرا اندازه‌گیری می‌شوند اجرای آن در این صفحه

دریافت کلید API
Meituan متن به ویدیو سریع

تبدیل متن به ویدئو در 480p با نمونه‌بردار تقطیرشده، پشتیبانی از کلیپ‌های حداکثر 961 فریم و چند کانتینر خروجی

Meituan · ویدیو

اولین نتیجه شما اینجا قرار می‌گیرد

درخواست را در زیر بسازید و با کلید API خود اجرا کنید. خروجی‌ها در فضای ذخیره‌سازی ما کپی می‌شوند و برای همیشه یا به‌مدت ۷ روز رایگان نگه‌داری می‌شوند.

ساخت درخواست

کنترل‌ها از شِمای مدل تولید می‌شوند. با تغییر آن‌ها، کد و قیمت به‌روزرسانی می‌شوند.

•الزامی

پرامپت هدایت‌کننده تولید ویدیو.

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

نرخ فریم ویدیوی خروجی.

مقدار seed که تولید اعداد تصادفی را آغاز می‌کند.

POST /run/longcat-video/distilled/text-to-video/480p?wait=20 قیمت → ⁨‎$۰٫۰۵۴⁩
# 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
۱۷ – ۹۶۱
تعداد فریم خروجی تولیدشده.
num_inference_stepsاختیاری
نوعinteger
پیش‌فرض12
۲ – ۱۶
تعداد گام‌های استنتاج انجام‌شده.
aspect_ratioاختیاری
نوعenum
پیش‌فرض16:9
16:99:161:1
نسبت تصویر ویدیوی خروجی.
fpsاختیاری
نوعinteger
پیش‌فرض15
۱ – ۶۰
نرخ فریم ویدیوی خروجی.
seedاختیاری
نوعinteger | null
مقدار seed که تولید اعداد تصادفی را آغاز می‌کند.
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 کپی‌ای در فضای ذخیره‌سازی ماست: برای همیشه (با هزینه به‌ازای هر GB-ماه) یا به‌مدت ۷ روز رایگان، بر اساس تنظیم حساب شما یا ?storage=.
ساختار یکسان در همه مدل‌هاtype، url، content_type، width، height و duration برای تصاویر، ویدیو و صدا یکسان هستند. output شیء نتیجه اختصاصی مدل است.
فیلدهای خروجی
prompt
stringپرامپتی که برای تولید خروجی استفاده شده است.
seed
integerمقدار Seed اعمال‌شده هنگام تولید.
video
object {url, content_type, file_name, file_size}فایل ویدیویی تولیدشده.

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

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