{"id":15931207,"url":"https://github.com/xdpcs/wujiesdk","last_synced_at":"2025-10-18T21:30:22.753Z","repository":{"id":199512943,"uuid":"703041910","full_name":"XdpCs/wujiesdk","owner":"XdpCs","description":"无界ai sdk https://apifox.com/apidoc/shared-ecc069df-a9d5-4c86-b723-6dcd5cc79f81","archived":true,"fork":false,"pushed_at":"2024-09-10T15:48:22.000Z","size":183,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T22:06:40.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XdpCs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-10T13:38:32.000Z","updated_at":"2024-09-11T06:45:10.000Z","dependencies_parsed_at":"2023-11-25T14:31:14.027Z","dependency_job_id":"b2d63bd5-288f-4bea-b2ba-a5357dfb88d4","html_url":"https://github.com/XdpCs/wujiesdk","commit_stats":null,"previous_names":["xdpcs/wujiesdk"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2Fwujiesdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2Fwujiesdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2Fwujiesdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2Fwujiesdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XdpCs","download_url":"https://codeload.github.com/XdpCs/wujiesdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237020588,"owners_count":19242207,"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":[],"created_at":"2024-10-07T01:04:27.266Z","updated_at":"2025-10-18T21:30:15.430Z","avatar_url":"https://github.com/XdpCs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wujiesdk\n\n![GitHub watchers](https://img.shields.io/github/watchers/XdpCs/wujiesdk?style=social)\n![GitHub stars](https://img.shields.io/github/stars/XdpCs/wujiesdk?style=social)\n![GitHub forks](https://img.shields.io/github/forks/XdpCs/wujiesdk?style=social)\n![GitHub last commit](https://img.shields.io/github/last-commit/XdpCs/wujiesdk?style=flat-square)\n![GitHub repo size](https://img.shields.io/github/repo-size/XdpCs/wujiesdk?style=flat-square)\n![GitHub license](https://img.shields.io/github/license/XdpCs/wujiesdk?style=flat-square)\n\n无界ai sdk https://apifox.com/apidoc/shared-ecc069df-a9d5-4c86-b723-6dcd5cc79f81\n\n## 安装\n\n`go get`\n\n```shell\ngo get -u github.com/XdpCs/wujiesdk@master\n```\n\n`go mod`\n\n```shell\nrequire github.com/XdpCs/wujiesdk latest\n```\n\n## 完成情况\n\n- [x] 用户开放\n    - [x] 获取用户积分可用余额\n    - [x] 向指定用户(手机号)发起积分兑换\n- [x] Ai作画\n    - [x] 获取预设资源\n    - [x] 获取模型列表\n    - [x] 作画结果查询\n    - [x] 作画参数查询接口, 一次最多可查询6个key的作画参数\n    - [x] 作画成功后的图片详情查询\n    - [x] 获取单个模型排队信息\n    - [x] 获取风格模型的预设资源\n    - [x] 发起AI作画\n    - [x] 加速作画\n    - [x] 单张图片进行超分辨处理\n    - [x] 超分结果批量查询\n    - [x] 撤销作画\n    - [x] 计算作画成本\n    - [x] 提交描述词优化任务\n    - [x] 图片年轻化接口\n    - [x] 作画咒语查询\n    - [x] 查询描述词优化任务结果\n- [x] 化身\n    - [x] 化身训练\n        - [x] 化身训练图片检测\n        - [x] 化身详情查询\n        - [x] 化身删除\n        - [x] 创建化身\n    - [x] 化身作画\n        - [x] 化身作画接口\n        - [x] 化身作画资源选项接口\n- [x] 咒语解析\n    - [x] 发起咒语解析\n    - [x] 查询解析结果\n- [x] 魔法骰子\n    - [x] 魔法骰子主题列表\n    - [x] 魔法骰子生成\n- [x] 视频生成视频\n    - [x] 发起视频生视频\n    - [x] 视频生成成功后的视频详情查询\n    - [ ] ~~计算视频生视频成本~~\n    - [x] 获取视频生视频模型列表及价格表\n    - [x] 视频生视频模型排队情况查询\n    - [x] 视频生成结果查询\n- [x] 个性相机\n    - [x] 作画模版选项\n    - [x] 作画\n    - [x] 相机作画轮询接口\n    - [x] 相机作画查询接口\n- [x] Ai专业版作画\n    - [x] 专业版发起AI作画\n    - [x] 专业版作画轮询接口\n    - [x] 专业版作画查询接口\n    - [x] ControlNet type preprocessor model 参数依赖关系查询\n    - [x] 获取专业版模型列表\n    - [x] 账户时长余额\n    - [x] Ai实验室\n        - [x] 分割一切\n        - [x] 矢量图\n        - [x] 实验室-模型列表\n        - [x] Ai实验室详情\n        - [x] 一镜到底\n        - [x] 生成图生视频\n        - [x] 生成图生视频详情查询\n\n## 例子\n\n### 正常使用模式\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\n\t\"github.com/XdpCs/wujiesdk\"\n)\n\nfunc main() {\n\tc, err := wujiesdk.NewCredentials(\"appID\", \"PrivateKey\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tclient := wujiesdk.NewDefaultClient(c)\n\tca := wujiesdk.NewCaller(client)\n\t_, _, err = ca.CancelImage(context.Background(), \"2087C400944DF2D6B25BED29C910B1B8\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}\n\n```\n\n### Debug模式\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\n\t\"github.com/XdpCs/wujiesdk\"\n)\n\nfunc main() {\n\tc, err := wujiesdk.NewCredentials(\"appID\", \"PrivateKey\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tclient := wujiesdk.NewDebugClient(c)\n\tca := wujiesdk.NewCaller(client)\n\t_, _, err = ca.CancelImage(context.Background(), \"2087C400944DF2D6B25BED29C910B1B8\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdpcs%2Fwujiesdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdpcs%2Fwujiesdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdpcs%2Fwujiesdk/lists"}