Scan an image for its contents
scan_imageRuns the detection scan on a generation or asset (items, colors, textures, scene). Costs credits (see get_pricing); takes ~5-20s and returns when done. Results power search and get_detections. Usually unnecessary — every generation and import is scanned automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | Generation or asset id. | |
| target_type | No | Default generation. |