Wan 2.1 Fun 1.3B InP

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 ending on a second picture, and can learn a style or motion from your own short clips.

Video Generationimage-to-videovideo-generationwanapache-2.0Fine-tunable
Wan 2.1 Fun 1.3B InP: Video Generation model on Kainguru

About Wan 2.1 Fun 1.3B InP

Capabilities

  • Image to video — a picture and a prompt become an H.264 MP4 of up to 81 frames, 5 seconds at 16 frames per second
  • Start and end pictures — give a second picture and the video ends on it
  • Landscape, portrait or square — 832 x 480, 480 x 832 or 640 x 624, the one closest to your picture
  • 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.
  • Pictures: PNG, JPEG or WebP, at least 16 pixels a side. The picture is cropped to fill the video, so keep what matters near the middle.
  • Prompts work best in English or Chinese; other languages are untested.
  • A video takes minutes to make; fewer frames, fewer steps or guidance 1 make it faster.
  • Without a negative prompt, Wan's default one is used: it steers away from oversaturated colour, 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 49 frames of each clip at 16 frames per second (about 3 seconds), cropped to fill 832 x 480, 480 x 832 or 640 x 624, whichever is closest to the clip's shape; a clip must give at least 5 frames. The first frame of every clip is the picture the model learns to animate.
  • 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.
  • Training stops after 9 hours and keeps what it has learned. A trigger word, if you set one, is put before every caption.

Wan 2.1 Fun 1.3B InP inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—What happens in the video: what moves and how, and how the camera moves.
1–2000 characters
imagefileYes—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.
1–2048 characters · image/png, jpeg, webp
guidance_scalenumberNo6.0How closely the video follows the prompt; 1 turns guidance off and halves the time.
1–10
end_imagefileNo—Optional: a picture the video ends on, with the same limits. The model works out the motion from the first picture to this one.
1–2048 characters · image/png, jpeg, webp
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, 640x624 · Max 9 characters
framesintegerNo81Number 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–81
seedintegerNo—The same seed and inputs give the same video. Leave empty for a random seed.
0–2147483647
negative_prompttextNo—What the video should avoid; empty uses the model's default. Ignored at guidance 1.
Max 2000 characters
num_inference_stepsintegerNo50Denoising steps; fewer are faster and rougher.
1–50
fpsintegerNo16Playback rate of the MP4; the default is the model's own. It changes how long the video plays, not what it costs.
4–30

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

Run Wan 2.1 Fun 1.3B InP 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=WAN_2_1_FUN_1_3B_INP" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image": "https://example.com/input.png",
    "prompt": "example",
    "fps": 16,
    "frames": 81,
    "guidance_scale": 6.0,
    "num_inference_steps": 50
  },
  "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(
        "WAN_2_1_FUN_1_3B_INP",
        {
          "image": "https://example.com/input.png",
          "prompt": "example",
          "fps": 16,
          "frames": 81,
          "guidance_scale": 6.0,
          "num_inference_steps": 50
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune Wan 2.1 Fun 1.3B InP

You can fine-tune Wan 2.1 Fun 1.3B InP 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.

Wan 2.1 Fun 1.3B InP pricing

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

Licence and source

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.2 Fun 5B Camera: Video Generation model on Kainguru
Video Generation

Wan 2.2 Fun 5B Camera

Camera-controlled image-to-video model (Wan 2.2 Fun, 5B): animates a picture into a video of up to 81 frames at 720p…

Fine-tunable
Wan 2.2 I2V A14B: Video Generation model on Kainguru
Video Generation

Wan 2.2 I2V A14B

Image-to-video model (Wan 2.2 A14B, two 14B experts, served from a 5-bit build): animates a picture into a video of up…

Fine-tunable
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
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.

InfiniteTalk: Video Generation model on Kainguru
Video Generation

InfiniteTalk

Talking-head video model (InfiniteTalk 14B, from an 8-bit build) that makes a picture of a person speak or sing your…

Fine-tunable