Wan 2.2 Fun 5B Control

WAN_2_2_FUN_5B_CONTROL

Video-editing model (Wan 2.2 Fun Control, 5B): re-renders a control video of edge, depth or pose maps, or a rough render, as a new video of up to 121 frames at 720p in the look your prompt describes. It can learn from your clips.

Video Editingvideo-to-videovideo-editingcontrolwanapache-2.0Fine-tunable
Wan 2.2 Fun 5B Control: Video Editing model on Kainguru

About Wan 2.2 Fun 5B Control

Capabilities

  • Follow a control video — edge, depth or pose maps, or a rough render, set the motion and layout of the result
  • Prompt sets the look — describe the subject, style and setting; the video follows the structure of the maps
  • Reference picture — give one picture of the subject and its look carries through the video
  • 720p, 5 seconds — 1280 x 704 or 704 x 1280, up to 121 frames at 24 frames per second, the size closest to your video
  • Fine-tuning — teach it a style or subject from 4 to 100 pairs of a control clip and the clip it should become

Good to know

  • You pay for generated frames, whatever playback rate you choose.
  • Control video: MP4, MOV, WebM or MKV, at most 200 MB. You make the maps (Canny edges, depth, pose) with your own tools; the model reads the video as it is, at 24 frames per second, up to the frames you ask for (at most 121), and crops it to fill the size it picks.
  • Reference picture: PNG, JPEG or WebP, one picture, cropped to fill the video's size.
  • 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 both clips of a pair at 24 frames per second (about 2 seconds), cropped to fill 1280 x 704 or 704 x 1280, whichever is closest to the clips' shape; each clip must give all 49. A pair is trained with no reference picture and no first picture.
  • In the training ZIP, manifest.jsonl has one {"control": ..., "target": ..., "caption": ...} line per pair, paths relative to it and captions of at most 2000 characters: the target is the video the model should make from the control clip. 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 Control inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—What the video should show: the scene, what moves and how, and how the camera moves.
1–2000 characters
videofileYes—The control video: edges, depth or pose maps (or a rough render) of the motion and layout you want, as MP4, MOV, WebM or MKV, at most 200 MB. The video follows its structure; the prompt gives the look.
1–2048 characters · video/mp4, quicktime, webm, x-matroska
reference_imagesfile listNo—Optional: one picture (PNG, JPEG or WebP) of the subject whose look the video keeps, e.g. the person a pose video animates.
Max 1 characters · image/png, jpeg, webp
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 video.
Allowed: 1280x704, 704x1280 · Max 9 characters
num_inference_stepsintegerNo40Denoising steps; fewer are faster and rougher.
1–50
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
framesintegerNo121Most frames to use: 5, 9, 13 and so on (a multiple of 4 plus 1). A shorter video gives fewer. The result lasts frames / fps seconds; more frames take longer and cost more.
5–121
guidance_scalenumberNo6.0How closely the video follows the prompt; 1 turns guidance off and halves the time.
1–10
negative_prompttextNo—What the video should avoid; empty uses the model's default. Ignored at guidance 1.
Max 2000 characters

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

Run Wan 2.2 Fun 5B Control 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_CONTROL" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "example",
    "video": "https://example.com/input.png",
    "fps": 24,
    "frames": 121,
    "guidance_scale": 6.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(
        "WAN_2_2_FUN_5B_CONTROL",
        {
          "prompt": "example",
          "video": "https://example.com/input.png",
          "fps": 24,
          "frames": 121,
          "guidance_scale": 6.0,
          "num_inference_steps": 40
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune Wan 2.2 Fun 5B Control

You can fine-tune Wan 2.2 Fun 5B Control 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 100 pairs of video clips and a manifest.jsonl with one {"control": ..., "target": ..., "caption": ...} line per pair. More rules: Good to know, in the README.

The steps are in the docs.

Wan 2.2 Fun 5B Control 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 VACE 1.3B: Video Editing model on Kainguru
Video Editing

Wan 2.1 VACE 1.3B

Video-editing model (Wan 2.1 VACE, 1.3B): follows a control clip, redoes a masked area or the end of a clip, or puts…

Fine-tunable
ReCamMaster: Video Editing model on Kainguru
Video Editing

ReCamMaster

Video-editing model (ReCamMaster on Wan 2.1, 1.3B) that re-renders a clip along a new camera path: pan, tilt, zoom…

Fine-tunable
SVOR: Video Editing model on Kainguru
Video Editing

SVOR

Removes objects from a video. Send a clip and a mask video of what to remove, and it fills the area in, shadows and…

Fine-tunable
FILM: Video Editing model on Kainguru
Video Editing

FILM

Makes slow motion and higher frame rates by painting the frames between two frames, even when things move far between…

Fine-tunable
DeOldify Video: Video Editing model on Kainguru
Video Editing

DeOldify Video

Colourises black-and-white video with DeOldify's video model: plausible colour for every frame, laid over the original…

Fine-tunable
MODNet Video Matting: Video Editing model on Kainguru
Video Editing

MODNet Video Matting

Cuts people out of video with a soft alpha matte that keeps hair and fine edges, with no green screen and no…

Fine-tunable