דילוג לתוכן

LongCat Video · Text to Video · 480p

שילוב

מזהה מודל longcat-video/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/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"

קבצים כמו בדוגמה: ⁨‏0.27 ‏$⁩ 270 קרדיטי API · ≈ ⁨‏28.97 ‏₽⁩ הקבצים שלכם נמדדים לפני ההרצה הרצה בדף הזה

קבלת מפתח API

טקסט־לווידאו ברזולוציית 480p עם מסגור 16:9, 9:16 או 1:1, קטעים ארוכים של עד 961 פריימים ופרומפט שלילי

Meituan · ווידאו

התוצאה הראשונה שלך תופיע כאן

בנו בקשה למטה והריצו אותה עם מפתח ה־API שלכם. הפלטים מועתקים לאחסון שלנו ונשמרים לצמיתות או למשך 7 ימים ללא תשלום.

בנה בקשה

הפקדים נוצרים מסכמת המודל. הקוד והמחיר מתעדכנים כשמשנים אותם.

•חובה

הנחיה המכוונת יצירת וידאו.

aspect_ratio ברירת מחדל 16:9

יחס הגובה-רוחב של וידאו הפלט.

ברירת מחדל 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/text-to-video/480p?wait=20 הצעת מחיר → ⁨‏0.27 ‏$⁩
# 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/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 · Text to Video · 480p

יוצר וידאו מפרומפט טקסטואלי `prompt` בלבד. `aspect_ratio` יכול להיות 16:9, 9:16 או 1:1, ו־`num_frames` נע בין 17 ל־961 (ברירת מחדל 162) בקצב של 1 עד 60 `fps`. הוא חושף את `num_inference_steps` (מ־8 עד 50), את `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
17 – 961
מספר הפריימים בפלט שנוצר.
num_inference_stepsאופציונלי
סוגinteger
ברירת מחדל40
8 – 50
מספר שלבי ההסקה שבוצעו במהלך יצירת הווידאו.
guidance_scaleאופציונלי
סוגnumber
ברירת מחדל4
1 – 10
סולם ההנחיה שהוחל בעת יצירת הווידאו.
aspect_ratioאופציונלי
סוגenum
ברירת מחדל16:9
16:99:161:1
יחס הגובה-רוחב של וידאו הפלט.
fpsאופציונלי
סוגinteger
ברירת מחדל15
1 – 60
קצב הפריימים של וידאו הפלט.
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/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": {
    "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-חודש) או למשך 7 ימים ללא תשלום, בהתאם להגדרת החשבון או ל־?storage=.
אותו מבנה בכל מודלtype, url, content_type, width, height ו-duration, עבור תמונות, וידאו ואודיו כאחד. output הוא אובייקט התוצאה של המודל עצמו.
שדות הפלט
prompt
stringההנחיה ששימשה ליצירת הפלט.
seed
integerערך Seed המוחל במהלך היצירה.
video
object {url, content_type, file_name, file_size}קובץ הווידאו שנוצר.

מודלים נוספים: טקסט לווידאו

לסוכני AI: דף זה בפורמט Markdown נמצא בכתובת https://doitong.com/he/developers/models/longcat-video/text-to-video/480p.md. כל המודלים והמדריכים: https://doitong.com/developers/llms.txt