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

LongCat Video · Image to Video · 480p

אינטעגרירן

מאָדעל־id longcat-video/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/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.27⁩ 270 API־קרעדיטן · ≈ ⁨₽ 28.97⁩ אײַערע פֿײַלן ווערן געמאסטן איידערן לויפֿן לויפֿן עס אויף דער דאָזיקער בלאַט

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

אַנימירט אַ שטיל בילד אין אַ 480p ווידעאָ, מיט ביז 961 ראַמען און עטלעכע אַרויסגאַבע־קאַנטיינערס

Meituan · ווידעא

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

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

בויען אַ בעטן

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

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

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

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

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

סטאַנדאַרט 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

צאָל inference־סטעפּס דורכגעפֿירט בעת ווידעא־גענערירונג.

סטאַנדאַרט 4

גיידאַנס־סקייל געווענדט בײַ גענערירן דעם ווידעא.

סטאַנדאַרט 15

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

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

POST /run/longcat-video/image-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/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"

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

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

וועגן LongCat Video · Image to Video · 480p

פֿאַרוואַנדלט דאָס בילד אין `image_url` אין אַ ווידעאָ לויט אַ פּראָמפּט און נעגאַטיוון פּראָמפּט. `num_frames` לויפט 17 ביז 961 (默认 162) און `fps` 1 ביז 60. טון די קוואַליטעט מיט `num_inference_steps` (8 ביז 50) און `guidance_scale` (1 ביז 10). די אַרויסגאַבע קען זײַן 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
פּראָמפּט וואָס פֿירט ווידעא־גענערירונג.
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־סטעפּס דורכגעפֿירט בעת ווידעא־גענערירונג.
guidance_scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט4
1 – 10
גיידאַנס־סקייל געווענדט בײַ גענערירן דעם ווידעא.
fpsאָפּציאָנעל
טיפּinteger
סטאַנדאַרט15
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
שרײַב־מאָדע פֿאַרן רעזולטירנדיקן ווידעא.
accelerationאָפּציאָנעל
טיפּenum
סטאַנדאַרטregular
noneregular
אַקסעלעראַציע־ניוואָ געווענדט בעת ווידעא־גענערירונג.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/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": 270,
    "usd": "0.27",
    "charged": 270,
    "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/image-to-video/480p.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt