# Google Vision Integration via LowCodeAPI
## Overview
Google Vision API provides powerful image analysis capabilities. Detect faces, labels, text, landmarks, logos, and explicit content in images.
## Base Endpoint
```
https://api.lowcodeapi.com/googlevision/
```
## Authentication
LowCodeAPI handles authentication automatically using OAuth2.0 credentials.
**Auth Type**: OAuth2.0
## Common Endpoints
### Category: Images
#### Annotate Image
**Method**: `POST` | **LowCodeAPI Path**: `/v1/images:annotate`
**Full URL**:
```
https://api.lowcodeapi.com/googlevision/v1/images:annotate?api_token={api_token}
```
**Description**: Runs image detection and annotation
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `api_token` | string | Yes | Your LowCodeAPI authentication token |
**Body Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requests` | array | Yes | Image annotation requests |
| `requests[].image` | object | Yes | Image to process (content or source) |
| `requests[].features` | array | Yes | Features to detect |
**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/googlevision/v1/images:annotate?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"requests": [
{
"image": {
"source": {
"imageUri": "gs://bucket/image.jpg"
}
},
"features": [
{"type": "LABEL_DETECTION", "maxResults": 5},
{"type": "TEXT_DETECTION"}
]
}
]
}'
```
---
## Usage Examples
### Example 1: Image Analysis
```bash
# Analyze image for labels and text
# No ID required - processes image by URI or base64 content
curl -X POST "https://api.lowcodeapi.com/googlevision/v1/images:annotate?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"requests": [
{
"image": {
"source": {"imageUri": "https://example.com/image.jpg"}
},
"features": [
{"type": "LABEL_DETECTION"},
{"type": "TEXT_DETECTION"},
{"type": "FACE_DETECTION"}
]
}
]
}'
```
## Complete Endpoint Reference
- **Official Documentation**: [https://developers.google.com/vision](https://developers.google.com/vision)