رفتن به محتوا

LongCat Video · Image to Video · 480p

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

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

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

دریافت کلید API
Meituan تصویر به ویدیو خروجی 4K

متحرک‌سازی تصویر ثابت به ویدئوی 480p با حداکثر 961 فریم و چند کانتینر خروجی

Meituan · ویدیو

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

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

ساخت درخواست

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

پیش‌فرض First-person view fro...

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

•الزامی image_url
یک فایل بیندازید، یا

URL تصویر منبع برای تولید ویدیو.

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

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

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

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

تصویر موجود در `image_url` را با هدایت پرامپت و پرامپت منفی به ویدئو تبدیل می‌کند. `num_frames` از 17 تا 961 (پیش‌فرض 162) و `fps` از 1 تا 60 است. کیفیت را با `num_inference_steps` (از 8 تا 50) و `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
۱۷ – ۹۶۱
تعداد فریم خروجی تولیدشده.
num_inference_stepsاختیاری
نوعinteger
پیش‌فرض40
۸ – ۵۰
تعداد گام‌های استنتاج انجام‌شده هنگام تولید ویدیو.
guidance_scaleاختیاری
نوعnumber
پیش‌فرض4
۱ – ۱۰
مقیاس راهنمایی اعمال‌شده هنگام تولید ویدیو.
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
حالت نوشتن ویدیوی حاصل.
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/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": {
    "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 کپی‌ای در فضای ذخیره‌سازی ماست: برای همیشه (با هزینه به‌ازای هر 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/image-to-video/480p.md. همه مدل‌ها و راهنماها: https://doitong.com/developers/llms.txt