رفتن به محتوا

LongCat Video · Text to Video · 720p

یکپارچه‌سازی

شناسه مدل longcat-video/text-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/text-to-video/720p?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

تبدیل متن به ویدئو در 720p با مرحلهٔ پالایش، پیش‌فرض 30 fps و سه نسبت تصویر

Meituan · ویدیو

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

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

ساخت درخواست

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

•الزامی

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

aspect_ratio پیش‌فرض 16:9

نسبت تصویر ویدیوی خروجی.

پیش‌فرض 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

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

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

POST /run/longcat-video/text-to-video/720p?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/text-to-video/720p?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 · 720p

از پرامپت ویدئو ایجاد می‌کند و مرحلهٔ پالایش را با `num_refine_inference_steps` (از 8 تا 50) اضافه می‌کند. `aspect_ratio` برابر 16:9، 9:16 یا 1:1 و `num_frames` از 17 تا 961 (پیش‌فرض 162) با نرخ پیش‌فرض 30 fps است. پرامپت منفی و `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
۱۷ – ۹۶۱
تعداد فریم خروجی تولیدشده.
num_inference_stepsاختیاری
نوعinteger
پیش‌فرض40
۸ – ۵۰
تعداد گام‌های استنتاج انجام‌شده هنگام تولید ویدیو.
num_refine_inference_stepsاختیاری
نوعinteger
پیش‌فرض40
۸ – ۵۰
تعداد گام‌های استنتاج انجام‌شده هنگام اصلاح.
guidance_scaleاختیاری
نوعnumber
پیش‌فرض4
۱ – ۱۰
مقیاس راهنمایی اعمال‌شده هنگام تولید ویدیو.
aspect_ratioاختیاری
نوعenum
پیش‌فرض16:9
16:99:161:1
نسبت تصویر ویدیوی خروجی.
fpsاختیاری
نوعinteger
پیش‌فرض30
۱ – ۶۰
نرخ فریم ویدیوی خروجی.
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
حالت نوشتن ویدیوی حاصل.
accelerationاختیاری
نوعenum
پیش‌فرضregular
noneregular
سطح شتاب اعمال‌شده هنگام تولید ویدیو.
الزامی

خروجی

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/text-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": {
    "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/text-to-video/720p.md. همه مدل‌ها و راهنماها: https://doitong.com/developers/llms.txt