Lumaktaw sa nilalaman

LongCat Video · Image to Video · 720p

I-integrate

ID ng modelo longcat-video/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/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"

Mga file na katulad ng halimbawa: $0.216 216 kredito ng API · ≈ ₽23.18 sinusukat ang iyong mga file bago patakbuhin Patakbuhin ito sa page na ito

Kumuha ng API key
Meituan · video

Dito mapupunta ang iyong unang resulta

Bumuo ng kahilingan sa ibaba at patakbuhin ito gamit ang iyong API key. Kinokopya ang mga output sa aming storage, na pinananatili nang walang hanggan o 7 araw nang libre.

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

default na First-person view fro...

Prompt na gumagabay sa pagbuo ng video.

•kinakailangan image_url
Mag-drop ng file, o

Source larawan URL para sa pagbuo ng video.

default na 162

Bilang ng frame para sa nabuong output.

advanced 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
default na Bright tones, overexp...

Negative prompt na ginagamit sa pagbuo ng video.

video_output_type default na X264 (.mp4)

Uri ng output para sa resultang video.

video_quality default na high

Antas ng kalidad para sa resultang video.

video_write_mode default na balanced

Write mode para sa resultang video.

acceleration default na regular

Antas ng acceleration na inilapat habang binubuo ang video.

default na 40

Bilang ng inference step na isinagawa habang binubuo ang video.

default na 40

Bilang ng inference step na isinagawa habang nire-refine.

default na 4

Guidance scale na inilalapat sa pagbuo ng video.

default na 30

Frame rate para sa output na video.

Seed value na nag-i-initialize sa pagbuo ng random number.

POST /run/longcat-video/image-to-video/720p?wait=20 presyo → $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/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"

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa LongCat Video · Image to Video · 720p

Ina-animate ang input larawan bilang mahabang video, na may ikalawang refinement stage na kinokontrol ng `num_refine_inference_steps` (8 hanggang 50). Ang `num_frames` ay mula 17 hanggang 961 (default 162), at default na 30 ang frame rate. Tumatanggap din ito ng prompt, negative prompt at `guidance_scale` (1 hanggang 10). Kasama sa output format ang mp4, webm, ProRes mov at GIF.

Mga parameter

Ipadala ang canonical na pangalan o ang native na pangalan, hindi pareho. Mga canonical na pangalan

PangalanUri defaultPinapayagan Paglalarawan
image_urlkinakailangan image
Uriurl · image
Source larawan URL para sa pagbuo ng video.
promptopsyonal
Uristring
defaultFirst-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
Prompt na gumagabay sa pagbuo ng video.
negative_promptopsyonal
Uristring
defaultBright 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
Negative prompt na ginagamit sa pagbuo ng video.
num_framesopsyonal
Uriinteger
default162
17 – 961
Bilang ng frame para sa nabuong output.
num_inference_stepsopsyonal
Uriinteger
default40
8 – 50
Bilang ng inference step na isinagawa habang binubuo ang video.
num_refine_inference_stepsopsyonal
Uriinteger
default40
8 – 50
Bilang ng inference step na isinagawa habang nire-refine.
guidance_scaleopsyonal
Urinumber
default4
1 – 10
Guidance scale na inilalapat sa pagbuo ng video.
fpsopsyonal
Uriinteger
default30
1 – 60
Frame rate para sa output na video.
seedopsyonal
Uriinteger | null
Seed value na nag-i-initialize sa pagbuo ng random number.
enable_prompt_expansionopsyonal
Uriboolean
defaultfalse
Kinokontrol kung naka-enable ang prompt expansion.
enable_safety_checkeropsyonal
Uriboolean
defaulttrue
Toggle ng pagsusuri sa kaligtasan na nakadepende sa mga pahintulot ng account: nananatiling mandatory ang mga pagsusuri para sa hindi awtorisadong kahilingan, at kailangan ang authorization upang i-disable ang mga ito.
video_output_typeopsyonal
Urienum
defaultX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Uri ng output para sa resultang video.
video_qualityopsyonal
Urienum
defaulthigh
lowmediumhighmaximum
Antas ng kalidad para sa resultang video.
video_write_modeopsyonal
Urienum
defaultbalanced
fastbalancedsmall
Write mode para sa resultang video.
accelerationopsyonal
Urienum
defaultregular
noneregular
Antas ng acceleration na inilapat habang binubuo ang video.
kinakailangan Canonical na pangalan, tinatanggap din

Tumatanggap ang mga parameter ng file ng pampublikong https:// URL, data: URI na hanggang 10 MB, o file_url ng isang upload. Mga file

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/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": 216,
    "usd": "0.216",
    "charged": 216,
    "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"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
prompt
stringPrompt na ginamit sa pagbuo ng output.
seed
integerSeed value na inilapat sa pagbuo.
video
object {url, content_type, file_name, file_size}Video file na ginawa sa pagbuo.

Higit pang modelo: Larawan patungong Video

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/longcat-video/image-to-video/720p.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt