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

LongCat Video · Text to Video · 480p

אינטעגרירן

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

באַקומען אַן API שליסל

טעקסט-צו-ווידעאָ אין 480p מיט 16:9, 9:16 אָדער 1:1 פֿאָרמאַט, לאַנגע קליפּס ביז 961 ראַמען און אַ נעגאַטיוון פּראָמפּט

Meituan · ווידעא

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

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

בויען אַ בעטן

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

•פארלאנגט

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

aspect_ratio סטאַנדאַרט 16:9

אַספּעקט־ראַטיאָ פונעם רעזולטאַט־ווידעא.

סטאַנדאַרט 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/text-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/text-to-video/480p?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"

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

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

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

גענערירט אַ ווידעאָ בלויז פֿון אַ טעקסט־`prompt`. `aspect_ratio` קען זײַן 16:9, 9:16 אָדער 1:1, און `num_frames` לויפט 17 ביז 961 (默认 162) ביי 1 ביז 60 `fps`. עס אָפפערט `num_inference_steps` (8 ביז 50), `guidance_scale` (1 ביז 10) און אַ נעגאַטיוון פּראָמפּט. דער רעזולטאַט קען זײַן 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־סטעפּס דורכגעפֿירט בעת ווידעא־גענערירונג.
guidance_scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט4
1 – 10
גיידאַנס־סקייל געווענדט בײַ גענערירן דעם ווידעא.
aspect_ratioאָפּציאָנעל
טיפּenum
סטאַנדאַרט16:9
16:99:161:1
אַספּעקט־ראַטיאָ פונעם רעזולטאַט־ווידעא.
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
אַקסעלעראַציע־ניוואָ געווענדט בעת ווידעא־גענערירונג.
פארלאנגט

אויסגאַבע

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