---
title: "Search for free stock photos on Unsplash"
method: POST
path: "/ai/search-image"
tags: ["AI"]
---

# Search for free stock photos on Unsplash

`POST /ai/search-image`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/ai/search-image`
- Auth: HTTP bearer

## Request body

- object
  - `query` string, required: Search query (e.g., "dental clinic", "hair salon")
  - `industry` string: Industry name (auto-mapped to better search query)
  - `orientation` 'landscape' | 'portrait' | 'squarish'
  - `color` 'black_and_white' | 'black' | 'white' | 'yellow' | 'orange' | 'red' | 'purple' | 'magenta' | 'green' | 'teal' | 'blue'

## Response `200`

Image found successfully

- object
  - `imageUrl` string
  - `photographer` string
  - `photographerUrl` string

## Other responses

- `400`: Missing query
- `429`: Rate limit exceeded
- `500`: Search failed

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
