Use with Python SDK
Use Roboflow's Serverless Hosted API with Python SDK
pip install inference-sdkfrom inference_sdk import InferenceHTTPClient
CLIENT = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key="API_KEY"
)
result = CLIENT.infer("image.jpg", model_id="model-id/1")
print(result)Roboflow Instant Model
configuration = InferenceConfiguration(
confidence_threshold=0.95
)
CLIENT.configure(configuration)
result = CLIENT.infer("image.jpg", model_id="roboflow-instant-model-id/1")Last updated
Was this helpful?