Cosmos 3 Edge
NVIDIA의 Cosmos 3 Edge 비전-언어 월드 모델을 Serverless Cloud API를 통해 사용하세요.
코드 예제
3
모델 실행
import os
import cv2
from inference_sdk import InferenceHTTPClient
image = cv2.imread("my-image.jpg")
client = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key=os.environ["ROBOFLOW_API_KEY"],
)
result = client.infer_lmm(
image,
model_id="nvidia/cosmos-3-edge",
prompt="What is likely going to happen next in this scene?",
max_new_tokens=128,
)
print(result["response"])

워크플로에서 사용
Inference(자체 호스팅)와 함께 사용
Inference Python 패키지와 함께 사용
마지막 업데이트
도움이 되었나요?