
nvidia/NVIDIA-Nemotron-Nano-12B-v2-VL-BF16
Open source vision language model by NVIDIA for document processing
The NVIDIA Nemotron Nano 12B V2 VL model is a 12 billion-parameter vision-language model that can ingest images (or videos) alongside text and generate detailed, contextual text responses — for example summarizing visuals, performing OCR, or answering questions about images.

Input
from openai import OpenAI
import os
model_id
# Configure your deployment
client = OpenAI(
api_key=os.environ.get("BASETEN_API_KEY"),
base_url=f"https://model-{model_id}.api.baseten.co/environment/production/sync/v1"
)
# Test the model with streaming
stream = client.chat.completions.create(
model="", # Use the served model name from config
messages=[
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://upload.wikimedia.org/wikipedia/commons/f/fa/Grayscale_8bits_palette_sample_image.png"
}
},
{
"type": "text",
"text": "Describe this image in detail."
}
]
}
],
stream=True
)
# Stream the response
for chunk in stream:
if chunk.choices[0].delta.content is not None:
print(chunk.choices[0].delta.content, end='', flush=True)
print()
"""
This is a black and white image of a bird, which appears to be a parrot,
perched on a curved metal stand. The bird is facing the left side of the
image. It has a curved beak and its wings are slightly folded. The bird's
feathers are short and fluffy, and it has a large, round head. Behind the
bird, there are what appear to be bushes or shrubs.
"""Output
{
"id": "143",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "[Model output here]",
"role": "assistant",
"audio": null,
"function_call": null,
"tool_calls": null
}
}
],
"created": 1741224586,
"model": "",
"object": "chat.completion",
"service_tier": null,
"system_fingerprint": null,
"usage": {
"completion_tokens": 145,
"prompt_tokens": 38,
"total_tokens": 183,
"completion_tokens_details": null,
"prompt_tokens_details": null
}
}