Léim chuig an ábhar

LongCat Video · Text to Video · 720p

Comhtháthú

Aitheantas na samhla longcat-video/text-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/text-to-video/720p?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"

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

Téacs-go-físeán ag 720p le céim mionchoigeartaithe, réamhshocrú 30 fps agus trí chóimheas gné

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.

•riachtanach

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

aspect_ratio réamhshocrú 16:9

Cóimheas gné an fhíseáin aschuir.

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/text-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/text-to-video/720p?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"

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 · Text to Video · 720p

Cruthaíonn sé físeán ó leid, agus cuireann sé pas mionchoigeartaithe leis arna shocrú ag `num_refine_inference_steps` (8 go 50). Is é `aspect_ratio` 16:9, 9:16 nó 1:1, agus tá `num_frames` idir 17 agus 961 (réamhshocrú 162) ag réamhshocrú 30 fps. Glacann sé leid dhiúltach agus `guidance_scale` ó 1 go 10 freisin. Is féidir mp4, webm, ProRes mov nó GIF a bheith san aschur.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
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.
aspect_ratioroghnach
Cineálenum
Réamhshocrú16:9
16:99:161:1
Cóimheas gné an fhíseáin aschuir.
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

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/text-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": {
    "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"
  }
}
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: Téacs go Físeán

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