전용 배포에 요청 보내기
Python SDK, HTTP API 또는 Workflows 웹 인터페이스를 사용하여 Dedicated Deployment에 직접 요청을 보낼 수 있습니다.
Use Python SDK

Use HTTP API
Use Workflow UI


Last updated
Was this helpful?
Python SDK, HTTP API 또는 Workflows 웹 인터페이스를 사용하여 Dedicated Deployment에 직접 요청을 보낼 수 있습니다.



Last updated
Was this helpful?
Was this helpful?
from inference_sdk import InferenceHTTPClient
CLIENT = InferenceHTTPClient(
api_url="https://dev-testing.roboflow.cloud",
api_key="ROBOFLOW_API_KEY"
)
image_url = "https://source.roboflow.com/pwYAXv9BTpqLyFfgQoPZ/u48G0UpWfk8giSw7wrU8/original.jpg"
result = CLIENT.infer(image_url, model_id="soccer-players-5fuqs/1")import requests
import json
api_url = "https://dev-testing.roboflow.cloud"
model_id = "soccer-players-5fuqs/1"
image_url = "https://source.roboflow.com/pwYAXv9BTpqLyFfgQoPZ/u48G0UpWfk8giSw7wrU8/original.jpg"
resp = requests.get(f"{api_url}/{model_id}", params = {"api_key": "ROBOFLOW_API_KEY", "image": image_url})
result = json.loads(resp.content)