{"id":50911155,"url":"https://github.com/leookun/puter2api","last_synced_at":"2026-06-16T10:30:29.751Z","repository":{"id":363032221,"uuid":"1104796544","full_name":"leookun/puter2api","owner":"leookun","description":"puter 2api","archived":false,"fork":false,"pushed_at":"2025-11-28T04:59:49.000Z","size":843,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-07T06:16:26.623Z","etag":null,"topics":["2api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leookun.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-26T17:45:29.000Z","updated_at":"2026-04-21T15:22:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/leookun/puter2api","commit_stats":null,"previous_names":["leookun/puter2api"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/leookun/puter2api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leookun%2Fputer2api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leookun%2Fputer2api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leookun%2Fputer2api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leookun%2Fputer2api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leookun","download_url":"https://codeload.github.com/leookun/puter2api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leookun%2Fputer2api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34402648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2api"],"created_at":"2026-06-16T10:30:28.978Z","updated_at":"2026-06-16T10:30:29.743Z","avatar_url":"https://github.com/leookun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 教程\nhttps://docs.puter.com/playground/ai-chatgpt/\n\n![](2025-11-27-01-44-09.png)\n\n# 构建教程\n```bash\ngit add .\ngit commit -m \"Add multi-platform binary release\"\ngit tag v1.0.0\ngit push origin main --tags\n```\n\n## 模型列表\n```bash\ncurl --location 'https://puter.com/puterai/chat/models' \\\n--header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \\\n--header 'Accept-Language: zh-CN,zh;q=0.9' \\\n--header 'Cache-Control: no-cache' \\\n--header 'Connection: keep-alive' \\\n--header 'Pragma: no-cache' \\\n--header 'Sec-Fetch-Dest: document' \\\n--header 'Sec-Fetch-Mode: navigate' \\\n--header 'Sec-Fetch-Site: none' \\\n--header 'Sec-Fetch-User: ?1' \\\n--header 'Upgrade-Insecure-Requests: 1' \\\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \\\n--header 'sec-ch-ua: \"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"' \\\n--header 'sec-ch-ua-mobile: ?0' \\\n--header 'sec-ch-ua-platform: \"macOS\"' \\\n--header 'Cookie: _clck=trp08g%5E2%5Eg1c%5E0%5E2156; __stripe_mid=1ae8b1e7-34aa-4d9c-a0bc-e00348bd4e36e7b24e; __stripe_sid=937ef572-58cc-46d3-bc2e-dbac15385aa77e545a; puter_auth_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0IjoicyIsInYiOiIwLjAuMCIsInUiOiJaMmZNZ2FzOFJSeXhSS3M3S1FuWnpnPT0iLCJ1dSI6Im02UmZFbkEzU0VpUjk0TVZadnJYZkE9PSIsImlhdCI6MTc2NDE3MTc0OH0.2pC0C8jAvpFiUpOcVza1V7uCnnfVza9kBLX2p5PcFyw; _clsk=1ydouus%5E1764171905602%5E6%5E1%5Ei.clarity.ms%2Fcollect'\n```\n## 对话测试\n```bash\ncurl --location 'https://api.puter.com/drivers/call' \\\n--header 'accept: */*' \\\n--header 'accept-language: zh-CN,zh;q=0.9' \\\n--header 'cache-control: no-cache' \\\n--header 'content-type: text/plain;actually=json' \\\n--header 'origin: https://docs.puter.com' \\\n--header 'pragma: no-cache' \\\n--header 'priority: u=1, i' \\\n--header 'referer: https://docs.puter.com/' \\\n--header 'sec-ch-ua: \"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"' \\\n--header 'sec-ch-ua-mobile: ?0' \\\n--header 'sec-ch-ua-platform: \"macOS\"' \\\n--header 'sec-fetch-dest: empty' \\\n--header 'sec-fetch-mode: cors' \\\n--header 'sec-fetch-site: same-site' \\\n--header 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \\\n--data '{\n    \"interface\": \"puter-chat-completion\",\n    \"driver\": \"claude\",\n    \"test_mode\": false,\n    \"method\": \"complete\",\n    \"args\": {\n        \"messages\": [\n            {\n                \"content\": \"你的模型版本是什么\"\n            }\n        ],\n        \"model\": \"claude-opus-4-5\",\n        \"stream\": true\n    },\n    \"auth_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0IjoiYXUiLCJ2IjoiMC4wLjAiLCJ1dSI6Im02UmZFbkEzU0VpUjk0TVZadnJYZkE9PSIsImF1IjoiaWRnL2ZEMDdVTkdhSk5sNXpXUGZhUT09IiwicyI6Ii9tdy9XRldQSElqN09QZEVDeGpsU3c9PSIsImlhdCI6MTc2NDE3MTk3Nn0.-zE27rKsvIGXiWAnAHYfJU5jDppoWak4KjE9HWZdfLs\"\n}'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleookun%2Fputer2api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleookun%2Fputer2api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleookun%2Fputer2api/lists"}