LongCat Video

LONGCAT_VIDEO

Video model (LongCat-Video, 13.6B) that makes a video of up to 3 seconds at 480p from a prompt, or from a prompt and a first picture, and can learn a style, subject or motion from your own short clips.

Video Generationtext-to-videoimage-to-videovideo-generationlongcatmitFine-tunable
LongCat Video: Video Generation model on Kainguru

About LongCat Video

Capabilities

  • Text to video — a prompt becomes an H.264 MP4 of up to 49 frames, 3.3 seconds at 15 frames per second
  • Image to video — give a picture and the video starts from it
  • Landscape or portrait — 832 x 480 or 480 x 832, the one closest to your picture; text to video takes the first unless you pick
  • Repeatable — the same seed and inputs give the same video
  • Fine-tuning — teach it a style, subject or kind of motion from 4 to 200 captioned clips

Good to know

  • You pay for generated frames, whatever playback rate you choose.
  • Leave the picture out and the video is made from the prompt alone. Pictures: PNG, JPEG or WebP, at least 16 pixels a side; the picture is the first frame, cropped to fill the video, so keep what matters near the middle.
  • Prompts work best in English or Chinese; other languages are untested.
  • A 13.6B video takes many minutes to make; fewer frames or fewer steps make it faster, and guidance 1 halves the time.
  • Without a negative prompt, the authors' default one is used: it steers away from overexposure, still frames, blur, captions and malformed hands and faces.
  • Training clips: MP4, MOV, WebM or MKV with H.264, H.265, VP8, VP9, AV1 or MPEG-4 video, at most 200 MB, 3840 pixels a side, 4K in all and 240 frames per second each.
  • Training uses the first 17 frames of each clip at 15 frames per second (about 1 second), cropped to fill 832 x 480 or 480 x 832, whichever is closest to the clip's shape; a clip must give at least 5 frames. Half of the training steps teach image to video, with the clip's first frame as the picture, and half text to video.
  • In the training ZIP, manifest.jsonl has one {"file": ..., "caption": ...} line per clip, paths relative to it and captions of at most 2000 characters; the manifest is at most 4 MB and the ZIP holds at most 1000 entries.
  • The LoRA rank is at most 32 for this model. Training takes hours; it stops after 9 hours and keeps what it has learned. A trigger word, if you set one, is put before every caption.

Attribution

LongCat-Video by Meituan (MIT), with the Wan 2.1 VAE (Apache-2.0) and umT5-XXL (Apache-2.0).

LongCat Video inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—What happens in the video: the scene, what moves and how, and how the camera moves.
1–2000 characters
fpsintegerNo15Playback rate of the MP4; the default is the model's own. It changes how long the video plays, not what it costs.
4–30
negative_prompttextNo—What the video should avoid; empty uses the model's default. Ignored at guidance 1.
Max 2000 characters
guidance_scalenumberNo4.0How closely the video follows the prompt; 1 turns guidance off and halves the time.
1–10
framesintegerNo49Number of frames: 5, 9, 13 and so on (a multiple of 4 plus 1). The video lasts frames / fps seconds; more frames take longer and cost more.
5–49
resolutiontextNo—Width x height in pixels, one of the sizes the model was trained at. Left empty, the size closest to the shape of the picture.
Allowed: 832x480, 480x832 · Max 9 characters
num_inference_stepsintegerNo40Denoising steps; fewer are faster and rougher.
1–50
imagefileNo—Optional: the picture the video starts from: PNG, JPEG or WebP, at most 50 MB and 16.8 megapixels. It is cropped to fill the video. Without one, the video is made from the prompt alone.
1–2048 characters · image/png, jpeg, webp
seedintegerNo—The same seed and inputs give the same video. Leave empty for a random seed.
0–2147483647

Output. Returns MP4 video: The generated video: an H.264 MP4 of frames / fps seconds, without sound.

Run LongCat Video with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=LONGCAT_VIDEO" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "example",
    "fps": 15,
    "frames": 49,
    "guidance_scale": 4.0,
    "num_inference_steps": 40
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "LONGCAT_VIDEO",
        {
          "prompt": "example",
          "fps": 15,
          "frames": 49,
          "guidance_scale": 4.0,
          "num_inference_steps": 40
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune LongCat Video

You can fine-tune LongCat Video on your own data and run the tuned model through the same API. Dataset: One ZIP (at most 4 GB, no password) with 4 to 200 video clips and a manifest.jsonl with one {"file": ..., "caption": ...} line per clip. More rules: Good to know, in the README.

The steps are in the docs.

LongCat Video pricing

Price per frame: 1.2232 credits ($0.012232). The price is shown again before every run; all prices are on the pricing page.

Licence and source

Wan 2.2 T2V A14B: Video Generation model on Kainguru
Video Generation

Wan 2.2 T2V A14B

Turn a prompt into a video of up to 3 seconds at 480p, and teach it a style, subject or motion from your own clips.

Fine-tunable
CogVideoX 2B: Video Generation model on Kainguru
Video Generation

CogVideoX 2B

Text-to-video model (CogVideoX 2B) that turns an English prompt into a 720 x 480 video of up to 6 seconds at 8 frames…

Fine-tunable
Fastwan 2 2 Ti2v 5B: Video Generation model on Kainguru
Video Generation

Fastwan 2 2 Ti2v 5B

FastWan 2.2 (5B): a short video clip from a text prompt, optionally continuing from a photo as the first frame.

StableAvatar: Video Generation model on Kainguru
Video Generation

StableAvatar

Talking-head video model (StableAvatar 1.3B) that makes a picture of a person speak or sing your recording, up to 8…

Fine-tunable
Wan 2.1 FLF2V 14B: Video Generation model on Kainguru
Video Generation

Wan 2.1 FLF2V 14B

First-and-last-frame video model (Wan 2.1 FLF2V 14B, served from a 5-bit build): joins two pictures with a clip of up…

Fine-tunable
Wan 2.1 Fun 1.3B InP: Video Generation model on Kainguru
Video Generation

Wan 2.1 Fun 1.3B InP

Image-to-video model (Wan 2.1 Fun, 1.3B) that animates a picture into a video of up to 5 seconds at 480p, optionally…

Fine-tunable