{"id":24629364,"url":"https://github.com/SMNETSTUDIO/Groq2API","last_synced_at":"2025-10-06T19:31:23.142Z","repository":{"id":232416674,"uuid":"784077943","full_name":"SMNETSTUDIO/Groq2API","owner":"SMNETSTUDIO","description":"Free Groq API","archived":false,"fork":false,"pushed_at":"2025-01-17T09:15:46.000Z","size":4652,"stargazers_count":312,"open_issues_count":2,"forks_count":79,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-17T10:23:55.837Z","etag":null,"topics":["ai","chatgpt","chatgpt-api","free","gpt"],"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/SMNETSTUDIO.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}},"created_at":"2024-04-09T06:27:46.000Z","updated_at":"2025-01-17T09:20:07.000Z","dependencies_parsed_at":"2024-07-27T09:46:06.168Z","dependency_job_id":"ef1c37a6-4e70-4484-b186-f1fd821afebe","html_url":"https://github.com/SMNETSTUDIO/Groq2API","commit_stats":null,"previous_names":["star-studio-develop/groq2api","smnetstudio/groq2api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMNETSTUDIO%2FGroq2API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMNETSTUDIO%2FGroq2API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMNETSTUDIO%2FGroq2API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMNETSTUDIO%2FGroq2API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SMNETSTUDIO","download_url":"https://codeload.github.com/SMNETSTUDIO/Groq2API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235542217,"owners_count":19006824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai","chatgpt","chatgpt-api","free","gpt"],"created_at":"2025-01-25T06:01:29.621Z","updated_at":"2025-10-06T19:31:17.865Z","avatar_url":"https://github.com/SMNETSTUDIO.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Groq2API\n\n## Installation\n\n```bash\n\ndocker run -d -p 8080:8080 ghcr.io/star-studio-develop/groq2api:latest\n\n```\n\n### Vercel部署\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FStar-Studio-Develop%2FGroq2API\u0026project-name=Groq2API\u0026repository-name=Groq2API)\n\n### Koyeb部署\n[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?type=docker\u0026name=groq2api\u0026ports=8080;http;/\u0026image=ghcr.io/star-studio-develop/groq2api)\n\n### Render部署\n[![Deploy](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy)\n\n### Railway部署\n[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/kaB56J)\n\n## Usage\n\n可选参数列表\n\n- `model` 模型名称\n  - gemma-7b-it\n  - mixtral-8x7b-32768\n  - llama2-70b-4096\n  - llama3-8b-8192\n  - llama3-70b-8192\n- `stream` 是否流式输出\n  - true\n  - false\n- `max_tokens` 最大生成长度\n  - 4096 (llama2-70b-4096) \n  - 8192 (gemma-7b-it)\n  - 32768 (mixtral-8x7b-32768)\n- `message`\n  - `role` 消息角色\n    - user\n    - assistant\n```bash\n\ncurl --request POST \\\n  --url http://127.0.0.1:8080/v1/chat/completions \\\n  --header 'Authorization: Bearer stytch_session' \\\n  --data '{\n  \"messages\": [\n    {\n      \"role\": \"user\",\n      \"content\": \"hi\"\n    }\n  ],\n  \"model\": \"mixtral-8x7b-32768\",\n  \"max_tokens\": 4096,\n  \"stream\": true\n}'\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSMNETSTUDIO%2FGroq2API","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSMNETSTUDIO%2FGroq2API","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSMNETSTUDIO%2FGroq2API/lists"}