Call it
curl https://api.peume.com/v1/call/search-yandex-images \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/search-yandex-images", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-yandex-images",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"timeout": 50
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-yandex-images.
Parameters
yandex_domainstringYandex domain to search.
yandex.by · yandex.com · yandex.com.tr · yandex.kz · yandex.ru · yandex.uz
family_modestringSafe search: 0 off, 1 moderate, 2 strict.
pintegerPage number, starting at zero.
textstringImage search query; optional when url is provided.
widthintegerExact image width; requires height.
heightintegerExact image height; requires width.
file_typestringImage file type.
gifan · jpg · png
colorstringImage color filter.
black · blue · color · cyan · gray · green · orange · red · violet · white · yellow
orientationstringImage orientation.
horizontal · square · vertical
image_typestringImage content type.
clipart · demotivator · face · lineart · photo
sitestringLimit images to this source website.
recentbooleanOnly images appearing in the last seven days.
urlstringImage URL for reverse image search.
cropstringCrop coordinates: left;top;right;bottom, each between 0 and 1.
crop_idstringYandex uploaded image section ID; cannot be combined with crop.
tabstringReverse image search tab.
about · similar
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
