{"id":29712308,"url":"https://github.com/chatlunalab/drawluna","last_synced_at":"2025-10-15T21:56:10.557Z","repository":{"id":302867784,"uuid":"1013804845","full_name":"ChatLunaLab/drawluna","owner":"ChatLunaLab","description":"基于多平台 API 的图片生成插件，支持文生图、图生图和图像变化","archived":false,"fork":false,"pushed_at":"2025-09-17T01:06:11.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-26T17:26:06.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ChatLunaLab.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}},"created_at":"2025-07-04T13:47:35.000Z","updated_at":"2025-09-17T01:06:15.000Z","dependencies_parsed_at":"2025-07-04T14:34:46.409Z","dependency_job_id":"0f7eb3e2-e66f-4b7c-8da0-9d94e776bfd8","html_url":"https://github.com/ChatLunaLab/drawluna","commit_stats":null,"previous_names":["chatlunalab/drawluna"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChatLunaLab/drawluna","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatLunaLab%2Fdrawluna","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatLunaLab%2Fdrawluna/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatLunaLab%2Fdrawluna/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatLunaLab%2Fdrawluna/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChatLunaLab","download_url":"https://codeload.github.com/ChatLunaLab/drawluna/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatLunaLab%2Fdrawluna/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279121024,"owners_count":26108269,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"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":[],"created_at":"2025-07-24T00:42:32.075Z","updated_at":"2025-10-15T21:56:10.552Z","avatar_url":"https://github.com/ChatLunaLab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# koishi-plugin-drawluna\n\n_多平台 AI 图像生成聚合插件，支持 `OpenAI DALL-E` 等多种图像生成模型_\n\n## [![npm](https://img.shields.io/npm/v/koishi-plugin-drawluna)](https://www.npmjs.com/package/koishi-plugin-drawluna) [![npm](https://img.shields.io/npm/dm/koishi-plugin-drawluna)](https://www.npmjs.com/package/koishi-plugin-drawluna)\n\n![node version](https://img.shields.io/badge/node-%3E=18-green) ![github top language](https://img.shields.io/github/languages/top/ChatLunaLab/drawluna?logo=github)\n\n\u003c/div\u003e\n\n## 特性\n\n1. 支持即梦（豆包），OpenAI 的绘图模型\n2. 图像编辑（图生图），变体，文生图\n\n## 部署\n\n在 Koishi 插件市场搜索 `drawluna` ，安装后启用即可。\n\n## 使用\n\n### 基础命令\n\n#### 文生图\n\n```\ndrawluna \u003c提示词\u003e [选项]\n```\n\n根据文字描述生成图像\n\n#### 图生图\n\n```\ndrawluna.edit \u003c提示词\u003e [选项]\n```\n\n编辑或扩展现有图片（引用原图或者上传图片）\n\n#### 图像变化\n\n```\ndrawluna.variation [选项]\n```\n\n基于现有图片生成变体（需要先上传图片）\n\n### 命令选项\n\n| 选项 | 说明 | 示例 |\n|------|------|------|\n| `-m \u003c模型\u003e` | 指定使用的模型 | `-m dall-e-3` |\n| `-s \u003c尺寸\u003e` | 设置图片尺寸 | `-s 1024x1024` |\n| `-q \u003c质量\u003e` | 设置图片质量 | `-q hd` |\n| `-st \u003c风格\u003e` | 设置图片风格 | `-st vivid` |\n| `-c \u003c数量\u003e` | 生成图片数量 | `-c 2` |\n| `-bg \u003c背景\u003e` | 背景模式 | `-bg transparent` |\n\n## 感谢\n\n感谢 [OpenAI](https://openai.com) 提供优秀的图像生成 API。\n感谢 [Koishi](https://koishi.chat) 提供强大的机器人框架。\n感谢 [即梦](https://www.volcengine.com/product/jimeng) 提供优秀的图像生成 API。\n感谢所有为开源社区做出贡献的开发者们。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatlunalab%2Fdrawluna","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatlunalab%2Fdrawluna","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatlunalab%2Fdrawluna/lists"}