Мазмұнға өту

LongCat Video Distilled · Text to Video · 720p

Интеграциялау

Модель идентификаторы longcat-video/distilled/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/distilled/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"

Мысалдағыдай файлдар: 0,054 $ 54 API кредиті · ≈ 5,80 ₽ файлдарыңыз іске қосу алдында өлшенеді Осы бетте іске қосу

API кілтін алу
Meituan Мәтіннен бейнеге Жылдам

Жетілдіру қадамдарымен және әдепкі 30 fps жиілігімен 720p ажыратымдылығында мәтіннен бейне жасайтын дистилляцияланған модель

Meituan · Бейне

Алғашқы нәтижеңіз осында пайда болады

Төменде сұрау құрып, оны API кілтіңізбен іске қосыңыз. Шығыстар сақтау орнымызға көшіріліп, мәңгі немесе 7 күн тегін сақталады.

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті

Бейне генерациясын бағыттайтын нұсқау.

aspect_ratio әдепкі 16:9

Шығыс бейнесінің кадр пішімі.

әдепкі 162

Жасалатын шығыстағы кадрлар саны.

Қосымша video_output_type · video_quality · video_write_mode · num_inference_steps · num_refine_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
video_output_type әдепкі X264 (.mp4)

Нәтижелік бейне түрі.

video_quality әдепкі high

Нәтижелік бейне сапасының деңгейі.

video_write_mode әдепкі balanced

Нәтижелік бейнені жазу режимі.

әдепкі 12

Орындалған inference қадамдарының саны.

әдепкі 12

Нақтылау кезінде орындалған inference қадамдарының саны.

әдепкі 30

Шығыс бейнесінің кадр жиілігі.

Кездейсоқ сандар генерациясын бастайтын seed мәні.

POST /run/longcat-video/distilled/text-to-video/720p?wait=20 бағасы → 0,054 $
# 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/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-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

LongCat Video Distilled · Text to Video · 720p туралы

Дистилляцияланған модель арқылы мәтіннен 720p бейне генерациялайды. `num_inference_steps` және `num_refine_inference_steps` параметрлерінің екеуі де 2–16 аралығындағы мәндерді қабылдайды (әдепкісі 12). `aspect_ratio` мәні 16:9, 9:16 немесе 1:1, `num_frames` мәні 17–961 аралығында (әдепкісі 162), ал fps әдепкі мәні 30. Шығыс пішімі mp4, webm, ProRes mov немесе GIF болуы мүмкін.

Параметрлер

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті
Түріstring
Бейне генерациясын бағыттайтын нұсқау.
num_framesміндетті емес
Түріinteger
Әдепкі162
17 – 961
Жасалатын шығыстағы кадрлар саны.
num_inference_stepsміндетті емес
Түріinteger
Әдепкі12
2 – 16
Орындалған inference қадамдарының саны.
num_refine_inference_stepsміндетті емес
Түріinteger
Әдепкі12
2 – 16
Нақтылау кезінде орындалған inference қадамдарының саны.
aspect_ratioміндетті емес
Түріenum
Әдепкі16:9
16:99:161:1
Шығыс бейнесінің кадр пішімі.
fpsміндетті емес
Түріinteger
Әдепкі30
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
Нәтижелік бейнені жазу режимі.
міндетті

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/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": 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= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдей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/kk/developers/models/longcat-video/distilled/text-to-video/720p.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt