Leum chun t-susbaint

LongCat Video · Image to Video · 720p

Amalaich

ID a’ mhodail 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"

Faidhlichean mar an eisimpleir: $0.216 216 creideasan API · ≈ ₽23.18 thèid na faidhlichean agad a thomhas ron ruith Ruith e air an duilleig seo

Faigh iuchair API
Meituan Ìomhaigh gu Bhidio Toradh 4K

Ìomhaigh-gu-bhidio aig 720p le pas leasachaidh a bharrachd agus bunait 30 fps

Meituan · Bhidio

Thèid a’ chiad toradh agad an-seo

Tog iarrtas gu h-ìosal agus ruith e leis an iuchair API agad. Tha na h-às-churan air an lethbhreacadh dhan stòradh againn, air an cumail gu bràth no 7 latha an-asgaidh.

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

bun-roghainn First-person view fro...

Prompt a tha a’ stiùireadh gineadh bhidio.

•riatanach image_url
Leig às faidhle, no

URL ìomhaigh tùsail airson gineadh bhidio.

bun-roghainn 162

Àireamh fhrèamaichean airson an às-chuir a chaidh a chruthachadh.

Adhartach 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
bun-roghainn Bright tones, overexp...

Prompt àicheil a thèid a chleachdadh nuair a thathar a’ gineadh a’ bhidio.

video_output_type bun-roghainn X264 (.mp4)

Seòrsa às-chuir airson a’ bhidio a thig às.

video_quality bun-roghainn high

Ìre càileachd airson a’ bhidio a thig às.

video_write_mode bun-roghainn balanced

Modh sgrìobhaidh airson a’ bhidio a thig às.

acceleration bun-roghainn regular

Ìre luathachaidh air a cur an sàs rè gineadh bhidio.

bun-roghainn 40

Àireamh nan ceumannan inference a chaidh a choileanadh rè gineadh bhidio.

bun-roghainn 40

Àireamh nan ceumannan inference a chaidh a choileanadh rè leasachaidh.

bun-roghainn 4

Sgèile stiùiridh a thèid a chur an sàs nuair a thathar a’ gineadh a’ bhidio.

bun-roghainn 30

Ìre frèam airson a’ bhidio às-chuir.

Luach sìl a thòisicheas gineadh àireamhan air thuaiream.

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

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu LongCat Video · Image to Video · 720p

Beothaich ìomhaigh a-steach do bhidio fhada, le dàrna ìre leasachaidh air a smachdachadh le `num_refine_inference_steps` (8 gu 50). Tha `num_frames` eadar 17 agus 961 (bunaiteach 162), agus ’s e 30 an ìre-fhrèama bhunaiteach. Gabhaidh e ri prompt, prompt àicheil agus `guidance_scale` (1 gu 10). Tha na cruthan toraidh a’ gabhail a-steach mp4, webm, ProRes mov agus GIF.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
image_urlriatanach image
Seòrsaurl · image
URL ìomhaigh tùsail airson gineadh bhidio.
promptroghainneil
Seòrsastring
Bun-roghainnFirst-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 a tha a’ stiùireadh gineadh bhidio.
negative_promptroghainneil
Seòrsastring
Bun-roghainnBright 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
Prompt àicheil a thèid a chleachdadh nuair a thathar a’ gineadh a’ bhidio.
num_framesroghainneil
Seòrsainteger
Bun-roghainn162
17 – 961
Àireamh fhrèamaichean airson an às-chuir a chaidh a chruthachadh.
num_inference_stepsroghainneil
Seòrsainteger
Bun-roghainn40
8 – 50
Àireamh nan ceumannan inference a chaidh a choileanadh rè gineadh bhidio.
num_refine_inference_stepsroghainneil
Seòrsainteger
Bun-roghainn40
8 – 50
Àireamh nan ceumannan inference a chaidh a choileanadh rè leasachaidh.
guidance_scaleroghainneil
Seòrsanumber
Bun-roghainn4
1 – 10
Sgèile stiùiridh a thèid a chur an sàs nuair a thathar a’ gineadh a’ bhidio.
fpsroghainneil
Seòrsainteger
Bun-roghainn30
1 – 60
Ìre frèam airson a’ bhidio às-chuir.
seedroghainneil
Seòrsainteger | null
Luach sìl a thòisicheas gineadh àireamhan air thuaiream.
enable_prompt_expansionroghainneil
Seòrsaboolean
Bun-roghainnfalse
Smachd air a bheil leudachadh a’ phrompt air a chomasachadh.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Toglaich sgrùdaidh sàbhailteachd fo ùghdarrasan cunntais: tha sgrùdaidhean fhathast riatanach airson iarrtasan gun ùghdarras, agus tha ùghdarras riatanach gus an cur à comas.
video_output_typeroghainneil
Seòrsaenum
Bun-roghainnX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Seòrsa às-chuir airson a’ bhidio a thig às.
video_qualityroghainneil
Seòrsaenum
Bun-roghainnhigh
lowmediumhighmaximum
Ìre càileachd airson a’ bhidio a thig às.
video_write_moderoghainneil
Seòrsaenum
Bun-roghainnbalanced
fastbalancedsmall
Modh sgrìobhaidh airson a’ bhidio a thig às.
accelerationroghainneil
Seòrsaenum
Bun-roghainnregular
noneregular
Ìre luathachaidh air a cur an sàs rè gineadh bhidio.
riatanach Ainm canonical, gabhar ris cuideachd

Gabhaidh paramadairean faidhle ri URL poblach https://, URI data: suas ri 10 MB, no file_url de luchdachadh suas. Faidhlichean

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
prompt
stringPrompt a chaidh a chleachdadh gus an às-chur a ghineadh.
seed
integerLuach sìl a chaidh a chur an sàs rè gineadh.
video
object {url, content_type, file_name, file_size}Faidhle bhidio a chaidh a chruthachadh le gineadh.

Barrachd mhodalan: Ìomhaigh gu Bhidio

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/longcat-video/image-to-video/720p.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt