Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header. Note: A payment method is required to use the API.

Body

application/json

Request body for the Image Search API.

inputs
object[]
required

Multimodal input array. Currently only a single input is supported: either one text input or one image input.

Required array length: 1 element
count
integer
default:5

Number of results to return.

Required range: 1 <= x <= 10
include_domains
string[]

Domains to include, matched against each result's source_page URL.

Maximum array length: 10
exclude_domains
string[]

Domains to exclude, matched against each result's source_page URL.

Maximum array length: 10
safesearch
enum<string>
default:strict

Controls filtering of explicit/adult content. off disables filtering; strict drops all adult content.

Available options:
off,
strict

Response

Successful image search response

request_id
string
required

The unique identifier for this request.

code
integer

Business status code. 0 indicates success.

msg
string

A message describing the result.

data
object

The main response payload.

meta
object

Additional metadata for the Image Search request.