Prijeđi na sadržaj

LongCat Video Distilled · Text to Video · 720p

Integriraj

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

Datoteke poput primjera: 0,054 $ 54 API kredita · ≈ 5,79 ₽ vaše se datoteke mjere prije pokretanja Pokreni na ovoj stranici

Nabavi API ključ
Meituan · Video

Vaš prvi rezultat bit će ovdje

Izradite zahtjev u nastavku i pokrenite ga svojim API ključem. Izlazi se kopiraju u našu pohranu i čuvaju zauvijek ili 7 dana besplatno.

Izradi zahtjev

Kontrole se generiraju iz sheme modela. Kôd i cijena ažuriraju se dok ih mijenjate.

•obavezno

Prompt koji usmjerava generiranje videozapisa.

aspect_ratio zadano 16:9

Omjer stranica izlaznog videa.

zadano 162

Broj sličica generiranog izlaza.

Napredno 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 zadano X264 (.mp4)

Vrsta izlaza rezultirajućeg videozapisa.

video_quality zadano high

Razina kvalitete rezultirajućeg videozapisa.

video_write_mode zadano balanced

Način zapisivanja rezultirajućeg videozapisa.

zadano 12

Broj izvedenih koraka inferencije.

zadano 12

Broj koraka inferencije izvedenih tijekom poboljšavanja.

zadano 30

Broj sličica u sekundi izlaznog videozapisa.

Vrijednost sjemena koja pokreće generiranje slučajnih brojeva.

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

Pokreni ovaj zahtjev

Vaš ključ ostaje u ovom pregledniku: šalje se samo Doitong API-ju i sprema u localStorage samo ako označite Zapamti. Nabavite API ključ

O modelu LongCat Video Distilled · Text to Video · 720p

Generira video iz teksta destiliranim modelom u 720p. I `num_inference_steps` i `num_refine_inference_steps` prihvaćaju vrijednosti od 2 do 16 (zadano 12). `aspect_ratio` je 16:9, 9:16 ili 1:1, `num_frames` kreće se od 17 do 961 (zadano 162), a fps je zadano 30. Izlaz može biti mp4, webm, ProRes mov ili GIF.

Parametri

NazivVrsta ZadanoDopušteno Opis
promptobavezno
Vrstastring
Prompt koji usmjerava generiranje videozapisa.
num_framesneobavezno
Vrstainteger
Zadano162
17 – 961
Broj sličica generiranog izlaza.
num_inference_stepsneobavezno
Vrstainteger
Zadano12
2 – 16
Broj izvedenih koraka inferencije.
num_refine_inference_stepsneobavezno
Vrstainteger
Zadano12
2 – 16
Broj koraka inferencije izvedenih tijekom poboljšavanja.
aspect_rationeobavezno
Vrstaenum
Zadano16:9
16:99:161:1
Omjer stranica izlaznog videa.
fpsneobavezno
Vrstainteger
Zadano30
1 – 60
Broj sličica u sekundi izlaznog videozapisa.
seedneobavezno
Vrstainteger | null
Vrijednost sjemena koja pokreće generiranje slučajnih brojeva.
enable_prompt_expansionneobavezno
Vrstaboolean
Zadanofalse
Određuje je li proširivanje prompta omogućeno.
enable_safety_checkerneobavezno
Vrstaboolean
Zadanotrue
Prekidač sigurnosne provjere podložan dopuštenjima računa: provjere ostaju obavezne za neautorizirane zahtjeve, a za njihovo isključivanje potrebna je autorizacija.
video_output_typeneobavezno
Vrstaenum
ZadanoX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Vrsta izlaza rezultirajućeg videozapisa.
video_qualityneobavezno
Vrstaenum
Zadanohigh
lowmediumhighmaximum
Razina kvalitete rezultirajućeg videozapisa.
video_write_modeneobavezno
Vrstaenum
Zadanobalanced
fastbalancedsmall
Način zapisivanja rezultirajućeg videozapisa.
obavezno

Izlaz

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"
  }
}
Vaše datoteke, vaš izborSvaki outputs[].url kopija je u našoj pohrani: čuva se zauvijek (naplaćuje se po GB-mjesecu) ili 7 dana besplatno, prema postavci računa ili ?storage=.
Isti oblik na svakom modelutype, url, content_type, width, height i duration za slike, videozapise i zvuk. output je vlastiti objekt rezultata modela.
Polja izlaza
prompt
stringPrompt koji je korišten za generiranje izlaza.
seed
integerVrijednost seeda primijenjena tijekom generiranja.
video
object {url, content_type, file_name, file_size}Video datoteka proizvedena generiranjem.

Više modela: Tekst u video

Za AI agente: ova je stranica u Markdownu dostupna na https://doitong.com/hr/developers/models/longcat-video/distilled/text-to-video/720p.md. Svi modeli i vodiči: https://doitong.com/developers/llms.txt