实时镜头数据 API

通过 Google Lens 按图像搜索 - 获取视觉匹配 产品 精确匹配 文字(OCR)作业 知识图谱 二维码信息等
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

实时镜头数据API是一个维护良好的快速和全面的工具,它将视觉图像搜索功能与强大的功能套件如光学字符识别和句子及单词级文本识别相结合。此外,它利用谷歌的知识图谱,使应用程序能够基于提供的视觉输入即时访问上下文相关的信息和洞察。支持查找图像来源(即反向图像搜索)等更多功能

API 文档

端点


通过网址搜索图像并获取视觉匹配、知识图谱和网上找到的产品。请在 [Google Lens](https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fi.imgur.com%2FHBrB8p0.png) 上查看其实际效果。



                                                                            
GET https://www.zylalabs.com/api/7336/real-time+lens+data+api/11642/image+search
                                                                            
                                                                        

图像搜索 - 端点功能

对象 描述
url [必需] URL of an image with which to perform the search.
query 可选 Search query to further refine the results.
language 可选 Set the language of the results (Google's hl parameter). Default: en Allowed values: 2-letter language code, see ISO 639-1
country 可选 Set the country for the search (Google's gl parameter). Default: us Allowed values: 2-letter country code, see ISO 3166
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
	"status": "OK",
	"request_id": "90b31529-5e21-46ab-982b-060ad9f2f56e",
	"parameters": {
		"url": "https://images.immediate.co.uk/production/volatile/sites/10/2023/06/2048x1365-Oak-trees-SEO-GettyImages-90590330-b6bfe8b.jpg",
		"language": "en",
		"country": "us"
	},
	"data": {
		"visual_matches": [
			{
				"position": 1,
				"title": "Fundraiser for Evert Wilbrenninck by Hayley McAlinden : Support for Evert",
				"link": "https://www.gofundme.com/f/support-for-evert",
				"source": "www.gofundme.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.gofundme.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQKUH1ahizTa4ycaeDX-_Fbr2GXEdovSROvWelKQB7ZNKQb-lwN",
				"thumbnail_width": 169,
				"thumbnail_height": 299,
				"image": "https://d2g8igdw686xgo.cloudfront.net/75895181_169701817679989_r.jpeg",
				"image_width": 531,
				"image_height": 940
			},
			{
				"position": 2,
				"title": "A serene green oak tree in a sunny meadow | Stable Diffusion Online",
				"link": "https://stablediffusionweb.com/image/22712400-a-serene-green-oak-tree-in-a-sunny-meadow",
				"source": "stablediffusionweb.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://stablediffusionweb.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSqNn4aJrxA2J2xLFxhY5K4rbuErsdqCgFseHYP940cyqFt1Uck",
				"thumbnail_width": 225,
				"thumbnail_height": 225,
				"image": "https://imgcdn.stablediffusionweb.com/2024/11/14/1882e6ea-4c85-4c05-a2ba-2117e7f4882e.jpg",
				"image_width": 1024,
				"image_height": 1024
			},
			{
				"position": 3,
				"title": "I just created a new character. What the balls should I name it? : r/BatmanArkham",
				"link": "https://www.reddit.com/r/BatmanArkham/comments/1f0d6ze/i_just_created_a_new_character_what_the_balls/",
				"source": "www.reddit.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.reddit.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcR9YsmMI87WtLfACyA7LUVv5rQ58VVijbPsEx1axV1zOitKXC1F",
				"thumbnail_width": 225,
				"thumbnail_height": 224,
				"image": "https://i.redd.it/q7owzag5wnkd1.jpeg",
				"image_width": 1800,
				"image_height": 1799
			},
			{
				"position": 4,
				"title": "What species is the Erdtree? : r/Eldenring",
				"link": "https://www.reddit.com/r/Eldenring/comments/uoildx/what_species_is_the_erdtree/",
				"source": "www.reddit.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.reddit.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTmHWQUbIlZRybZEVG9e-6x4JVleTFeG5wp0jWY3fmYcZ1ZAwDU",
				"thumbnail_width": 225,
				"thumbnail_height": 225,
				"image": "https://cdn.shopify.com/s/files/1/0778/2679/products/1500white_oak_M_1200x1200.jpg?v=1612668368",
				"image_width": 1200,
				"image_height": 1200
			},
			{
				"position": 5,
				"title": "Large Old English Oak Tree Middle Stock Photo 3248544 | Shutterstock",
				"link": "https://www.shutterstock.com/image-photo/large-old-english-oak-tree-middle-3248544",
				"source": "www.shutterstock.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.shutterstock.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRh1QjhbLF9ktbBPvvreZUeJSxCNhpHAbR9XTVsBOAGz6Swy0jy",
				"thumbnail_width": 190,
				"thumbnail_height": 266,
				"image": "https://www.shutterstock.com/image-photo/maple-tree-south-devon-england-260nw-1715511742.jpg",
				"image_width": 280,
				"image_height": 392
			},
			{
				"position": 6,
				"title": "Long-lived trees made national heritage - Tehran Times",
				"link": "https://www.tehrantimes.com/news/498543/Long-lived-trees-made-national-heritage",
				"source": "www.tehrantimes.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.tehrantimes.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSlkGrr-dooReSqlqd4NXfplLMFOH7T5-66LBb8fXJU7vyFVmw2",
				"thumbnail_width": 183,
				"thumbnail_height": 275,
				"image": "https://media.tehrantimes.com/d/t/2024/05/15/2/4984678.jpg?ts=1715778789226",
				"image_width": 240,
				"image_height": 360
			},
			{
				"position": 7,
				"title": "ALL ABOUT TREES | Baamboozle - Baamboozle | The Most Fun Classroom Games!",
				"link": "https://www.baamboozle.com/study/381780",
				"source": "www.baamboozle.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.baamboozle.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSJFynTNegIh5bzRE9fauTxIPutk4OhjK2KLtxzY5zxhMeB3sAP",
				"thumbnail_width": 190,
				"thumbnail_height": 265,
				"image": "https://media.baamboozle.com/uploads/images/280826/1614946886_43021_url.jpeg",
				"image_width": 280,
				"image_height": 390
			},
			{
				"position": 8,
				"title": "7 Tree Love ideas | photo tree, tree, tree photography",
				"link": "https://in.pinterest.com/raghavcm/tree-love/",
				"source": "in.pinterest.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://in.pinterest.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSE29M1VznIas3pSwLa_V22Xg1S1VKu7aBxawUQyrB5_PXKFIxB",
				"thumbnail_width": 157,
				"thumbnail_height": 235,
				"image": "https://i.pinimg.com/236x/7b/17/af/7b17afdc5e6356edb6884d559d3a08fd.jpg",
				"image_width": 157,
				"image_height": 235
			},
			{
				"position": 9,
				"title": "James Melville 🚜 on X: \"The most cost effective, natural and sustainable form of carbon capture technology https://t.co/pHzXK1tXBS\" / X",
				"link": "https://x.com/JamesMelville/status/1846108912186990603",
				"source": "x.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://x.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSyu4cX9GJOz1AXllslCqlyCol2Kguh-HpD31w68NUpxi4VWmdD",
				"thumbnail_width": 183,
				"thumbnail_height": 275,
				"image": "https://pbs.twimg.com/media/GZ6yRRpWwAAz1oh.jpg",
				"image_width": 748,
				"image_height": 1125
			},
			{
				"position": 10,
				"title": "The Vegetation of Semi-Deserts, Steppes and Arid Open Woodlands | SpringerLink",
				"link": "https://link.springer.com/chapter/10.1007/978-3-642-29915-5_5",
				"source": "link.springer.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://link.springer.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRc68o8FEBrXpFfcUupQSHT1ygIcGH4McppbArn3i-rb21hPmAn",
				"thumbnail_width": 194,
				"thumbnail_height": 259,
				"image": "https://media.springernature.com/lw685/springer-static/image/chp:10.1007/978-3-642-29915-5_5/MediaObjects/978-3-642-29915-5_5_Fig2b_HTML.jpg",
				"image_width": 300,
				"image_height": 400
			},
			{
				"position": 11,
				"title": "single big oak tree in meadow Stock Photo | Adobe Stock",
				"link": "https://stock.adobe.com/images/single-big-oak-tree-in-meadow/349930731",
				"source": "stock.adobe.com",
				"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://stock.adobe.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
				"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRHdXcoeXRzVxc8Kk7r4v9oz-n56rHxufudKaeEqJdhtQ9dZZAt",
				"thumbnail_width": 183,
				"thumbnail_height": 275,
				"image": "https://as2.ftcdn.net/jpg/03/49/93/07/1000_F_349930731_M6Laf7rmuoIsSVCCil4oaoQtlLkesgm4.jpg",
				"image_width": 665,
				"image_height": 1000
			}
		],
		"knowledge_graph": [
			{
				"title": "Cariniana",
				"subtitle": "Plant",
				"link": "https://www.google.com/search?q=Cariniana&kgmid=/m/02vtbd6&hl=en&gl=us",
				"google_mid": "/m/02vtbd6"
			}
		],
		"related_searches": [
			{
				"query": "Oak tree",
				"search_url": "https://www.google.com/search?sca_esv=504743a70e2da67d&hl=en&q=Oak+tree&sa=X&ved=2ahUKEwiP0sbc-qSLAxXlF2IAHVDAMrIQ9_gLKAB6BQiCARAB"
			}
		]
	}
}
                                                                                                                                                                                                                    
                                                                                                    

图像搜索 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7336/real-time+lens+data+api/11642/image+search?url=https://i.imgur.com/HBrB8p0.png&query=a&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取图像以及可选查询的网页视觉匹配。这一端点实现了Google Lens上的“视觉匹配”


                                                                            
GET https://www.zylalabs.com/api/7336/real-time+lens+data+api/11646/visual+matches
                                                                            
                                                                        

视觉匹配 - 端点功能

对象 描述
url [必需] URL of an image for which to get visual matches.
query 可选 Search query to further refine the results.
language 可选 Set the language of the results (Google's hl parameter). Default: en Allowed values: 2-letter language code, see ISO 639-1
country 可选 Set the country for the search (Google's gl parameter). Default: us Allowed values: 2-letter country code, see ISO 3166
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
	"status": "OK",
	"request_id": "2062cbfb-3e78-462d-919c-5266530336d3",
	"parameters": {
		"url": "https://i.imgur.com/HBrB8p0.png",
		"language": "en",
		"country": "us"
	},
	"data": [
		{
			"position": 1,
			"title": "Danny DeVito - Simple English Wikipedia, the free encyclopedia",
			"link": "https://simple.wikipedia.org/wiki/Danny_DeVito",
			"source": "simple.wikipedia.org",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://simple.wikipedia.org&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSCmF_Lnulfr0YI39HaDhPLcxBqs2e_E4CCx6u9sQJz0N5m7JE7",
			"thumbnail_width": 245,
			"thumbnail_height": 206,
			"image": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Danny_DeVito_by_Gage_Skidmore.jpg/220px-Danny_DeVito_by_Gage_Skidmore.jpg",
			"image_width": 262,
			"image_height": 220
		},
		{
			"position": 2,
			"title": "14 Famous people whose lives were shaped by their catholic education",
			"link": "https://aleteia.org/slideshow/14-famous-people-whose-lives-were-shaped-by-their-catholic-education-5067",
			"source": "aleteia.org",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://aleteia.org&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSHafRTk-zGdlxTzKNBAI8GkzDOyftHMdHN17TNYgfBMIJLBAwQ",
			"thumbnail_width": 201,
			"thumbnail_height": 251,
			"image": "https://wp.en.aleteia.org/wp-content/uploads/sites/2/2018/07/web3-danny-devito-portrait-flickr.jpg?w=1920",
			"image_width": 800,
			"image_height": 1000
		},
		{
			"position": 3,
			"title": "Danny DeVito carriving at the Its Always Sunny In Philadelphia at PaleyFest09 event on April 10 2009 at the Arclight Cinemas Hollywood California2009 23626321 Stock Photo at Vecteezy",
			"link": "https://www.vecteezy.com/photo/23626321-danny-devito-carriving-at-the-its-always-sunny-in-philadelphia-at-paleyfest09-event-on-april-10-2009-at-the-arclight-cinemas-hollywood-california2009",
			"source": "www.vecteezy.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.vecteezy.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRe1s9mR8_PoDS7k4If1iz-EUYaN9aJMybZjLXUi2BZ6YYhWLMY",
			"thumbnail_width": 275,
			"thumbnail_height": 183,
			"image": "https://static.vecteezy.com/system/resources/thumbnails/023/626/321/small_2x/danny-devito-carriving-at-the-its-always-sunny-in-philadelphia-at-paleyfest09-event-on-april-10-2009-at-the-arclight-cinemas-hollywood-california2009-free-photo.jpg",
			"image_width": 400,
			"image_height": 266
		},
		{
			"position": 4,
			"title": "Danny Devito Climbing Out of Couch | TikTok",
			"link": "https://www.tiktok.com/discover/danny-devito-climbing-out-of-couch",
			"source": "www.tiktok.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.tiktok.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSxWhCSVCZ9KwXKwXeAFLlCuJSglQ8KGecQWBbaF2qiBIZ5RmZz",
			"thumbnail_width": 300,
			"thumbnail_height": 168,
			"image": "https://www.tiktok.com/api/img/?itemId=7127469581043633450&location=0&aid=1988",
			"image_width": 1280,
			"image_height": 720
		},
		{
			"position": 5,
			"title": "TIL: This man is a hero. After returning home from Vietnam, he was hitching through Oregon when some cop started harassing him. Next thing you know, he had a whole army of",
			"link": "https://www.reddit.com/r/IASIP/comments/ikar72/til_this_man_is_a_hero_after_returning_home_from/",
			"source": "www.reddit.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.reddit.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTgqJq_Ml0Zs5H5kC4zAZs8UqtMP2hbfyGjM4IWcG9vvlcNc7mk",
			"thumbnail_width": 273,
			"thumbnail_height": 184,
			"image": "https://i.redd.it/gaquo4i0sfk51.jpg",
			"image_width": 317,
			"image_height": 214
		},
		{
			"position": 6,
			"title": "National Holidays on November 17th, 2025 | Days Of The Year",
			"link": "https://www.daysoftheyear.com/days/nov/17/",
			"source": "www.daysoftheyear.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.daysoftheyear.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTR09ujDLmyBSWiDh0s_BrcN3Z4YtMA5sMbmhh26TnUrtwrvNrF",
			"thumbnail_width": 210,
			"thumbnail_height": 239,
			"image": "https://www.daysoftheyear.com/cdn-cgi/image/dpr=1,f=auto,fit=cover,h=233,q=85,w=265/wp-content/uploads/danny-devito-e1705062870971.jpg",
			"image_width": 233,
			"image_height": 265
		},
		{
			"position": 7,
			"title": "Frank V. Russia- based off a real life scenario 🤣 : r/IASIP",
			"link": "https://www.reddit.com/r/IASIP/comments/16rrxg7/frank_v_russia_based_off_a_real_life_scenario/",
			"source": "www.reddit.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.reddit.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTG9Z0aghkML3fUqREm1jX9DLXbvmgB5gVRoOqp11CR4g96cZXv",
			"thumbnail_width": 168,
			"thumbnail_height": 299,
			"image": "https://i.redd.it/bj9c35pckeqb1.jpg",
			"image_width": 386,
			"image_height": 686
		},
		{
			"position": 8,
			"title": "Ser diferente es maravilloso': Danny DeVito",
			"link": "https://www.excelsior.com.mx/funcion/ser-diferente-es-maravilloso-danny-devito/1300160",
			"source": "www.excelsior.com.mx",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.excelsior.com.mx&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTDyPKGJma-Ai5hcq-J_7gKzXKXIiwpKiM0LHt49f-OxzptjYDQ",
			"thumbnail_width": 175,
			"thumbnail_height": 240,
			"image": "https://www.excelsior.com.mx/240x175/filters:format(webp):quality(75)/media/pictures/2019/03/05/2109136.jpg",
			"image_width": 175,
			"image_height": 240
		},
		{
			"position": 9,
			"title": "Los Angeles, CA, USA. Danny Trejo in scene from the ©Open Road Films promo for the new movie: Machete Kills (2013). Plot: The U.S. government recruits Machete to battle his way through",
			"link": "https://www.alamy.com/los-angeles-ca-usa-danny-trejo-in-scene-from-the-open-road-films-promo-for-the-new-movie-machete-kills-2013-plot-the-us-government-recruits-machete-to-battle-his-way-through-mexico-in-order-to-take-down-an-arms-dealer-who-looks-to-launch-a-weapon-into-space-ref-lmk110-44871-050813-supplied-by-lmkmedia-editorial-only-landmark-media-is-not-the-copyright-owner-of-these-film-or-tv-stills-but-provides-a-service-only-for-recognised-media-outlets-pictures@lmkmediacom-image439110923.html",
			"source": "www.alamy.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.alamy.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS4BHsxwSWW_rFFlyt8efiUNc7fxW4y6FgcikBu7ULDjAnpdafu",
			"thumbnail_width": 273,
			"thumbnail_height": 185,
			"image": "https://l450v.alamy.com/450v/bh7k41/danny-devito-avatar-los-angeles-premiere-hollywood-los-angeles-ca-bh7k41.jpg",
			"image_width": 442,
			"image_height": 300
		},
		{
			"position": 10,
			"title": "Danny DeVito Talks About One Of The Weird 'Always Sunny' Scenes",
			"link": "https://doyouremember.com/172425/danny-devito-weird-always-sunny-in-philadelphia-scenes",
			"source": "doyouremember.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://doyouremember.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQ5QxM46zXnsQgO7iIybxQtPc0qZIi3j4jy4dpvjKQs6_smH7bN",
			"thumbnail_width": 200,
			"thumbnail_height": 252,
			"image": "https://doyouremember.com/wp-content/uploads/2022/08/danny-devito-scaled.jpg",
			"image_width": 2040,
			"image_height": 2560
		}
	]
}
                                                                                                                                                                                                                    
                                                                                                    

视觉匹配 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7336/real-time+lens+data+api/11646/visual+matches?url=https://i.imgur.com/HBrB8p0.png&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取图像的产品结果,并可以选择性地添加查询。此端点实现了Google Lens用户界面的“产品”选项卡


                                                                            
GET https://www.zylalabs.com/api/7336/real-time+lens+data+api/11647/products
                                                                            
                                                                        

产品 - 端点功能

对象 描述
url [必需] URL of an image to perform Google Lens search.
query 可选 Search query to further refine the results.
language 可选 Set the language of the results (Google's hl parameter). Default: en Allowed values: 2-letter language code, see ISO 639-1
country 可选 Set the country for the search (Google's gl parameter). Default: us Allowed values: 2-letter country code, see ISO 3166
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
	"status": "OK",
	"request_id": "d93c66fa-ece4-40ee-8db2-445b56c109fe",
	"parameters": {
		"url": "https://m.media-amazon.com/images/I/61dLDXdOEhL._AC_SX695_.jpg",
		"language": "en",
		"country": "us"
	},
	"data": [
		{
			"position": 1,
			"title": "Nike mens Air Jordan 1 Mid Shoes, Cement Grey/White-true Blue, 8.5 | Basketball - Amazon.com",
			"link": "https://www.amazon.com/Nike-Jordan-Shoes-Cement-White-true/dp/B0BPN3V5JN",
			"source": "www.amazon.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.amazon.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTvLAmws27eljyfCsSXM897Zx2MlbWY16jHxkRTTywc16W1Kzve",
			"thumbnail_width": 168,
			"thumbnail_height": 299,
			"image": "https://m.media-amazon.com/images/I/61dLDXdOEhL._AC_SY300_QL30_.jpg",
			"image_width": 300,
			"image_height": 533,
			"price": "$304*",
			"availability": "In stock"
		},
		{
			"position": 2,
			"title": "Nike Air Jordan 1 Mid True Blue Gray White Men's DQ8426-014 GS DQ8423-014 | eBay",
			"link": "https://www.ebay.com/itm/185737855229",
			"source": "www.ebay.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.ebay.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSQ_TJ9RlpPI0YTosKQWWttElDetH0SRAqVD3btFTsLttsaLxJ8",
			"thumbnail_width": 177,
			"thumbnail_height": 284,
			"image": "https://i.ebayimg.com/images/g/XqoAAOSw07ljyG2T/s-l400.jpg",
			"image_width": 250,
			"image_height": 400,
			"price": "$110*",
			"availability": "In stock",
			"rating": 4.8,
			"reviews": 4355
		},
		{
			"position": 3,
			"title": "Amazon.com | Nike mens Air Jordan 1 Mid Shoes, Cement Grey/White-true Blue, 10.5 | Basketball",
			"link": "https://www.amazon.com/Nike-Jordan-Shoes-Cement-White-true/dp/B0BPN5PBLV",
			"source": "www.amazon.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.amazon.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcR-2KCxj8zTjP6VotzRfs1JHiexALsoXgK_QqGNKbiW6vPI1GHt",
			"thumbnail_width": 188,
			"thumbnail_height": 268,
			"image": "https://m.media-amazon.com/images/I/61dLDXdOEhL.jpg",
			"image_width": 800,
			"image_height": 1140,
			"price": "$221*",
			"availability": "In stock"
		},
		{
			"position": 4,
			"title": "Amazon.com | Jordan Mens Air Jordan 1 Mid DQ8426 014 True Blue - Size 7.5 Cement Grey/White-true Blue | Fashion Sneakers",
			"link": "https://www.amazon.com/Jordan-Mens-DQ8426-True-Blue/dp/B0BS1Y4NHC",
			"source": "www.amazon.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.amazon.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSzNiv1UHSBDQ5LbOJu4cpYy2JESwL_JEZXT2Zx3AzvalsVJEjO",
			"thumbnail_width": 169,
			"thumbnail_height": 298,
			"image": "https://m.media-amazon.com/images/I/61TieYHTTdL._AC_UY1000_.jpg",
			"image_width": 1000,
			"image_height": 1765,
			"price": "$221*"
		},
		{
			"position": 5,
			"title": "Nike Air Jordan 1 Mid 'True Blue' Cement Grey White DQ8426-014 Men's & GS Sizes | eBay",
			"link": "https://www.ebay.com/itm/235182360059",
			"source": "www.ebay.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.ebay.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSQHHGgKDNAKRUEsj8By8wQQwMNny2DnVyT_iMbew0Esskz6OcA",
			"thumbnail_width": 188,
			"thumbnail_height": 268,
			"image": "https://i.ebayimg.com/images/g/nVsAAOSwUB5k92zs/s-l400.jpg",
			"image_width": 281,
			"image_height": 400,
			"price": "$140*",
			"availability": "In stock",
			"rating": 4.8,
			"reviews": 4355
		},
		{
			"position": 6,
			"title": "Amazon.com | Nike Jordan Mens Air 1 High OG 555088 404 Dark Marina Blue - Size 10 | Basketball",
			"link": "https://www.amazon.com/Jordan-Mens-High-555088-Marina/dp/B09RPPR61J",
			"source": "www.amazon.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.amazon.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcT9wC6dsXmBCk0GgIOG9d0zt6vDEqYkdiRHYsjew8hrc-7f9tEU",
			"thumbnail_width": 225,
			"thumbnail_height": 225,
			"image": "https://images-na.ssl-images-amazon.com/images/I/61dLDXdOEhL._AC_UL600_SR600,600_.jpg",
			"image_width": 600,
			"image_height": 600,
			"price": "$194*",
			"availability": "In stock"
		},
		{
			"position": 7,
			"title": "New Jordan 1 men's Cement True Blue 2022 mid size 10.5 gray 100% Authentic | eBay",
			"link": "https://www.ebay.com/itm/186368841238?chn=ps&mkevt=1&mkcid=28",
			"source": "www.ebay.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.ebay.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSdYhb0hjjW2VXJ1Qcx1yrHpIbihR1tBlTUd_vCxAhBvjdLhrYY",
			"thumbnail_width": 225,
			"thumbnail_height": 225,
			"image": "https://i.ebayimg.com/images/g/B1UAAOSwNGNmB3ye/s-l400.jpg",
			"image_width": 400,
			"image_height": 400,
			"price": "$235*",
			"availability": "In stock",
			"rating": 4.8,
			"reviews": 4355
		},
		{
			"position": 8,
			"title": "Air Jordan 1 Mid 'Cement True Blue' — Kick Game",
			"link": "https://www.kickgame.com/products/air-jordan-1-mid-cement-true-blue-dq8426-014",
			"source": "www.kickgame.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.kickgame.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTfX9zA7DhCeIzYXN-mxKcDH6YAGM2t2wZ-sAVhZmqmMY7z5V-s",
			"thumbnail_width": 225,
			"thumbnail_height": 225,
			"image": "https://www.kickgame.com/cdn/shop/products/air-jordan-1-mid-true-blue-DQ8426-014_1.png?v=1673871372&width=1024",
			"image_width": 1024,
			"image_height": 1024,
			"price": "$146*",
			"availability": "In stock",
			"rating": 4.8,
			"reviews": 4355
		},
		{
			"position": 9,
			"title": "Air Jordan 1 Mid 'Cement Grey True Blue' DQ8426-014",
			"link": "https://www.kickscrew.com/products/jordan-1-mid-true-blue-dq8426-014",
			"source": "www.kickscrew.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.kickscrew.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSosFmG0uzkyhRBkFmiC9AnFnMPRIoDMvXJ03Ja84lPibnP1RQN",
			"thumbnail_width": 225,
			"thumbnail_height": 225,
			"image": "https://cdn.shopify.com/s/files/1/0603/3031/1875/products/main-square_b7b34011-cd26-4ee7-bbcf-8b2765caa0f8_540x.jpg?=75&v=1680666188",
			"image_width": 540,
			"image_height": 540
		},
		{
			"position": 10,
			"title": "Nike Jordan 1 Mid Grade School Big Kids Cement Grey/White-True Blue DQ8423-014 4.5y | Basketball - Amazon.com",
			"link": "https://www.amazon.com/Jordan-School-Cement-White-True-DQ8423-014/dp/B0D5W23951",
			"source": "www.amazon.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.amazon.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQdoxX4w7c5Its-Ui0sPuiFkbP8YFX3A3nNINGdu-7yLvmfEKqM",
			"thumbnail_width": 169,
			"thumbnail_height": 298,
			"image": "https://m.media-amazon.com/images/I/61RqStxv54L._AC_SY395_.jpg",
			"image_width": 395,
			"image_height": 695,
			"price": "$164*",
			"availability": "In stock"
		}
	]
}
                                                                                                                                                                                                                    
                                                                                                    

产品 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7336/real-time+lens+data+api/11647/products?url=https://m.media-amazon.com/images/I/61dLDXdOEhL._AC_SX695_.jpg&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    

从网络获取与作业相关的图像匹配,和可选查询。该端点实现了 Google Lens 的“作业”标签



                                                                            
GET https://www.zylalabs.com/api/7336/real-time+lens+data+api/11648/homework
                                                                            
                                                                        

作业 - 端点功能

对象 描述
url [必需] URL of an image for which to get homework matches.
query 可选 Search query to further refine the results.
language 可选 Set the language of the results (Google's hl parameter). Default: en Allowed values: 2-letter language code, see ISO 639-1
country 可选 Set the country for the search (Google's gl parameter). Default: us Allowed values: 2-letter country code, see ISO 3166
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
	"status": "OK",
	"request_id": "d0a25056-df42-431a-a393-7f7e087e9904",
	"parameters": {
		"url": "https://ichef.bbci.co.uk/images/ic/1200xn/p0cywtsg.png",
		"language": "en",
		"country": "us"
	},
	"data": [
		{
			"position": 1,
			"title": "Вариант 1",
			"link": "https://studfile.net/preview/4063905/page:2/",
			"source": "studfile.net",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://studfile.net&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQTARg2T452Mm6CVqRgEvAeCoUyf1ipqtLUEB-Bve0qKEsQsrJn",
			"thumbnail_width": 102,
			"thumbnail_height": 492,
			"image": "https://studfile.net/html/2706/28/html_QznKkVRaxs.gLti/img-4JTOuQ.png",
			"image_width": 214,
			"image_height": 1024
		},
		{
			"position": 2,
			"title": "Math with Illia - YouTube",
			"link": "https://www.youtube.com/@MathwithIllia",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTgbi83H9uij899kEJVekNkdRloyFv3VxWfEKwTZhB4kebAomKu",
			"thumbnail_width": 194,
			"thumbnail_height": 259,
			"image": "https://i.ytimg.com/vi/SWhxUR0aH4c/hqdefault.jpg",
			"image_width": 360,
			"image_height": 480
		},
		{
			"position": 3,
			"title": "5x-3 = 4 - YouTube",
			"link": "https://www.youtube.com/watch?v=xLjDhcAE0co",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSc2wRf_64CncCu7ns-jnP3BNt10Rum-ZmeHUdOIzvgIk1eqP8h",
			"thumbnail_width": 194,
			"thumbnail_height": 259,
			"image": "https://i.ytimg.com/vi/xLjDhcAE0co/hqdefault.jpg",
			"image_width": 360,
			"image_height": 480
		},
		{
			"position": 4,
			"title": "2x - 5 = 7 solve for x - YouTube",
			"link": "https://www.youtube.com/watch?v=rs9GA1-JaOc",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSaGH9Sp-NdT1RQwXOvxSmHs1goFxBiNGcfBbvSuTTt5q2TPmYJ",
			"thumbnail_width": 194,
			"thumbnail_height": 259,
			"image": "https://i.ytimg.com/vi/rs9GA1-JaOc/hqdefault.jpg",
			"image_width": 360,
			"image_height": 480
		},
		{
			"position": 5,
			"title": "2x+7 = 31 - YouTube",
			"link": "https://www.youtube.com/watch?v=UAp7sopBAqc",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSKUQuaEGbc6jmnEw8ZLFhtq67xmW2yrbkFjRV8EUSv5kJg8q1J",
			"thumbnail_width": 194,
			"thumbnail_height": 259,
			"image": "https://i.ytimg.com/vi/UAp7sopBAqc/hqdefault.jpg",
			"image_width": 360,
			"image_height": 480
		},
		{
			"position": 6,
			"title": "R.H. STUDY ZONE on X: \"X=? https://t.co/9Zikwd25vT\" / X",
			"link": "https://twitter.com/RHSTUDYZONE/status/1839912395096928331",
			"source": "twitter.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://twitter.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQt_1ZFHUrSKA1cvvIji4hCXpX4KP2kB2igj8_VejH5XWHA3ha_",
			"thumbnail_width": 139,
			"thumbnail_height": 362,
			"image": "https://pbs.twimg.com/media/GYiuknBbQAA6WiQ.jpg",
			"image_width": 382,
			"image_height": 991
		},
		{
			"position": 7,
			"title": "How to solve the equation x-2=-9 - YouTube",
			"link": "https://www.youtube.com/watch?v=Dw0Ow-CIdxw",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcR8uk_a2eoDA7pLd0wpn5VIB2bqzzyubvUCKKxpG_m9J4g3ONJs",
			"thumbnail_width": 168,
			"thumbnail_height": 299,
			"image": "https://i.ytimg.com/vi/Dw0Ow-CIdxw/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLBpKau9t2x18sHEbGmhTgA2ja-kwA",
			"image_width": 386,
			"image_height": 686
		},
		{
			"position": 8,
			"title": "Solving a Fractional Equation || Example with x/3 = 5 - YouTube",
			"link": "https://www.youtube.com/watch?v=wDghOVwm2uM",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcS8R8RzNiKl5PwNAPQDB-SxdhZG7bX7G3iGQcYjXg8WsuZ6GJ9e",
			"thumbnail_width": 168,
			"thumbnail_height": 299,
			"image": "https://i.ytimg.com/vi/TpOVRwVabbM/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLBzYcc8XijCzvJnq2tAYqds5R9G0A",
			"image_width": 386,
			"image_height": 686
		},
		{
			"position": 9,
			"title": "Ecuación de primer grado o lineal - Todo lo que necesitas saber",
			"link": "https://ecuacionde.com/primer-grado/",
			"source": "ecuacionde.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://ecuacionde.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcT0xtaBUSqd9BAam1uiPD4OPpUDt-xYjOECO4ea1CThawO7gdsY",
			"thumbnail_width": 107,
			"thumbnail_height": 472,
			"image": "https://ecuacionde.com/wp-content/uploads/2020/12/image-9.png",
			"image_width": 168,
			"image_height": 741
		},
		{
			"position": 10,
			"title": "Algebra II - Intro to Algebra II - YouTube",
			"link": "https://www.youtube.com/watch?v=m1mDq6R632A",
			"source": "www.youtube.com",
			"source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQSyzeZLvuJGB88_R5D1SJS0Lbu9_pk1CJg5pcIgjZf1PKPwDaB",
			"thumbnail_width": 194,
			"thumbnail_height": 259,
			"image": "https://i.ytimg.com/vi/eRr1mA8Niq8/hqdefault.jpg?sqp=-oaymwEmCOADEOgC8quKqQMa8AEB-AHeA4AC6AKKAgwIABABGGUgZShlMA8=&rs=AOn4CLB1zGBkgQVW-gs3r5spzdlbedvJMw",
			"image_width": 360,
			"image_height": 480
		}
	]
}
                                                                                                                                                                                                                    
                                                                                                    

作业 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7336/real-time+lens+data+api/11648/homework?url=https://ichef.bbci.co.uk/images/ic/1200xn/p0cywtsg.png&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    

发送一个图像 URL 并获取包含相同图像的前 500 个网页(反向图像搜索)此端点实现了 Google Lens 上的“完全匹配”标签



                                                                            
GET https://www.zylalabs.com/api/7336/real-time+lens+data+api/11649/exact+matches
                                                                            
                                                                        

确切匹配 - 端点功能

对象 描述
url [必需] URL of the image for which to find sources
limit 可选 Maximum number of results to return. Default: 500 Allowed values: 1-500
safe_search 可选 How to show explicit content in your search results, like sexual activity and graphic violence. Default: blur Allowed values: off, blur
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
	"status": "OK",
	"request_id": "bead38f8-d846-475d-bd80-573c00274fa9",
	"parameters": {
		"url": "https://i.imgur.com/HBrB8p0.png",
		"safe_search": "off",
		"limit": 10
	},
	"data": [
		{
			"title": "Danny DeVito - Simple English Wikipedia, the free encyclopedia",
			"link": "https://simple.wikipedia.org/wiki/Danny_DeVito",
			"domain": "simple.wikipedia.org",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://simple.wikipedia.org&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": null,
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQhRivg8WwbSRyOwpF4vjSaDQMnn31mMhyYenOBZyxKX_tJJc8P3VhOetVk&s",
			"image_width": 220,
			"image_height": 262
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.kktv.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.kktv.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.kktv.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.1011now.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.1011now.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.1011now.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "File:Danny DeVito by Gage Skidmore.jpg - Simple Wikipedia",
			"link": "https://simple.m.wikipedia.org/wiki/File:Danny_DeVito_by_Gage_Skidmore.jpg",
			"domain": "simple.m.wikipedia.org",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://simple.m.wikipedia.org&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": null,
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQLsrbXlTjC6bTGbDS8kwYDhZwyiDsqyunpMOPEdi5HM0xp4pAUTS6b_au7&s",
			"image_width": 504,
			"image_height": 599
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.wsaw.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.wsaw.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.wsaw.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.13abc.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.13abc.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.13abc.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.fox5vegas.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.fox5vegas.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.fox5vegas.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.kbtx.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.kbtx.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.kbtx.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.kjct8.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.kjct8.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.kjct8.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		},
		{
			"title": "US Rep. says adult animated sitcom with Danny DeVito as voice of ...",
			"link": "https://www.wjhg.com/2022/09/08/us-rep-adult-animated-sitcom-with-danny-devito-voice-satan-is-evil/",
			"domain": "www.wjhg.com",
			"logo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.wjhg.com&client=HORIZON&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
			"date": "2 years ago",
			"image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkWoGAqseijzvaDHwog2ON88u3VdHeiAxK5QpDeFO36pNKCANhB0H-xSNe&s",
			"image_width": 800,
			"image_height": 450
		}
	]
}
                                                                                                                                                                                                                    
                                                                                                    

确切匹配 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7336/real-time+lens+data+api/11649/exact+matches?url=https://i.imgur.com/HBrB8p0.png&limit=10&safe_search=off' --header 'Authorization: Bearer YOUR_API_KEY' 


    

检测图像中的地标、地点、植物、动物、产品和其他物体,包括边界框、标签/类型和置信度分数



                                                                            
GET https://www.zylalabs.com/api/7336/real-time+lens+data+api/11650/object+detection
                                                                            
                                                                        

物体检测 - 端点功能

对象 描述
url [必需] URL of an image to perform Google Lens object detection.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
	"status": "OK",
	"request_id": "8397bb55-bef3-46d0-8ef3-088f41666dd4",
	"parameters": {
		"url": "https://thumbs.dreamstime.com/b/giraffe-zebra-1533191.jpg",
		"language": "en",
		"country": "us"
	},
	"data": {
		"main_detection": {
			"label": "DetectedObject-:0:1",
			"box": {
				"left": 0.630625,
				"top": 0.49454546,
				"width": 0.37125,
				"height": 0.87636364
			}
		},
		"detections": [
			{
				"label": "DetectedObject-:0:1",
				"box": {
					"left": 0.630625,
					"top": 0.49454546,
					"width": 0.37125,
					"height": 0.87636364
				}
			},
			{
				"label": "DetectedObject-WholeImage",
				"box": {
					"left": 0.5,
					"top": 0.5,
					"width": 1,
					"height": 1
				}
			},
			{
				"label": "DetectedObject-:0:2",
				"box": {
					"left": 0.2625,
					"top": 0.7918182,
					"width": 0.32,
					"height": 0.28545454
				}
			},
			{
				"label": "0:1:1",
				"box": {
					"left": 0.5,
					"top": 0.5,
					"width": 1,
					"height": 1
				}
			}
		],
		"detection_count": 4
	}
}
                                                                                                                                                                                                                    
                                                                                                    

物体检测 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7336/real-time+lens+data+api/11650/object+detection?url=https://thumbs.dreamstime.com/b/giraffe-zebra-1533191.jpg' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 实时镜头数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

实时镜头数据 API FAQs

每个端点返回与图像搜索相关的结构化数据 例如 图像搜索端点提供视觉匹配 知识图谱数据和产品信息 而对象检测端点返回带有边界框和置信分数的检测对象

关键字段包括“状态”、“请求ID”和“数据”。对于视觉匹配,包括“标题”、“链接”、“来源”和“缩略图”等字段。对象检测端点包含“标签”、“框”和“置信分数”用于检测项目

常见参数包括“url”(图片URL)“language”(用于本地化)和“country”(以调整结果)某些端点允许可选查询以细化搜索例如指定产品或与作业相关的上下文

响应数据以 JSON 格式组织,顶层对象包含“status”、“request_id”和“data”。“data”字段根据端点不同而有所变化,包含详细描述比赛、产品或检测的数组或对象

数据来自谷歌索引的各种网页,包括电子商务网站、百科全书和教育资源。该API利用谷歌广泛的知识图谱提供相关的上下文信息

典型的用例包括反向图像搜索 产品识别 作业辅导和图像中的物体检测 例如 用户可以根据视觉输入找到相似的产品或收集学术信息

用户可以通过调整“语言”和“国家”等参数来定制请求,以获得本地化结果。此外,他们还可以指定可选查询以精炼搜索上下文,从而增强返回数据的相关性

数据准确性通过谷歌的持续更新和质量检查得以保持 该API利用谷歌的索引和机器学习算法确保提供的信息是最新的并且与用户查询相关

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。

价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]


此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。

定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。

有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]

价格由月度或年度订阅决定,具体取决于所选计划。

API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。

Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。

要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。

要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。

要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。

"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢