Neidio i'r cynnwys

LongCat Video Distilled · Text to Video · 480p

Integreiddio

ID y model longcat-video/distilled/text-to-video/480p
# 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/480p?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"

Ffeiliau fel yr enghraifft: $0.054 54 o gredydau API · ≈ ₽5.80 caiff eich ffeiliau eu mesur cyn y rhediad Ei redeg ar y dudalen hon

Cael allwedd API
Meituan Testun i Fideo Cyflym

Testun-i-fideo yn 480p gyda samplwr distylledig, yn cefnogi clipiau hir hyd at 961 ffrâm a sawl cynhwysydd allbwn

Meituan · Fideo

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Anogiad sy'n cyfarwyddo cynhyrchu fideo.

aspect_ratio rhagosodedig 16:9

Cymhareb agwedd yr allbwn fideo.

rhagosodedig 162

Cyfrif fframiau'r allbwn a gynhyrchir.

Uwch video_output_type · video_quality · video_write_mode · num_inference_steps · fps · seed · enable_prompt_expansion · enable_safety_checker
video_output_type rhagosodedig X264 (.mp4)

Math allbwn y fideo sy'n deillio o hynny.

video_quality rhagosodedig high

Lefel ansawdd y fideo sy'n deillio o hynny.

video_write_mode rhagosodedig balanced

Modd ysgrifennu'r fideo sy'n deillio o hynny.

rhagosodedig 12

Cyfrif camau casgliad a gyflawnwyd.

rhagosodedig 15

Cyfradd ffrâm y fideo allbwn.

Gwerth hadau sy'n cychwyn cynhyrchu rhifau ar hap.

POST /run/longcat-video/distilled/text-to-video/480p?wait=20 dyfynbris → $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/480p?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"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â LongCat Video Distilled · Text to Video · 480p

Cynhyrchu clip fideo o `prompt` testun gan ddefnyddio model distylledig, gyda 2 i 16 cam casglu (rhagosodedig 12). Mae `num_frames` yn amrywio o 17 i 961, `fps` o 1 i 60, a gall `aspect_ratio` fod yn 16:9, 9:16 neu 1:1. Gellir ysgrifennu'r allbwn fel MP4, WebM, ProRes MOV neu GIF, gydag ehangu anogwr dewisol a `seed` ar gyfer canlyniadau ailadroddadwy.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
Anogiad sy'n cyfarwyddo cynhyrchu fideo.
num_framesdewisol
Mathinteger
Rhagosodedig162
17 – 961
Cyfrif fframiau'r allbwn a gynhyrchir.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig12
2 – 16
Cyfrif camau casgliad a gyflawnwyd.
aspect_ratiodewisol
Mathenum
Rhagosodedig16:9
16:99:161:1
Cymhareb agwedd yr allbwn fideo.
fpsdewisol
Mathinteger
Rhagosodedig15
1 – 60
Cyfradd ffrâm y fideo allbwn.
seeddewisol
Mathinteger | null
Gwerth hadau sy'n cychwyn cynhyrchu rhifau ar hap.
enable_prompt_expansiondewisol
Mathboolean
Rhagosodedigfalse
Yn rheoli a yw ehangu'r anogiad wedi'i alluogi.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Togl gwirio diogelwch sy'n ddarostyngedig i ganiatadau cyfrif: mae gwiriadau'n parhau'n orfodol ar gyfer ceisiadau heb awdurdodiad, ac mae eu hanalluogi'n gofyn am awdurdodiad.
video_output_typedewisol
Mathenum
RhagosodedigX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Math allbwn y fideo sy'n deillio o hynny.
video_qualitydewisol
Mathenum
Rhagosodedighigh
lowmediumhighmaximum
Lefel ansawdd y fideo sy'n deillio o hynny.
video_write_modedewisol
Mathenum
Rhagosodedigbalanced
fastbalancedsmall
Modd ysgrifennu'r fideo sy'n deillio o hynny.
gofynnol

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/distilled/text-to-video/480p",
  "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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
prompt
stringAnogiad a ddefnyddiwyd i gynhyrchu'r allbwn.
seed
integerGwerth hedyn a gymhwysir wrth gynhyrchu.
video
object {url, content_type, file_name, file_size}Ffeil fideo a gynhyrchir.

Mwy o fodelau: Testun i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/longcat-video/distilled/text-to-video/480p.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt