YOLOv8 Instance Segmentation is the segmentation variant of the YOLOv8 model developed by Ultralytics, released in January 2023 under the AGPL-3.0 license. It extends the standard YOLOv8 detection head with a mask prediction branch that generates pixel-level segmentation masks for each detected object using a prototype mask approach. This enables real-time instance segmentation within a single forward pass.
YOLOv8 Instance Segmentation shares the same backbone and neck architecture as the base detection model and is available in the same size range. It is deployable through Roboflow Inference and supports fine-tuning on custom COCO-format segmentation datasets. It is suited for applications requiring both object localization and precise mask prediction at real-time speeds.
Drag and drop an image here, or click to browse
Other models worth comparing for similar use cases.
License terms and commercial-use guidance for YOLOv8 Instance Segmentation.
This model is released under the GNU Affero General Public License v3.0 (AGPL-3.0), a strong copyleft license. Like GPL-3.0, derivative works must be released under the same license, and AGPL-3.0 extends this requirement to network deployment.
Commercial use is permitted under AGPL-3.0, but if you offer this model as part of a network service (such as a public API or web app), you must make the complete source code of your modified version available to all users of that service. Many commercial users prefer to acquire a separate license from the model authors to avoid this requirement.
AGPL-3.0 closes the "SaaS loophole" in GPL-3.0: even hosting the model behind an API counts as distribution and triggers the source-disclosure requirement.
To use YOLOv8 Instance Segmentation in a commercial project without the AGPL-3.0 conditions, you need a commercial license. As a paid Roboflow customer, you're automatically granted commercial-use rights for YOLOv8 Instance Segmentation models trained on or uploaded to our platform. See the Roboflow Licensing guide for the deployment-method by plan matrix.
If you're a free Roboflow customer, you can use YOLOv8 Instance Segmentation through our serverless hosted API at no cost. Self-hosted commercial use requires a paid plan.
License information is provided as a guide and is not legal advice.
YOLOv8 Instance Segmentation is a pretrained computer vision model for instance segmentation. Unlike a general vision language model, it returns structured predictions for its task rather than free text.
YOLOv8 Instance Segmentation comes in 5 sizes: Nano (1280×1280), Small (1280×1280), Medium (1280×1280), Large (1280×1280), XL (1280×1280). Smaller variants run faster on constrained hardware; larger ones trade speed for accuracy. You can switch sizes in the demo to compare them on the same image.
Yes. The demo on this page runs YOLOv8 Instance Segmentation in the free Roboflow Playground: upload an image and see results in seconds. A free account unlocks unlimited runs.