upscale_image
Increase an existing image's resolution with SeedVR2 by setting the target short-edge size, then save the result to an output directory.
Instructions
Upscale an existing image with SeedVR2.
resolution sets the target short edge in pixels, not the long one:
mflux scales by resolution / min(width, height). For a 1024x640 image,
resolution=1500 gives 2400x1500. Roughly 130s on an M3 Max.
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_path": "<image_path>",
"out_dir": "<out_dir>"
},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stem | No | upscaled | |
| out_dir | Yes | ||
| project | No | ||
| image_path | Yes | ||
| resolution | No |