You're looking at a specific version of this model. Jump to the model overview.

ultralytics /yolov8s-worldv2:fae5476f

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image
conf
number
0.25

Max: 1

Confidence threshold
iou
number
0.45

Max: 1

IoU threshold for NMS
imgsz
None
640
Image size
class_names
string
person, bus, sign
Comma-separated list of class names to filter results (e.g., 'person, bus, sign') You can also leave it empty to detect classes automatically.
return_json
boolean
False
Return detection results as JSON

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'description': 'Output model for predictions.',
 'properties': {'image': {'format': 'uri', 'title': 'Image', 'type': 'string'},
                'json_str': {'title': 'Json Str', 'type': 'string'}},
 'title': 'Output',
 'type': 'object'}