Call it
curl https://api.peume.com/v1/call/search-google-images-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q",
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/search-google-images-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q",
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-google-images-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q",
"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-google-images-3.
Parameters
qRequiredstringImage search query, up to 2,048 characters.
hlstringLanguage of the Google Images interface.
glstringTwo-letter country code used to localize results.
safestringSet active to filter explicit images, or off to disable SafeSearch.
active · off
tbsstringGoogle image filters, such as isz:l for large images, itp:photo for photographs, or ic:trans for transparent images.
licensestringLimit results to images Google lists under these usage rights. Use creative_commons for Creative Commons licenses, or commercial_and_other for commercial and other licenses such as stock photos. free_to_share: free to use or share.
commercial_and_other · creative_commons · free_to_modify · free_to_modify_commercially · free_to_share · free_to_share_commercially
startintegerGoogle's page offset. For the next page, use pagination.next_start from the response and keep the same query and filters. This offset is independent of num and the number of returned images.
numintegerMaximum number of images returned from this page, from 1 to 100. This limits the parsed response; Google may supply fewer images.
devicestringDevice profile used for the image search.
desktop · mobile · tablet
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
