שפּרינגען צו אינהאַלט

LongCat Video Distilled · Image to Video · 720p

אינטעגרירן

מאָדעל־id longcat-video/distilled/image-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/image-to-video/720p?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.79⁩ אײַערע פֿײַלן ווערן געמאסטן איידערן לויפֿן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Meituan בילד צו ווידעא 4K רעזולטאַטשנעל

דיסטילירטער בילד-צו-ווידעאָ אין 720p מיט ווייניק טריט, אַ פֿאַרפֿײַנערן־פּאַס און 默认 30 fps

Meituan · ווידעא

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

סטאַנדאַרט First-person view fro...

פּראָמפּט וואָס פֿירט ווידעא־גענערירונג.

•פארלאנגט image_url
לייגט אַרײַן אַ טעקע, אָדער

מקור־בילד־URL פֿאַר ווידעא־גענערירונג.

סטאַנדאַרט 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־סטעפּס דורכגעפֿירט בעת refinement.

סטאַנדאַרט 30

ראַמען פּער סעקונדע פֿאַרן רעזולטאַט־ווידעא.

גרעין־ווערט וואָס איניציאַליזירט ראַנדאָם־צאָל־גענערירונג.

POST /run/longcat-video/distilled/image-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/image-to-video/720p?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"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן LongCat Video Distilled · Image to Video · 720p

אַנימירט אַ בילד מיט אַ דיסטילירטן מאָדעל מיט ווייניק טריט. `num_inference_steps` און `num_refine_inference_steps` לויפן יעדער פֿון 2 ביז 16 (默认 12). `num_frames` לויפט 17 ביז 961 (默认 162), און דער ראַם־קורס איז 默认 30. פּראָמפּט־אויסברייטערונג איז אָפּציאָנעל, און די אַרויסגאַבע קען זײַן 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־סטעפּס.
num_refine_inference_stepsאָפּציאָנעל
טיפּinteger
סטאַנדאַרט12
2 – 16
צאָל inference־סטעפּס דורכגעפֿירט בעת refinement.
fpsאָפּציאָנעל
טיפּinteger
סטאַנדאַרט30
1 – 60
ראַמען פּער סעקונדע פֿאַרן רעזולטאַט־ווידעא.
seedאָפּציאָנעל
טיפּinteger | null
גרעין־ווערט וואָס איניציאַליזירט ראַנדאָם־צאָל־גענערירונג.
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, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/image-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": {
    "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־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
prompt
stringפּראָמפּט וואָס איז געניצט געוואָרן צו גענערירן דעם רעזולטאַט.
seed
integerסיד־ווערט וואָס ווערט געווענדט בעת גענערירונג.
video
object {url, content_type, file_name, file_size}ווידעא־פֿײַל געשאַפֿן דורך גענערירונג.

מער מאָדעלן: בילד צו ווידעא

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/longcat-video/distilled/image-to-video/720p.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt