A free vision-language model that thinks before it answers: visual chain-of-thought reasoning over images, documents, charts, and screenshots, with a 128K context window.
image_url content parts, no proprietary SDKcurl https://aiapi-pro.com/v1/chat/completions \
-H "Authorization: Bearer $NOVAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.1v-thinking-flash",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "Extract every line item from this invoice"},
{"type": "image_url", "image_url": {"url": "https://example.com/invoice.png"}}
]
}]
}'
from openai import OpenAI
client = OpenAI(base_url="https://aiapi-pro.com/v1", api_key="YOUR_NOVAI_API_KEY")
resp = client.chat.completions.create(
model="glm-4.1v-thinking-flash",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "What does this chart tell us?"},
{"type": "image_url", "image_url": {"url": "https://example.com/chart.png"}},
],
}],
)
print(resp.choices[0].message.content)
Works with any OpenAI-compatible SDK - just set base_url to https://aiapi-pro.com/v1 and use your NovAI API key. Full reference in the API docs.
Zero platform fee. Credits never expire. OpenAI-compatible API.
Sign Up Free