Saltar al cuntegna

LongCat Video · Text to Video · 480p

Integrar

ID dal model longcat-video/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/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"

Datotecas sco l'exempel: $0,27 270 credits API · ≈ ₽29,05 tias datotecas vegnan mesiradas avant l'execuziun Lantschar sin questa pagina

Obtegna ina clav API
Meituan Text a video

Text-to-video a 480p cun inquadratura 16:9, 9:16 u 1:1, clips lungs fin a 961 frame e in prompt negativ

Meituan · Video

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori

Prompt che dirigia la generaziun video.

aspect_ratio standard 16:9

Proporziun d'aspect dal video d'output.

standard 162

Dumber da frames per l'output generà.

Avanzà negative_prompt · video_output_type · video_quality · video_write_mode · acceleration · num_inference_steps · guidance_scale · fps · seed · enable_prompt_expansion · enable_safety_checker
standard Bright tones, overexp...

Prompt negativ utilisà durant la generaziun dal video.

video_output_type standard X264 (.mp4)

Tip d'output dal video resultà.

video_quality standard high

Nivel da qualitad dal video resultà.

video_write_mode standard balanced

Modus da scriver per il video resultà.

acceleration standard regular

Nivel d'acceleraziun applitgà durant la generaziun video.

standard 40

Dumber da pass d'inferenza exequids durant la generaziun video.

standard 4

Scala da guida applitgada durant la generaziun dal video.

standard 15

Frame rate dal video d'output.

Valur da seed che inizialisescha la generaziun da nums casuals.

POST /run/longcat-video/text-to-video/480p?wait=20 calculaziun → $0,27
# 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/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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart LongCat Video · Text to Video · 480p

Generescha in video mo d'in `prompt` textual. `aspect_ratio` po esser 16:9, 9:16 u 1:1, e `num_frames` varia da 17 fin a 961 (default 162) cun 1 fin a 60 `fps`. El porscha `num_inference_steps` (8 fin a 50), `guidance_scale` (1 fin a 10) e in prompt negativ. Il resultat po esser MP4, WebM, ProRes MOV u GIF.

Parameters

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
Prompt che dirigia la generaziun video.
negative_promptopziunal
Tipstring
StandardBright 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
Prompt negativ utilisà durant la generaziun dal video.
num_framesopziunal
Tipinteger
Standard162
17 – 961
Dumber da frames per l'output generà.
num_inference_stepsopziunal
Tipinteger
Standard40
8 – 50
Dumber da pass d'inferenza exequids durant la generaziun video.
guidance_scaleopziunal
Tipnumber
Standard4
1 – 10
Scala da guida applitgada durant la generaziun dal video.
aspect_ratioopziunal
Tipenum
Standard16:9
16:99:161:1
Proporziun d'aspect dal video d'output.
fpsopziunal
Tipinteger
Standard15
1 – 60
Frame rate dal video d'output.
seedopziunal
Tipinteger | null
Valur da seed che inizialisescha la generaziun da nums casuals.
enable_prompt_expansionopziunal
Tipboolean
Standardfalse
Controlla sche l'expansiun dal prompt è activada.
enable_safety_checkeropziunal
Tipboolean
Standardtrue
Activaziun da controlla da segirezza suttamessa als dretgs dal conto: ils controlls restan obligatorics per dumondas betg autorisadas, e la deactivaziun pretenda autorisaziun.
video_output_typeopziunal
Tipenum
StandardX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Tip d'output dal video resultà.
video_qualityopziunal
Tipenum
Standardhigh
lowmediumhighmaximum
Nivel da qualitad dal video resultà.
video_write_modeopziunal
Tipenum
Standardbalanced
fastbalancedsmall
Modus da scriver per il video resultà.
accelerationopziunal
Tipenum
Standardregular
noneregular
Nivel d'acceleraziun applitgà durant la generaziun video.
obligatori

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "longcat-video/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": 270,
    "usd": "0.27",
    "charged": 270,
    "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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
prompt
stringPrompt utilisà per generar l'output.
seed
integerValur da seed applitgada durant la generaziun.
video
object {url, content_type, file_name, file_size}Datoteca video producida da la generaziun.

Dapli models: Text a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/longcat-video/text-to-video/480p.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt