> ## 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.

# Restyle

Apply a current official style to the source video. Up to five character reference images are optional. Source audio is preserved within the processed segment. Actual output duration and FPS may vary by style.

First call [List styles](https://docs.gengen.farm/api-reference/higgsfield/genjutsu/styles.md), select an `items[].id`, and replace `REPLACE_WITH_CURRENT_STYLE_ID` below. Style IDs can change. Refresh the list if a style is unavailable; no style is substituted automatically.

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

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

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 Restyle](https://gengen.farm/api-explorer/demos/genjutsu?mode=restyle) · [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.