wind_sway
Make a pixel-art tree, bush, grass tuft or flower sway in the wind, like the Pixel Wind Sway tool on voidless.dev/tools. The bottom row is the base and never moves; pixels bend more the higher and further out they are. Whole pixels move (no blending), so every frame keeps the sprite's own colours. The sway loops seamlessly. Optional: a one-shot storm clip where leaves blow off and fade. Returns a GIF and a sprite sheet (frames in one row) for the loop, then the storm's GIF and sheet when asked. Images up to 2048x2048, 256 frames, 32 MB of input per call. Free: no credits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "wind_sway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| gust | No | How uneven the wind is | |
| save | No | Also save the result to your Voidless library (free, private) and return its asset id and cdn.voidless.dev URL, for passing to the next tool without base64 | |
| seed | No | Same seed, same animation | |
| image | Yes | An image: an https URL (e.g. a cdn.voidless.dev link from get_asset or a saved result), a library image key (assets/…png, as get_asset lists it), a data: URI, or base64 PNG/GIF. | |
| frames | No | ||
| flutter | No | Small ripples in the foliage | |
| strength | No | How far the top bends (1 = a quarter of the plant's height) | |
| direction | No | both = back and forth; left/right = leans that way and pulses | both |
| stiffness | No | Share of the height, from the base, that stays rigid | |
| leaf_storm | No | Also return a one-shot clip of the leaves blowing away | |
| storm_amount | No | Leaf storm: share of the outer foliage that blows off | |
| storm_frames | No |