Peke ki ngā ihirangi

LongCat Video · Text to Video · 720p

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 0.216 216 whiwhinga API · ≈ ₽ 23.24 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Meituan · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu hei arataki i te whakaputa ataata.

aspect_ratio taunoa 16:9

Āwehenga āhuatanga mō te ataata putanga.

taunoa 162

Tau anga mō te putanga kua whakaputaina.

Arā atu 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
taunoa Bright tones, overexp...

Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.

video_output_type taunoa X264 (.mp4)

Momo putanga mō te ataata ka puta.

video_quality taunoa high

Taumata kounga mō te ataata ka puta.

video_write_mode taunoa balanced

Aratau tuhi mō te ataata ka puta.

acceleration taunoa regular

Taumata whakatere i whakamahia i te whakaputa ataata.

taunoa 40

Tatau o ngā takahanga inference i mahia i te wā whakaputa ataata.

taunoa 40

Tatau o ngā takahanga inference i mahia i te wā whakapai.

taunoa 4

Te tauine arataki e whakamahia ana i te whakaputa ataata.

taunoa 30

Tere anga mō te ataata putanga.

Uara kākano hei tīmata i te whakaputanga tau matapōkere.

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō LongCat Video · Text to Video · 720p

Ka hanga ataata mai i tētahi tohutohu, me tētahi wāhanga whakamahine e whakaritea ana e `num_refine_inference_steps` (8 ki te 50). Ko `aspect_ratio` he 16:9, 9:16, 1:1 rānei, ā, ko `num_frames` he 17 ki te 961 (taunoa 162) i te 30 fps taunoa. Ka tango hoki i tētahi negative tohutohu me `guidance_scale` mai i te 1 ki te 10. Ka taea te putanga hei mp4, webm, ProRes mov, GIF rānei.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Tohutohu hei arataki i te whakaputa ataata.
negative_promptkōwhiringa
Momostring
TaunoaBright 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
Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.
num_frameskōwhiringa
Momointeger
Taunoa162
17 – 961
Tau anga mō te putanga kua whakaputaina.
num_inference_stepskōwhiringa
Momointeger
Taunoa40
8 – 50
Tatau o ngā takahanga inference i mahia i te wā whakaputa ataata.
num_refine_inference_stepskōwhiringa
Momointeger
Taunoa40
8 – 50
Tatau o ngā takahanga inference i mahia i te wā whakapai.
guidance_scalekōwhiringa
Momonumber
Taunoa4
1 – 10
Te tauine arataki e whakamahia ana i te whakaputa ataata.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
16:99:161:1
Āwehenga āhuatanga mō te ataata putanga.
fpskōwhiringa
Momointeger
Taunoa30
1 – 60
Tere anga mō te ataata putanga.
seedkōwhiringa
Momointeger | null
Uara kākano hei tīmata i te whakaputanga tau matapōkere.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā kua whakahohea te whakawhānui tohutohu.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Whakakā tirotiro haumaru kei raro i ngā whakaaetanga pūkete: he here tonu ngā tirotirohanga mō ngā tono kāore he mana, ā, me whai whakamana kia whakawetohia.
video_output_typekōwhiringa
Momoenum
TaunoaX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Momo putanga mō te ataata ka puta.
video_qualitykōwhiringa
Momoenum
Taunoahigh
lowmediumhighmaximum
Taumata kounga mō te ataata ka puta.
video_write_modekōwhiringa
Momoenum
Taunoabalanced
fastbalancedsmall
Aratau tuhi mō te ataata ka puta.
accelerationkōwhiringa
Momoenum
Taunoaregular
noneregular
Taumata whakatere i whakamahia i te whakaputa ataata.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
prompt
stringTe tohutohu i whakamahia hei whakaputa i te putanga.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
video
object {url, content_type, file_name, file_size}Te kōnae ataata i whakaputaina.

Ētahi atu tauira: Kuputuhi ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/longcat-video/text-to-video/720p.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt