Actions40
- AI Actions
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Generate Actions
- Operator Actions
- PDF Actions
- Storage Actions
Overview
The AI: Picture Object Recognition operation in the 0-CodeKit node analyzes an image from a provided URL and identifies objects within that image. This is useful for automating tasks such as categorizing images, detecting items in photos, or building workflows that react to visual content. For example, you could use this node to process incoming product images and automatically tag them based on detected objects.
Properties
| Name | Meaning |
|---|---|
| URL | URL of the image you want to analyse |
Output
The output will be a JSON object containing the results of the object recognition analysis. While the exact structure depends on the underlying service, it typically includes:
- A list of detected objects
- Each object may have properties such as name/label, confidence score, and bounding box coordinates
Example output (structure may vary):
{
"objects": [
{
"name": "cat",
"confidence": 0.98,
"boundingBox": { "x": 34, "y": 56, "width": 120, "height": 80 }
},
{
"name": "sofa",
"confidence": 0.87,
"boundingBox": { "x": 10, "y": 200, "width": 300, "height": 150 }
}
]
}
Dependencies
- API Key: Requires credentials named
codeKitApito be configured in n8n. - External Service: Relies on the CodeKit API for processing the image and recognizing objects.
Troubleshooting
Common Issues:
- Invalid Image URL: If the provided URL is not accessible or does not point to a valid image, the node may return an error.
- Missing Credentials: If the
codeKitApicredential is not set up, the node will fail to authenticate. - API Limitations: The external service may have rate limits or restrictions on image size/type.
Error Messages:
"error": "Request failed with status code 401"– Check your API credentials."error": "Invalid image URL"– Ensure the URL is correct and publicly accessible."error": "Unsupported image format"– Use standard image formats like JPG or PNG.
Links and References
- n8n Documentation: Credentials
- CodeKit API Documentation (link to actual API docs if available)
- n8n Community Forum