mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 23:59:57 +00:00
1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
{"text":["Models","moondream","moondream3-preview","Moondream 3 Preview","Moondream 3 Preview is a vision-language model from Moondream with 9B total parameters and 2B active (mixture-of-experts).","Get API key","Try in Chat","Specifications","Context Window","32K","Modalities","text","Price","$0.334 in · $2.78 out, per million tokens","Model ID","moondream/moondream3-preview","Quick start","Get an API key →","TypeScript","Python","cURL","Go","import","OpenAI","from","openai","const","client = new","({","apiKey","process.env.HANZO_API_KEY","baseURL","https://api.hanzo.ai/v1","})","response =","await","client.chat.completions.","create","model","messages","[{","role","user","content","Hello!","}]","console.","log","response.choices",".message.content","client = OpenAI","api_key=os","environ","HANZO_API_KEY","],","base_url=","response = client","chat","completions","model=","messages=","print","response","choices","].","message","curl","https://api.hanzo.ai/v1/chat/completions","-H","Content-Type: application/json","Authorization: Bearer","-d","\"model\": \"moondream/moondream3-preview\",","\"messages\": [{\"role\": \"user\", \"content\": \"Hello!\"}]","package","main","context","fmt","os","github.com/sashabaranov/go-openai","func","()","cfg := openai","DefaultConfig","Getenv","))","cfg","BaseURL =","client := openai","NewClientWithConfig","resp","_ := client","CreateChatCompletion","Background","(),","ChatCompletionRequest","Model","Messages","[]","ChatCompletionMessage","Role","ChatMessageRoleUser","Content","},","Println","Choices","Message","More from moondream","Moondream 3.1","Moondream 3.1 is a vision-language model from Moondream, the successor to Moondream 3 Preview, with 9B total parameters and 2B active (mixture-of-experts). It handles visual question answering, captioning, OCR, and...","View all moondream models →","Use Moondream 3 Preview via Hanzo AI","One API key. Every major model. OpenAI-compatible. Start free.","Get an API key","Browse All Models"],"links":["/models","/models/moondream","https://platform.hanzo.ai/api-keys","/chat","/models/moondream/moondream3.1-9b-a2b"]} |