{"info":{"name":"Api Halo API Examples","description":"Api Halo OpenAI-compatible API examples. Set base_url and api_key in collection variables before use.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"variable":[{"key":"base_url","value":"https://apihalo.cn/v1","type":"string"},{"key":"api_key","value":"YOUR_API_KEY","type":"string"},{"key":"model","value":"gpt-5.6-sol","type":"string"},{"key":"image_model","value":"gpt-image-2","type":"string"}],"item":[{"name":"List Models","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}/models","host":["{{base_url}}"],"path":["models"]}}},{"name":"Chat Completions","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"model\": \"{{model}}\",\n  \"messages\": [\n    {\"role\": \"user\", \"content\": \"请只回复：API_OK\"}\n  ],\n  \"stream\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/chat/completions","host":["{{base_url}}"],"path":["chat","completions"]}}},{"name":"Image Generations","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"model\": \"{{image_model}}\",\n  \"prompt\": \"一张简洁的蓝色科技海报\",\n  \"size\": \"1024x1024\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/images/generations","host":["{{base_url}}"],"path":["images","generations"]}}}]}
