> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gengen.farm/llms.txt
> Use this file to discover all available pages before exploring further.

# Motion Transfer

Transfer motion from the source video to the subject shown in the reference images. Provide 1–8 reference images.

Submit this JSON to `POST /v1/contents/generations/tasks`:

```json theme={"dark"}
{
  "model": "higgsfield-genjutsu",
  "mode": "motion_transfer",
  "prompt": "",
  "assets": {
    "sourceVideo": "https://example.com/source.mp4",
    "referenceImages": [
      "https://example.com/reference.png"
    ]
  },
  "controls": {
    "resolution": "720p"
  }
}
```

Source videos must be at least 4 seconds. Only the first 30 seconds are processed. Choose `480p`, `720p`, or `1080p`; omit duration, ratio, FPS, and audio controls.

[Create a task](https://docs.gengen.farm/api-reference/higgsfield/genjutsu/create-task.md) · [Try Motion Transfer](https://gengen.farm/api-explorer/demos/genjutsu?mode=motion_transfer) · [Limits and billing](https://docs.gengen.farm/api-reference/higgsfield/genjutsu/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.