Qwen3.5
Use Alibaba's Qwen3.5-VL vision-language model on a Dedicated Deployment or self-hosted Inference
Alias
Parameters
Code sample
pip install inference-sdkimport os
import urllib.request
from inference_sdk import InferenceHTTPClient
image_url = "https://media.roboflow.com/notebooks/examples/dog.jpeg"
image_path = "dog.jpeg"
urllib.request.urlretrieve(image_url, image_path)
client = InferenceHTTPClient(
api_url="https://your-deployment.roboflow.cloud",
api_key=os.getenv("API_KEY"),
)
result = client.infer_lmm(
image_path,
model_id="qwen3_5-2b",
prompt="Describe this image briefly.",
max_new_tokens=128,
)
print(result["response"])Last updated
Was this helpful?