Ruka hadi kwenye maudhui

LongCat Video Distilled · Text to Video · 720p

Unganisha

Kitambulisho cha modeli 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"

Faili kama mfano: $ 0.054 salio za API 54 · ≈ ₽ 5.80 faili zako hupimwa kabla ya kuendesha Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
Meituan · Video

Tokeo lako la kwanza linaonekana hapa

Unda ombi hapa chini na uliendeshe kwa ufunguo wako wa API. Matokeo yanakiliwa kwenye hifadhi yetu, yakihifadhiwa milele au 7 siku bila malipo.

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika

Kidokezo kinachoelekeza uzalishaji wa video.

aspect_ratio chaguomsingi 16:9

Uwiano wa picha wa video ya tokeo.

chaguomsingi 162

Idadi ya fremu za tokeo lililozalishwa.

Ya kina 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 chaguomsingi X264 (.mp4)

Aina ya tokeo la video inayotokana.

video_quality chaguomsingi high

Kiwango cha ubora wa video inayotokana.

video_write_mode chaguomsingi balanced

Hali ya kuandika ya video inayotokana.

chaguomsingi 12

Idadi ya hatua za uelekezaji zilizotekelezwa.

chaguomsingi 12

Idadi ya hatua za uelekezaji zilizotekelezwa wakati wa uboreshaji.

chaguomsingi 30

Kasi ya fremu ya video ya tokeo.

Thamani ya mbegu inayoanzisha uzalishaji wa nambari nasibu.

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

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu LongCat Video Distilled · Text to Video · 720p

Hutengeneza video kutoka kwa maandishi kwa muundo uliopunguzwa katika 720p. `num_inference_steps` na `num_refine_inference_steps` hukubali 2 hadi 16 (chaguo-msingi 12). `aspect_ratio` ni 16:9, 9:16 au 1:1, `num_frames` huwa 17 hadi 961 (chaguo-msingi 162), na fps ni 30 kwa chaguo-msingi. Matokeo yanaweza kuwa mp4, webm, ProRes mov au GIF.

Vigezo

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptinahitajika
Ainastring
Kidokezo kinachoelekeza uzalishaji wa video.
num_framessi lazima
Ainainteger
Chaguomsingi162
17 – 961
Idadi ya fremu za tokeo lililozalishwa.
num_inference_stepssi lazima
Ainainteger
Chaguomsingi12
2 – 16
Idadi ya hatua za uelekezaji zilizotekelezwa.
num_refine_inference_stepssi lazima
Ainainteger
Chaguomsingi12
2 – 16
Idadi ya hatua za uelekezaji zilizotekelezwa wakati wa uboreshaji.
aspect_ratiosi lazima
Ainaenum
Chaguomsingi16:9
16:99:161:1
Uwiano wa picha wa video ya tokeo.
fpssi lazima
Ainainteger
Chaguomsingi30
1 – 60
Kasi ya fremu ya video ya tokeo.
seedsi lazima
Ainainteger | null
Thamani ya mbegu inayoanzisha uzalishaji wa nambari nasibu.
enable_prompt_expansionsi lazima
Ainaboolean
Chaguomsingifalse
Hudhibiti ikiwa upanuzi wa kidokezo umewashwa.
enable_safety_checkersi lazima
Ainaboolean
Chaguomsingitrue
Kigeuza ukaguzi wa usalama kinachotegemea ruhusa za akaunti: ukaguzi hubaki wa lazima kwa maombi yasiyoidhinishwa, na kuuzima kunahitaji uidhinishaji.
video_output_typesi lazima
Ainaenum
ChaguomsingiX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Aina ya tokeo la video inayotokana.
video_qualitysi lazima
Ainaenum
Chaguomsingihigh
lowmediumhighmaximum
Kiwango cha ubora wa video inayotokana.
video_write_modesi lazima
Ainaenum
Chaguomsingibalanced
fastbalancedsmall
Hali ya kuandika ya video inayotokana.
inahitajika

Tokeo

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"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
prompt
stringKidokezo kilichotumika kutengeneza tokeo.
seed
integerThamani ya seed inayotumika wakati wa uzalishaji.
video
object {url, content_type, file_name, file_size}Faili ya video iliyozalishwa.

Miundo zaidi: Maandishi hadi Video

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/longcat-video/distilled/text-to-video/720p.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt