Image URL conversion
API Overview
- Convert image URL into a recognizable format for image search API
- See More
API URL
Request Parameters
Body
Content-Type: application/json
| Field | Type | Explanation | Required |
|---|---|---|---|
| url | string | Image URL to be converted | true |
| search_api_endpoint | string | API endpoint for image search. Default: /search/image. Supported endpoints: /search/image, /global/search/image, /global/search/image/v2 Default value: /search/image | false |
tip
The converted result is typically in image path format and can be directly used as a parameter for image search API
Security Auth
tip
Please go to Console-Account Center to get your apiToken.
Add your apiToken to the request parameters. Please refer to the examples below.
Request Example
- cURL
- Python
- JavaScript
- Java
- Go
- PHP
Response Example
- 200
- 417
- 422
- 439
- 499
- 500
- 503
Loading...