رفتن به محتوا

Cosmos Predict 2.5 2B Distilled

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

شناسه مدل cosmos-predict-2.5/distilled/text-to-video
# 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/cosmos-predict-2.5/distilled/text-to-video?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
NVIDIA متن به ویدیو سریع

تبدیل متن به ویدئوی Cosmos تقطیرشده 2B که با چند مرحله حذف نویز، حداکثر 20 مرحله، کار می‌کند

NVIDIA · ویدیو

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

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

ساخت درخواست

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

•الزامی

توضیح متنی ویدیوی مطلوب.

پیشرفته negative_prompt · video_output_type · video_quality · num_frames · num_inference_steps · seed · enable_safety_checker
پیش‌فرض The video captures a ...

پرامپت منفی برای مشخص‌کردن محتوای ناخواسته و دورکردن تولید از آن.

video_output_type پیش‌فرض X264 (.mp4)

قالب ویدیوی حاصل.

video_quality پیش‌فرض high

تنظیم کیفیت ویدیوی حاصل.

پیش‌فرض 93

تعداد فریم برای تولید، در محدوده 9 تا 93.

پیش‌فرض 10

تعداد گام‌های حذف نویز. مدل تقطیرشده حتی با گام‌های کمتر نیز عملکرد خوبی دارد.

seed تصادفی که تولید تکرارپذیر را ممکن می‌کند.

POST /run/cosmos-predict-2.5/distilled/text-to-video?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/cosmos-predict-2.5/distilled/text-to-video?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

درباره Cosmos Predict 2.5 2B Distilled

با استفاده از مدل تقطیرشده Cosmos Predict 2.5 2B و از طریق یک `prompt` متنی ویدئو تولید می‌کند؛ مقدار پیش‌فرض مراحل 10 و حداکثر 20 است. `num_frames` از 9 تا 93 است. خروجی می‌تواند X264 mp4، VP9 webm، ProRes 4444 mov یا GIF باشد و `video_quality` از low تا maximum تنظیم می‌شود.

پارامترها

نامنوع پیش‌فرضمجاز توضیحات
promptالزامی
نوعstring
توضیح متنی ویدیوی مطلوب.
negative_promptاختیاری
نوعstring
پیش‌فرضThe video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality.
پرامپت منفی برای مشخص‌کردن محتوای ناخواسته و دورکردن تولید از آن.
num_framesاختیاری
نوعinteger
پیش‌فرض93
۹ – ۹۳
تعداد فریم برای تولید، در محدوده 9 تا 93.
num_inference_stepsاختیاری
نوعinteger
پیش‌فرض10
۱ – ۲۰
تعداد گام‌های حذف نویز. مدل تقطیرشده حتی با گام‌های کمتر نیز عملکرد خوبی دارد.
seedاختیاری
نوعinteger | null
seed تصادفی که تولید تکرارپذیر را ممکن می‌کند.
video_output_typeاختیاری
نوعenum
پیش‌فرضX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
قالب ویدیوی حاصل.
video_qualityاختیاری
نوعenum
پیش‌فرضhigh
lowmediumhighmaximum
تنظیم کیفیت ویدیوی حاصل.
enable_safety_checkerاختیاری
نوعboolean
پیش‌فرضtrue
با تنظیم false، در صورت مجاز بودن فراخواننده، می‌توان بررسی را آسان‌گیرانه‌تر کرد.
الزامی

خروجی

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "cosmos-predict-2.5/distilled/text-to-video",
  "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": 80,
    "usd": "0.08",
    "charged": 80,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42
  },
  "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 شیء نتیجه اختصاصی مدل است.
فیلدهای خروجی
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}فایل ویدیویی تولیدشده.
seed
integerseed کنترل‌کننده تصادفی‌بودن هنگام تولید.

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

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