एक Vision Event छवि अपलोड करें
एक workspace-level image अपलोड करें और Vision Event बनाते समय इसके sourceId का संदर्भ दें।
के बारे में
HTTP API
Upload an image for use in vision events.
Authorizations
AuthorizationstringRequired
Roboflow API key passed as a Bearer token.
Body
filestring · binaryRequired
The image file to upload.
namestringOptional
Custom name for the image.
metadatastringOptional
JSON string of custom metadata.
Responses
201
Image uploaded successfully.
application/json
successbooleanOptional
sourceIdstringOptional
Reference ID for use in event images.
urlstringOptional
Public URL of the uploaded image.
400
Missing file or invalid metadata.
application/json
403
Insufficient permissions for this resource.
application/json
post/vision-events/upload
उदाहरण अनुरोध
अनुरोध पैरामीटर
उदाहरण प्रतिक्रिया
Python SDK
अंतिम अपडेट
क्या यह उपयोगी था?