Wan 2.2 Fun 5B Camera

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 while the camera pans, zooms or rolls as you choose. It can learn a style or motion from your own clips.

Video Generationimage-to-videovideo-generationcamera-controlwanapache-2.0Fine-tunable
Wan 2.2 Fun 5B Camera: Video Generation model on Kainguru

About Wan 2.2 Fun 5B Camera

Capabilities

  • Image to video — a picture and a prompt become an H.264 MP4 of up to 81 frames, 3.4 seconds at 24 frames per second
  • Camera moves — static, pan left, right, up or down (or diagonally), zoom in or out, rotate clockwise or anticlockwise
  • 720p — 1280 x 704 or 704 x 1280, 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, each optionally naming the camera move it makes

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 the first frame, cropped to fill the video, so keep what matters near the middle.
  • The camera follows one of the preset paths at a steady pace for the whole video: a pan moves it sideways or up and down, a zoom moves it forward or back, a rotation turns it about the viewing axis.
  • 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 24 frames per second (about 2 seconds), cropped to fill 1280 x 704 or 704 x 1280, 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; a line may add "camera": one of the camera names above (static, pan_left, pan_right, pan_up, pan_down, pan_left_up, pan_left_down, pan_right_up, pan_right_down, zoom_in, zoom_out, rotate_clockwise, rotate_anticlockwise) that the clip itself moves like, and a clip without one is trained with no camera information. 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.2 Fun 5B Camera inputs and output

NameTypeRequiredDefaultDetails
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
prompttextYes—What happens in the video: what moves and how, and how the camera moves.
1–2000 characters
seedintegerNo—The same seed and inputs give the same video. Leave empty for a random seed.
0–2147483647
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: 1280x704, 704x1280 · Max 9 characters
fpsintegerNo24Playback 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
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
cameratextNostaticHow the camera moves while the video plays: static, a pan (left, right, up, down or diagonally), a zoom in or out, or a roll about the viewing axis.
Allowed: static, pan_left, pan_right, pan_up, pan_down, pan_left_up, pan_left_down, pan_right_up, pan_right_down, zoom_in, zoom_out, rotate_clockwise, rotate_anticlockwise · Max 24 characters
guidance_scalenumberNo6.0How closely the video follows the prompt; 1 turns guidance off and halves the time.
1–10
num_inference_stepsintegerNo50Denoising steps; fewer are faster and rougher.
1–50

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

Run Wan 2.2 Fun 5B Camera 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_2_FUN_5B_CAMERA" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image": "https://example.com/input.png",
    "prompt": "example",
    "camera": "static",
    "fps": 24,
    "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_2_FUN_5B_CAMERA",
        {
          "image": "https://example.com/input.png",
          "prompt": "example",
          "camera": "static",
          "fps": 24,
          "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.2 Fun 5B Camera

You can fine-tune Wan 2.2 Fun 5B Camera 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": ..., "camera": ...} line per clip, the camera optional. More rules: Good to know, in the README.

The steps are in the docs.

Wan 2.2 Fun 5B Camera 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.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
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