Op den Inhalt sprangen

LongCat Video Distilled · Text to Video · 720p

Integréieren

Modell-ID 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"

Dateie wéi am Beispill: 0,054 $ 54 API-Kreditter · ≈ 5,79 ₽ Är Dateie gi virun der Ausféierung gemooss Op dëser Säit ausféieren

API-Schlëssel kréien
Meituan Text zu Video Schnell

Destilléiert Text-zu-Video bei 720p mat Refinement-Schrëtt an engem Standard vun 30 fps

Meituan · Video

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

Prompt, deen d'Videogeneratioun dirigéiert.

aspect_ratio Standard 16:9

Aspektverhältnis vum Output-Video.

Standard 162

Frame-Zuel vum generéierten Output.

Erweidert 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 Standard X264 (.mp4)

Output-Typ vum resultéierende Video.

video_quality Standard high

Qualitéitsniveau vum resultéierende Video.

video_write_mode Standard balanced

Schreifmodus vum resultéierende Video.

Standard 12

Zuel vun den ausgeféierten Inferenzschrëtt.

Standard 12

Zuel vun den Inferenzschrëtt während der Verfeinerung.

Standard 30

Frame-Rate vum Output-Video.

Seed-Wäert, deen d'Generatioun vun Zoufallszuelen initialiséiert.

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

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer LongCat Video Distilled · Text to Video · 720p

Generéiert Video aus Text mat engem destilléierte Modell bei 720p. Souwuel `num_inference_steps` wéi `num_refine_inference_steps` akzeptéieren 2 bis 16 (Standard 12). `aspect_ratio` ass 16:9, 9:16 oder 1:1, `num_frames` geet vun 17 bis 961 (Standard 162), an fps ass standardméisseg 30. D'Ausgab kann mp4, webm, ProRes mov oder GIF sinn.

Parameteren

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
Prompt, deen d'Videogeneratioun dirigéiert.
num_framesoptional
Typinteger
Standard162
17 – 961
Frame-Zuel vum generéierten Output.
num_inference_stepsoptional
Typinteger
Standard12
2 – 16
Zuel vun den ausgeféierten Inferenzschrëtt.
num_refine_inference_stepsoptional
Typinteger
Standard12
2 – 16
Zuel vun den Inferenzschrëtt während der Verfeinerung.
aspect_ratiooptional
Typenum
Standard16:9
16:99:161:1
Aspektverhältnis vum Output-Video.
fpsoptional
Typinteger
Standard30
1 – 60
Frame-Rate vum Output-Video.
seedoptional
Typinteger | null
Seed-Wäert, deen d'Generatioun vun Zoufallszuelen initialiséiert.
enable_prompt_expansionoptional
Typboolean
Standardfalse
Steiert, ob d'Prompt-Erweiderung aktivéiert ass.
enable_safety_checkeroptional
Typboolean
Standardtrue
Schalter fir d'Sécherheetskontroll, ofhängeg vun de Kontorechter: Kontrollen bleiwen fir net autoriséiert Ufroe obligatoresch, an d'Deaktivéierung verlaangt Autorisatioun.
video_output_typeoptional
Typenum
StandardX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Output-Typ vum resultéierende Video.
video_qualityoptional
Typenum
Standardhigh
lowmediumhighmaximum
Qualitéitsniveau vum resultéierende Video.
video_write_modeoptional
Typenum
Standardbalanced
fastbalancedsmall
Schreifmodus vum resultéierende Video.
obligatoresch

Output

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
prompt
stringPrompt, dee fir d'Generatioun vum Output benotzt gouf.
seed
integerSeed-Wäert, deen während der Generatioun applizéiert gouf.
video
object {url, content_type, file_name, file_size}Video-Datei, déi duerch d'Generatioun erstallt gouf.

Méi Modeller: Text zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/longcat-video/distilled/text-to-video/720p.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt