u
This commit is contained in:
@@ -10,6 +10,10 @@ transparent border margins, resizes to max 1000px, and returns the AVIF image.
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `url` | yes | string | Absolute HTTP/HTTPS URL of the image to crawl |
|
||||
|
||||
```json
|
||||
{
|
||||
"url": "https://example.com/logo.png"
|
||||
|
||||
@@ -15,6 +15,14 @@ results via Server-Sent Events (`text/event-stream`).
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `q` | yes | string | Image search query (e.g. "Purize logo") |
|
||||
| `gl` | no | string | Country code |
|
||||
| `hl` | no | string | Language code |
|
||||
| `num` | no | integer | Number of search results to fetch |
|
||||
| `preferSource` | no | boolean | Whether to prefer downloading from the full imageUrl before falling back to Google thumbnailUrl |
|
||||
|
||||
```json
|
||||
{
|
||||
"q": "Purize logo",
|
||||
|
||||
Reference in New Issue
Block a user