removedInput schema / properties / after_date
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Only return photos published on or after this date, formatted YYYY-MM-DD."
-}
removedInput schema / properties / color_name
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Keep only photos whose dominant color matches one of: red, orange, yellow, green, blue, purple, pink, brown, black, white, gray, teal, beige, gold, navy. Cannot be combined with color_hex."
-}
removedInput schema / properties / cursor
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Token to fetch the next page. Take `pagination.next_cursor` from a previous response and pass it back here — no need to re-upload the image. See the Pagination guide."
-}
addedInput schema / properties / english_search_sentence
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 250,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Optional, and usable with any reference. Send the words that say what the user wants from the reference: with a `photo_id`, the words that photograph was found under, so the results stay on the subject they asked for; with an image, what they want changed or kept from it (“like this but at night”). The reference stays the main signal and these words adjust it. With an image, send the change alone (“at night”) rather than the whole scene rewritten, which would outweigh the picture instead of adjusting it; with a `photo_id`, the full sentence that photograph was found under is what to send. In English, like the sentence of a text search. The words a reference photograph was found under are the best ones. When it is unclear whether they want the same subject or simply the same look, send the words: staying on the subject is the safer default. Omit them only when they plainly want photographs that look like the picture itself."
+}
addedInput schema / properties / explicit_orientation_filter
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "enum": [
+ "landscape",
+ "portrait",
+ "square"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Omit this parameter unless the user explicitly asks for a photo shape or orientation in their own words, or names a format whose shape is part of its definition — a vertical Short, a banner, a square post, a phone wallpaper.\n\nThis is a hard filter, not a preference: it removes photos with other shapes before ranking, so using a shape the user did not request can exclude the best matches.\n\nNever infer the shape from the reference image the user gave — its shape is a property of the picture they had, not a constraint on the ones they want — nor from the subject, the composition, or a purpose that fixes no shape (“a photo for my blog post”, “something for my landing page”). If you are choosing a value rather than repeating one explicitly requested by the user, omit it.\n\nAllowed values: `landscape`, `portrait`, `square`. Multiple values are allowed: two shapes return more than one alone, though any filter still returns less than none. For example, “anything but portrait” means `['landscape', 'square']`."
+}
changedInput schema / properties / image_base64 / description
Previous value: -"The reference image as base64 bytes, optionally as a `data:` URL. For a client that already holds the bytes; prefer `image_url` when a link exists."New value: +"Reference image as base64-encoded bytes, optionally as a data: URL. Use for programmatic clients that already hold the image data."
changedInput schema / properties / image_file / description
Previous value: -"Filled in by the host when the user uploads an image, not by the caller. Carries the upload's `download_url` and `file_id`."New value: +"The user's uploaded image, as a host that passes uploads to tools provides it: the upload's `download_url` and `file_id`. A picture that is only visible in the conversation has neither."
changedInput schema / properties / image_url / description
Previous value: -"Public http(s) URL of the reference image. Reuse the `image_url` of a photo from a previous search result, or any public URL the user provides."New value: +"Public http(s) URL pointing directly to the reference image file, including a URL the user pasted in the conversation. For a photograph Pexafy returned, send its `photo_id` instead."
removedInput schema / properties / license_type
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Keep only photos with these license types: free, cc0. 'free' means the photo can be used freely and attribution is appreciated. Repeat the parameter to pass several."
-}
removedInput schema / properties / orientation
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Keep only photos with these shapes: landscape, portrait, square. Repeat the parameter to pass several."
-}
addedInput schema / properties / photo_id
Added value: +{
+ "anyOf": [
+ {
+ "examples": [
+ "019e1ecb-0039-7da6-b1ca-987ee4d337c0"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The photo_id of the Pexafy reference photo, copied from the result the user or assistant is referring to. It is a UUID such as `019e1ecb-0039-7da6-b1ca-987ee4d337c0`. Use it instead of an image when the reference is a Pexafy photo returned in an earlier search, and pass the words of that search in `english_search_sentence` if needed."
+}
removedInput schema / properties / photographer
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Only return photos from this photographer's exact username."
-}
removedInput schema / properties / q
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Your search query as a full natural-language sentence describing the scene you want — Pexafy is semantic, so sentences beat keywords. Up to 500 characters. Optional if you provide at least one filter instead. Example: 'an old man sitting at a café table he has visited every morning for thirty years'."
-}
removedInput schema / properties / source
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Keep only photos from these providers: Unsplash, Pexels, Pixabay, Kaboompics, Burst, StockSnap, Picjumbo, Skitterphoto, NegativeSpace. Repeat the parameter to pass several."
-}
removedInput schema / properties / text_alpha
Removed value: -{
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Balance between your text and the image when both are provided, from `0` to `10`. `0` ignores the text (pure visual search), `1.7` (the default) is balanced, and higher values give your words more weight. Has no effect without `q`."
-}
addedOutput schema / properties / budget
Added value: +{
+ "description": "Present only when the caller is near the end of an allowance — the daily one without an account, the monthly one with. What is left of it, and, for a caller with no account, the one sentence that says what lifts the limit. Also carried by a refusal, where it describes the wall itself.",
+ "properties": {
+ "limit": {
+ "description": "Searches allowed in that period.",
+ "type": "integer"
+ },
+ "message": {
+ "description": "The whole notice in words, for a host with no UI.",
+ "type": "string"
+ },
+ "remaining": {
+ "description": "Searches left in that period.",
+ "type": "integer"
+ },
+ "scope": {
+ "description": "Which allowance this counts: the daily one or the monthly one. Both exist with or without an account, so `signed_in` does not tell them apart.",
+ "enum": [
+ "day",
+ "month"
+ ],
+ "type": "string"
+ },
+ "signed_in": {
+ "description": "Whether the caller has an account. False is the anonymous allowance.",
+ "type": "boolean"
+ },
+ "state": {
+ "description": "`warning` while there is room left, `exhausted` once there is none.",
+ "enum": [
+ "warning",
+ "exhausted"
+ ],
+ "type": "string"
+ },
+ "used": {
+ "description": "Searches spent in that period.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+}
changedOutput schema / properties / data / items / description
Previous value: -"A photo result. Fields returned can be narrowed with the `fields` parameter and may depend on your plan."New value: +"One photograph of this answer."
changedOutput schema / properties / data / items / properties / attribution / description
Previous value: -"Ready-to-display credit for the photographer/source."New value: +"The credit line to display, already written."
removedOutput schema / properties / data / items / properties / attribution / properties / html
Removed value: -{
- "description": "HTML attribution snippet.",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / blur_hash
Removed value: -{
- "description": "BlurHash placeholder string.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / color_hex
Removed value: -{
- "description": "Dominant color hex code.",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / color_name
Removed value: -{
- "description": "Dominant color name.",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / description
Removed value: -{
- "description": "AI-generated caption.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / image_url
Removed value: -{
- "description": "Canonical source image URL.",
- "format": "uri",
- "type": "string"
-}
addedOutput schema / properties / data / items / properties / orientation / description
Added value: +"The shape of this photograph — `landscape`, `portrait` or `square`, the values `explicit_orientation_filter` takes."
removedOutput schema / properties / data / items / properties / photographer_url
Removed value: -{
- "format": "uri",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / photographer_username
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / data / items / properties / rank
Added value: +{
+ "description": "This photograph's place in this answer, from 1. A person may name a result by position (“the second one”); the tools take that result's `photo_id`, not its rank.",
+ "type": "integer"
+}
removedOutput schema / properties / data / items / properties / relevance_score
Removed value: -{
- "description": "Match score 0–1 (higher is better). Only on search results.",
- "type": [
- "number",
- "null"
- ]
-}
removedOutput schema / properties / data / items / properties / source_description
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
changedOutput schema / properties / data / items / properties / source_image_url / description
Previous value: -"URL of the photo's page on the provider."New value: +"The photograph's page on the library it came from — where to send someone who wants the source."
removedOutput schema / properties / data / items / properties / uploaded_on
Removed value: -{
- "description": "Publication date (YYYY-MM-DD).",
- "type": [
- "string",
- "null"
- ]
-}
changedOutput schema / properties / data / items / properties / urls / description
Previous value: -"Ready-to-use image links in five sizes."New value: +"The photograph's image file, 1280 pixels wide, for a page, a document or a download. `urls` carries this one variant and no other."
removedOutput schema / properties / data / items / properties / urls / properties / full
Removed value: -{
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / urls / properties / large
Removed value: -{
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / urls / properties / small
Removed value: -{
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / data / items / properties / urls / properties / thumb
Removed value: -{
- "format": "uri",
- "type": "string"
-}
changedOutput schema / properties / error / anyOf
Previous value: -[
- {
- "properties": {
- "code": {
- "description": "Machine-readable error code (e.g. `MISSING_PARAMS`, `PHOTO_NOT_FOUND`).",
- "type": "string"
- },
- "message": {
- "description": "Human-readable error message.",
- "type": "string"
- },
- "request_id": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code (e.g. `MISSING_PARAMS`, `PHOTO_NOT_FOUND`).",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable error message.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / meta
Removed value: -{
- "properties": {
- "request_id": {
- "description": "Unique id for this request (quote it in support tickets).",
- "type": "string"
- },
- "took_ms": {
- "description": "Server processing time in milliseconds.",
- "type": "number"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / notice
Added value: +{
+ "description": "Why this answer is empty, when it is. A plan limit was reached: the allowance and when it returns. There is nothing to retry until then.",
+ "type": "string"
+}
removedOutput schema / properties / pagination
Removed value: -{
- "anyOf": [
- {
- "properties": {
- "has_more": {
- "description": "Whether another page exists.",
- "type": "boolean"
- },
- "next_cursor": {
- "description": "Pass back as `cursor` for the next page; `null` when `has_more` is false.",
- "type": [
- "string",
- "null"
- ]
- },
- "per_page": {
- "description": "Number of items per page.",
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
-}