Op den Inhalt sprangen

LongCat Video · Text to Video · 720p

Integréieren

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

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

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

Text-zu-Video bei 720p mat enger Refinement-Etapp, standardméisseg 30 fps an dräi Bildverhältnisser

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

Negative Prompt fir d'Generatioun vum Video.

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.

acceleration Standard regular

Beschleunigungsniveau während der Videogeneratioun.

Standard 40

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

Standard 40

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

Standard 4

Guidance-Skala bei der Generatioun vum Video.

Standard 30

Frame-Rate vum Output-Video.

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

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

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

Erstellt e Video aus engem Prompt a füügt eng Verfeinerungsphas dobäi, déi mat `num_refine_inference_steps` (8 bis 50) agestallt gëtt. `aspect_ratio` ass 16:9, 9:16 oder 1:1, an `num_frames` geet vun 17 bis 961 (Standard 162) bei standardméisseg 30 fps. Et akzeptéiert och en Negativ-Prompt an `guidance_scale` vun 1 bis 10. Den Output kann mp4, webm, ProRes mov oder GIF sinn.

Parameteren

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
Prompt, deen d'Videogeneratioun dirigéiert.
negative_promptoptional
Typstring
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
Negative Prompt fir d'Generatioun vum Video.
num_framesoptional
Typinteger
Standard162
17 – 961
Frame-Zuel vum generéierten Output.
num_inference_stepsoptional
Typinteger
Standard40
8 – 50
Zuel vun den Inferenzschrëtt während der Videogeneratioun.
num_refine_inference_stepsoptional
Typinteger
Standard40
8 – 50
Zuel vun den Inferenzschrëtt während der Verfeinerung.
guidance_scaleoptional
Typnumber
Standard4
1 – 10
Guidance-Skala bei der Generatioun vum Video.
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.
accelerationoptional
Typenum
Standardregular
noneregular
Beschleunigungsniveau während der Videogeneratioun.
obligatoresch

Output

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"
  }
}
Ä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/text-to-video/720p.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt