Мазмұнға өту

LongCat Video Distilled · Image to Video · 480p

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

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

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

API кілтін алу
Meituan Кескіннен бейнеге 4K шығысыЖылдам

Ұзақ клиптерді жылдамырақ жасау үшін 480p ажыратымдылығында аз қадаммен кескіннен бейне жасайтын дистилляцияланған модель

Meituan · Бейне

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

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

Сұрау жасау

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

әдепкі First-person view fro...

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

•міндетті image_url
Файлды тастаңыз немесе

Бейне генерациясына арналған бастапқы кескін URL.

әдепкі 162

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

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

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

video_quality әдепкі high

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

video_write_mode әдепкі balanced

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

әдепкі 12

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

әдепкі 15

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

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

POST /run/longcat-video/distilled/image-to-video/480p?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/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-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

LongCat Video Distilled · Image to Video · 480p туралы

Кескінді әлдеқайда аз қадаммен жандандыратын дистилляцияланған нұсқа: `num_inference_steps` әдепкіде 12, диапазоны 2-16. `num_frames` 17-961 (әдепкі 162), әдепкі жиілік 15 fps. Теріс нұсқау немесе бағыттау параметрі жоқ. Шығыс форматтары 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
Бейне генерациясын бағыттайтын нұсқау.
num_framesміндетті емес
Түріinteger
Әдепкі162
17 – 961
Жасалатын шығыстағы кадрлар саны.
num_inference_stepsміндетті емес
Түріinteger
Әдепкі12
2 – 16
Орындалған inference қадамдарының саны.
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
Нәтижелік бейнені жазу режимі.
міндетті Канондық атау, бұл да қабылданады

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың file_url мәнін қабылдайды. Файлдар

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/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": 54,
    "usd": "0.054",
    "charged": 54,
    "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= арқылы 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/image-to-video/480p.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt