Neidio i'r cynnwys

LongCat Video · Text to Video · 720p

Integreiddio

ID y model 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"

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

Cael allwedd API
Meituan Testun i Fideo

Testun-i-fideo ar 720p gyda cham mireinio, 30 fps rhagosodedig a thair cymhareb agwedd

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 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
rhagosodedig Bright tones, overexp...

Anogiad negyddol a ddefnyddir wrth gynhyrchu'r fideo.

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.

acceleration rhagosodedig regular

Lefel cyflymu a gymhwysir wrth gynhyrchu fideo.

rhagosodedig 40

Cyfrif camau casgliad a gyflawnwyd wrth gynhyrchu fideo.

rhagosodedig 40

Cyfrif camau casgliad a gyflawnwyd wrth fireinio.

rhagosodedig 4

Graddfa arweiniad a gymhwysir wrth gynhyrchu'r fideo.

rhagosodedig 30

Cyfradd ffrâm y fideo allbwn.

Gwerth hadau sy'n cychwyn cynhyrchu rhifau ar hap.

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

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

Yn creu fideo o anogiad, gan ychwanegu pas mireinio a osodir gan `num_refine_inference_steps` (8 i 50). Mae `aspect_ratio` yn 16:9, 9:16 neu 1:1, ac mae `num_frames` yn amrywio o 17 i 961 (rhagosodedig 162) ar 30 fps yn rhagosodedig. Mae hefyd yn derbyn anogiad negyddol a `guidance_scale` o 1 i 10. Gall yr allbwn fod yn mp4, webm, ProRes mov neu GIF.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
Anogiad sy'n cyfarwyddo cynhyrchu fideo.
negative_promptdewisol
Mathstring
RhagosodedigBright 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
Anogiad negyddol a ddefnyddir wrth gynhyrchu'r fideo.
num_framesdewisol
Mathinteger
Rhagosodedig162
17 – 961
Cyfrif fframiau'r allbwn a gynhyrchir.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig40
8 – 50
Cyfrif camau casgliad a gyflawnwyd wrth gynhyrchu fideo.
num_refine_inference_stepsdewisol
Mathinteger
Rhagosodedig40
8 – 50
Cyfrif camau casgliad a gyflawnwyd wrth fireinio.
guidance_scaledewisol
Mathnumber
Rhagosodedig4
1 – 10
Graddfa arweiniad a gymhwysir wrth gynhyrchu'r fideo.
aspect_ratiodewisol
Mathenum
Rhagosodedig16:9
16:99:161:1
Cymhareb agwedd yr allbwn fideo.
fpsdewisol
Mathinteger
Rhagosodedig30
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.
accelerationdewisol
Mathenum
Rhagosodedigregular
noneregular
Lefel cyflymu a gymhwysir wrth gynhyrchu fideo.
gofynnol

Allbwn

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"
  }
}
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/text-to-video/720p.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt