Roboflow API 키 찾기
Roboflow API 및 Roboflow Inference로 인증하기 위한 API 키를 찾으세요.
마지막 업데이트
도움이 되었나요?
도움이 되었나요?
export ROBOFLOW_API_KEY=YOUR_API_KEYfrom inference import get_model
model = get_model(model_id="...", api_key="YOUR_API_KEY")import requests
my_api_key = "YOUR_API_KEY"
url = f"http://localhost:9001/soccer-players-5fuqs/1?api_key={my_api_key}"
response = requests.post(url)
url = "http://localhost:9001/infer/object_detection"
payload = {
"api_key": my_api_key,
"model_id": "soccer-players-5fuqs/1",
}
response = requests.post(url, json=payload)docker run -it --rm --network=host -e ROBOFLOW_API_KEY=YOUR_API_KEY roboflow/roboflow-inference-server-cpu:latest