Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Bing Reverse Image Search

เอกสาร API
https://api.sandbase.ai/v1/api/bing/reverse-image

Search Bing Visual Search with an image URL and get visually similar images, pages that contain the image and related searches.

ราคา
$0.01USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 8 ไม่บังคับ

Playground

อินพุต

PNG, JPEG, WebP หรือ GIF · สูงสุด 20 MiB

Parameter defines the URL for an image to perform the reverse image search. NOTE: The image's width and height must each be 4,000 pixels or less.
The market where the results come from (e.g. `en-US`). Typically, `mkt` is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Reverse Image API delivers results. The market must be in the form <language code>-<country code>. For example, en-US. The string is case insensitive. For a list of possible market values, see Market Codes. NOTE: If known, you are encouraged to always specify the market. Specifying the market helps Bing route the request and return an appropriate and optimal response. If you
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.3` means cropping 30% from the top. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.3` means cropping 30% from the left. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.8` means cropping the right, 80% from the left. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.8` means cropping the bottom, 80% from the top. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter defines the next page token. It is used for retrieving the next page results.
Parameter controls the number of results per page. This parameter defaults to `35`. This parameter is only a suggestion and might not reflect the returned results. The minimum and maximum for this parameter are `0` and `150`, respectively.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Bing Reverse Image Search

Search Bing Visual Search with an image URL and get visually similar images, pages that contain the image and related searches.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bing/reverse-image" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Camponotus_flavomarginatus_ant.jpg/320px-Camponotus_flavomarginatus_ant.jpg"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
image_urlstringYesParameter defines the URL for an image to perform the reverse image search. NOTE: The image's width and height must each be 4,000 pixels or less.
mktstringNoThe market where the results come from (e.g. en-US). Typically, mkt is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Reverse Image API
catstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.3 means cropping 30% from the top. The minimum and maximum for this coordinate are 0 and 1, respectively.
calstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.3 means cropping 30% from the left. The minimum and maximum for this coordinate are 0 and 1, respectively.
carstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.8 means cropping the right, 80% from the left. The minimum and maximum for this coordinate are 0 and 1, respectively.
cabstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.8 means cropping the bottom, 80% from the top. The minimum and maximum for this coordinate are 0 and 1, respectively.
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page results.
countstringNoParameter controls the number of results per page. This parameter defaults to 35. This parameter is only a suggestion and might not reflect the returned results. The minimum and maximum for this parameter are 0 and 150, respectively.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Bing$0.01 ต่อการเรียกJSON
Bing$0.015 ต่อการเรียกJSON
Bing$0.015 ต่อการเรียกJSON
Bing$0.01 ต่อการเรียกJSON
Bing$0.01 ต่อการเรียกJSON
Bing$0.015 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Bing Reverse Image Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/bing/reverse-image โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Bing Reverse Image Search API ราคาเท่าไร?

$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Bing Reverse Image Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: image_url (string). ตัวเลือก: mkt (string), cat (string), cal (string), car (string), cab (string) และ next_page_token (string) และอีก 2 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Bing Reverse Image Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Bing ไหม?

ไม่จำเป็น Bing Reverse Image Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bing API แยกต่างหาก