Search the image catalogue
search_imagesFind images for sale by description, mood, colour or subject — a plain description of the feeling or scene works as well as a keyword, so pass what the person actually said. Give target_width and target_height when the image is destined for a specific screen — results are then ranked by how close each frame is to that shape, and frames whose shape is badly wrong for it (a landscape frame for a phone) are left out. Images are sold as the photographer framed them, never cropped. Returns a preview of each image. Use get_image for one listing you already have the id of; use list_collections to browse rather than search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Free text: subject, mood, colour, setting. | |
| cursor | No | next_cursor from the previous page, unchanged, with the same query and filters. Cannot be combined with target_width/target_height. | |
| licence | No | "commercial" for only the images that can be licensed for business use. Every image has the personal license. | |
| orientation | No | ||
| target_width | No | Destination width in pixels, e.g. 1290 for an iPhone. Give both or neither. | |
| collection_id | No | Restrict to one collection from list_collections. | |
| target_height | No | Destination height in pixels, e.g. 2796. Give both or neither. | |
| include_previews | No | Set false for metadata only, which is much cheaper. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| next_cursor | Yes |