Léim chuig an ábhar

LongCat Video Distilled · Text to Video · 720p

Comhtháthú

Aitheantas na samhla longcat-video/distilled/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/distilled/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.054 54 gcreidmheas API · ≈ ₽5.80 déantar do chuid comhad a thomhas roimh an rith Rith ar an leathanach seo

Faigh eochair API
Meituan Téacs go Físeán Tapa

Téacs-go-físeán driogtha ag 720p le céimeanna mionchoigeartaithe 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.

•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 video_output_type · video_quality · video_write_mode · num_inference_steps · num_refine_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
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.

réamhshocrú 12

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

réamhshocrú 12

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

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/distilled/text-to-video/720p?wait=20 luachan → $0.054
# 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/distilled/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 Distilled · Text to Video · 720p

Gineann sé físeán ó théacs le samhail driogtha ag 720p. Glacann `num_inference_steps` agus `num_refine_inference_steps` araon le 2 go 16 (réamhshocrú 12). Is é `aspect_ratio` 16:9, 9:16 nó 1:1, ritheann `num_frames` ó 17 go 961 (réamhshocrú 162), agus is é 30 réamhshocrú fps. 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.
num_framesroghnach
Cineálinteger
Réamhshocrú162
17 – 961
Líon na bhfrámaí don aschur ginte.
num_inference_stepsroghnach
Cineálinteger
Réamhshocrú12
2 – 16
Líon na gcéimeanna tátail a rinneadh.
num_refine_inference_stepsroghnach
Cineálinteger
Réamhshocrú12
2 – 16
Líon na gcéimeanna tátail a rinneadh le linn mionchoigeartaithe.
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.
riachtanach

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/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": 54,
    "usd": "0.054",
    "charged": 54,
    "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/distilled/text-to-video/720p.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt