Get an image the buyer is entitled to
fulfil_imageDeliver an image to the signed-in buyer, spending the image's price in credits (price.credits in search_images and get_image — often 1, sometimes more) if they do not already own it. Credits buy the personal license only; the commercial license is bought with create_checkout, and this then delivers it. If they DO already own it this is free and always will be — use it freely for re-downloads, and for a fresh download link. The purchased image comes as two links, both as the photographer framed it, uncropped: download_url, 2560px WebP on the long side, which a phone or desktop fits to its own screen as a wallpaper; and print_url, the original file at full resolution (often 10–35 MB), for printing (null when unavailable). Give the person both; they expire at download_expires_at, a day out, and their account page (account_url in get_account) lists every image they own with fresh links. The picture returned inline is a 1200px copy to show them what they got. Pass full_image: true to have the full file inline as well — often 1–3 MB — only if you can accept a result that large and save it yourself. Confirm the price with the person before spending credits. An image bought wholly with free-trial credits is the screen file only: print_url is null, print_included false, and print_offer says what the print costs — the full price again, in paid credits. With the person's agreement, call again with buy_print: true to spend them (or create_checkout kind=one_off to pay by card). After a card checkout for this image it spends nothing: it answers payment_pending until the payment lands, then delivers. Requires sign-in.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listing_id": "<listing_id>"
},
"name": "fulfil_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buy_print | No | For an image the free trial bought (print_included false): buy its print file, spending print_offer.credits of PAID credit. Only with the person's agreement. | |
| full_image | No | Also return the full 2560px file inline. Large; see the description. | |
| listing_id | Yes | ||
| abandon_checkout | No | Only after payment_pending, and only when the person has said they will not pay by card: cancels the open payment link and spends credits instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | Yes | ||
| licence | Yes | ||
| paid_by | Yes | ||
| file_name | Yes | ||
| print_url | Yes | ||
| listing_id | Yes | ||
| print_offer | Yes | ||
| download_url | Yes | ||
| photographer | Yes | ||
| already_owned | Yes | ||
| credits_spent | Yes | ||
| source_pixels | Yes | ||
| entitlement_id | No | ||
| print_included | Yes | ||
| credits_remaining | Yes | ||
| download_expires_at | Yes |