FlowTool: Controlling Tool Parameter in Image Retouching via Flow Matching
Thanh-Long V. Le, Steven Walton, Seunghyun Yoon, Branislav Kveton, Trung Bui, Eunho Yang, Viet Lai
Abstract
Tool-based image editing (image retouching) is commonly formulated with autoregressive multimodal large language models (MLLMs) that sequentially generate reasoning, tool selections, and parameter values. In this work, we present a novel approach to tool-based image editing by framing the task as a flow matching problem. We introduce FlowTool, a framework that directly models the distribution of high-quality tool parameters conditioned on the input image and user instruction using conditional rectified flow. FlowTool combines a vision-language model backbone for multimodal understanding with a Diffusion Transformer parameter generator that transforms Gaussian noise into an editing plan. We train FlowTool with a two-stage supervised flow-matching curriculum, followed by reward-based post-training. Across four benchmarks, FlowTool significantly outperforms specialized MLLM agents and remains competitive with proprietary MLLMs, while reducing latency by at least and using nearly half the memory of the evaluated local baselines. These results demonstrate that tool-based image editing can be effectively modeled as conditional generation over structured continuous editing parameters, without autoregressive reasoning.
Create a lesson
Metadata
- Comments
- Under review
Related papers
FILIGREE3D: Scaling Sparse Latent Flow Matching for Ultra-High-Resolution Image-to-3D Generation
Shared title terminologycs.CVHongjie Li, Xinran Yang, Xiuchao Wu et al.
TIDE-Flow: Fine-Grained Temporal Evidence and Structured Displacement Matching for Spike Optical Flow
Shared title terminologycs.CVHanwen Liang, Wenxuan Liu, Wenxin Huang et al.
TaoFlowForge: Progressive Native Mesh Generation via Cascaded Flow Matching
Shared title terminologycs.CVXianze Fang, Qiyuan Feng, Dongfang Sun et al.
UltraMatch: Transport Path Routing for Ultra-Fast and Memory-Efficient Image Matching
Shared title terminologycs.CVJiajun Le, Yifan Lu, Zizhuo Li et al.
Attention-Scoped Guidance: Training-Free Spatial Control for Image Editing
Shared title terminologycs.CVZeyan Li, Wei Zhou, Hadi Amirpour et al.
Lagrangian--Hamiltonian Flows for Video Prediction and Image Generation: A Symplectic Perspective
Shared title terminologycs.CVJiawei Hu