Segment Anything Model 2 Image to Image
fal-ai/sam2/auto-segment
SAM 2 is a model for segmenting images automatically. It can return individual masks or a single mask for the entire image.
Inference
Partner
Commercial use
Input
Hint: you can drag and drop file(s) here, or provide a base64 encoded data URL Accepted file types: jpg, jpeg, png, webp

Additional Settings
Customize your input with more control.
Result
Idle
Waiting for your input...
Loading pricing info...
Logs
Related Models
fal-ai/hyper-sdxl/inpainting
image-to-image
Hyper-charge SDXL's performance and creativity.
diffusion
fal-ai/recraft-clarity-upscale
image-to-image
Enhances a given raster image using 'clarity upscale' tool, increasing image resolution, making the image sharper and cleaner.
upscaling
fal-ai/evf-sam
image-to-image
EVF-SAM2 combines natural language understanding with advanced segmentation capabilities, allowing you to precisely mask image regions using intuitive positive and negative text prompts.
new
segmentation
mask