Мазмұнға өту

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"

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

API кілтін алу

Нақтылау кезеңі, әдепкі 30 fps және үш тараптар арақатынасы бар 720p мәтіннен бейне генерациясы

Meituan · Бейне

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

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

Сұрау жасау

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

•міндетті

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

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

Бейне генерациясы кезінде орындалған inference қадамдарының саны.

әдепкі 40

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

әдепкі 4

Бейне генерациясы кезінде қолданылатын бағыттау масштабы.

әдепкі 30

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

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

POST /run/longcat-video/text-to-video/720p?wait=20 бағасы → 0,216 $
# 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-ге жіберіледі және Remember параметрін белгілеcеңіз ғана 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. Теріс нұсқау және 1-10 аралығындағы `guidance_scale` та қабылданады. Шығыс 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
Бейне генерациясы кезінде орындалған inference қадамдарының саны.
num_refine_inference_stepsміндетті емес
Түріinteger
Әдепкі40
8 – 50
Нақтылау кезінде орындалған inference қадамдарының саны.
guidance_scaleміндетті емес
Түріnumber
Әдепкі4
1 – 10
Бейне генерациясы кезінде қолданылатын бағыттау масштабы.
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
Нәтижелік бейнені жазу режимі.
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= арқылы 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/text-to-video/720p.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt