Call it
curl https://api.peume.com/v1/call/search-yahoo-images-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"p": "your p",
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/search-yahoo-images-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"p": "your p",
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-yahoo-images-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"p": "your p",
"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-yahoo-images-2.
Parameters
pRequiredstringText or search operators to send to Yahoo.
yahoo_domainstringYahoo regional search host, for example fr.search.yahoo.com. A regional prefix such as fr is also accepted.
bintegerOne-based starting result. Web pages usually advance by 10; image pages usually advance by 60.
devicestringDevice profile used for the Yahoo result page.
desktop · mobile · tablet
imgszstringImage size category; wallpaper selects extra-large images.
large · medium · small · wallpaper
imgcstringSelect color images, monochrome images (bw), or a dominant color.
black · blue · brown · bw · color · gray · green · orange · pink · purple · red · teal …
imgtystringImage style or format to include.
clipart · gif · linedrawing · photo · transparent
imgastringImage shape: square, landscape (wide), or portrait (tall).
square · tall · wide
imgfstringPeople filter: faces, head-and-shoulders portraits, or images without people.
face · nonportrait · portrait
imgtstringLimit images to a recent day, week, month, or year.
day · month · week · year
imglstringUsage-rights category: Creative Commons (cc), public domain (pd), sharing (fsu), commercial sharing (fsuc), modification (fmsu), or commercial modification (fmsuc).
cc · fmsu · fmsuc · fsu · fsuc · pd
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
