Léim chuig an ábhar

LongCat Video · Image to Video · 720p

Comhtháthú

Aitheantas na samhla 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"

Comhaid cosúil leis an sampla: $0.216 216 gcreidmheas API · ≈ ₽23.18 déantar do chuid comhad a thomhas roimh an rith Rith ar an leathanach seo

Faigh eochair API
Meituan Íomhá go Físeán Aschur 4K

Íomhá-go-físeán ag 720p le pas mionchoigeartaithe breise agus réamhshocrú 30 fps

Meituan · Físeán

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

réamhshocrú First-person view fro...

Leid a threoraíonn giniúint físeáin.

•riachtanach image_url
Scaoil comhad, nó

URL íomhá fhoinseach le haghaidh giniúint físeáin.

réamhshocrú 162

Líon na bhfrámaí don aschur ginte.

Ardleibhéal 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
réamhshocrú Bright tones, overexp...

Leid dhiúltach a úsáidtear agus an físeán á ghiniúint.

video_output_type réamhshocrú X264 (.mp4)

Cineál aschuir an fhíseáin a bheidh mar thoradh air.

video_quality réamhshocrú high

Leibhéal cáilíochta an fhíseáin a bheidh mar thoradh air.

video_write_mode réamhshocrú balanced

Mód scríofa an fhíseáin a bheidh mar thoradh air.

acceleration réamhshocrú regular

Leibhéal luasghéaraithe a chuirtear i bhfeidhm le linn giniúint físeáin.

réamhshocrú 40

Líon na gcéimeanna tátail a rinneadh le linn giniúint físeáin.

réamhshocrú 40

Líon na gcéimeanna tátail a rinneadh le linn mionchoigeartaithe.

réamhshocrú 4

Scála treorach a chuirtear i bhfeidhm agus an físeán á ghiniúint.

réamhshocrú 30

Ráta fráma an fhíseáin aschuir.

Luach síl a thosaíonn giniúint uimhreacha randamacha.

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

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le LongCat Video · Image to Video · 720p

Beochann sé íomhá ionchuir ina físeán fada, le dara céim mionchoigeartaithe á rialú ag `num_refine_inference_steps` (8 go 50). Tá raon 17 go 961 ag `num_frames` (réamhshocrú 162), agus is é 30 an ráta fráma de réir réamhshocraithe. Glacann sé freisin le leid, leid dhiúltach agus `guidance_scale` (1 go 10). I measc na bhformáidí aschuir tá mp4, webm, ProRes mov agus GIF.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
image_urlriachtanach image
Cineálurl · image
URL íomhá fhoinseach le haghaidh giniúint físeáin.
promptroghnach
Cineálstring
Réamhshocrú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
Leid a threoraíonn giniúint físeáin.
negative_promptroghnach
Cineálstring
Réamhshocrú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
Leid dhiúltach a úsáidtear agus an físeán á ghiniúint.
num_framesroghnach
Cineálinteger
Réamhshocrú162
17 – 961
Líon na bhfrámaí don aschur ginte.
num_inference_stepsroghnach
Cineálinteger
Réamhshocrú40
8 – 50
Líon na gcéimeanna tátail a rinneadh le linn giniúint físeáin.
num_refine_inference_stepsroghnach
Cineálinteger
Réamhshocrú40
8 – 50
Líon na gcéimeanna tátail a rinneadh le linn mionchoigeartaithe.
guidance_scaleroghnach
Cineálnumber
Réamhshocrú4
1 – 10
Scála treorach a chuirtear i bhfeidhm agus an físeán á ghiniúint.
fpsroghnach
Cineálinteger
Réamhshocrú30
1 – 60
Ráta fráma an fhíseáin aschuir.
seedroghnach
Cineálinteger | null
Luach síl a thosaíonn giniúint uimhreacha randamacha.
enable_prompt_expansionroghnach
Cineálboolean
Réamhshocrúfalse
Rialaíonn sé an bhfuil leathnú na leide cumasaithe.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Scorán seiceála sábháilteachta faoi réir ceadanna cuntais: fanann seiceálacha éigeantach d’iarratais neamhúdaraithe, agus teastaíonn údarú chun iad a dhíchumasú.
video_output_typeroghnach
Cineálenum
RéamhshocrúX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Cineál aschuir an fhíseáin a bheidh mar thoradh air.
video_qualityroghnach
Cineálenum
Réamhshocrúhigh
lowmediumhighmaximum
Leibhéal cáilíochta an fhíseáin a bheidh mar thoradh air.
video_write_moderoghnach
Cineálenum
Réamhshocrúbalanced
fastbalancedsmall
Mód scríofa an fhíseáin a bheidh mar thoradh air.
accelerationroghnach
Cineálenum
Réamhshocrúregular
noneregular
Leibhéal luasghéaraithe a chuirtear i bhfeidhm le linn giniúint físeáin.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
prompt
stringLeid a úsáideadh chun an t-aschur a ghiniúint.
seed
integerLuach síl a chuirtear i bhfeidhm le linn giniúna.
video
object {url, content_type, file_name, file_size}Comhad físeáin a tháirgtear leis an nginiúint.

Tuilleadh samhlacha: Íomhá go Físeán

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/longcat-video/image-to-video/720p.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt