Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,758 changes: 1,753 additions & 5 deletions bun.lock

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions packages/plugins/relight-studio/convax-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"schema": "convax.package/1",
"kind": "plugin",
"id": "relight-studio",
"name": "重打光",
"description": "连接一张 Canvas 图片,通过宿主统一的 AI 生图能力生成不同主光方向、色温与电影氛围的重打光结果。",
"version": "0.1.1",
"license": "MIT",
"compatibility": {
"pluginSchema": "convax.plugin/3",
"pluginHost": "convax.plugin-host/3"
},
"yanked": false
}
20 changes: 20 additions & 0 deletions packages/plugins/relight-studio/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "@microvoid/convax-plugin-relight-studio",
"version": "0.1.1",
"private": true,
"type": "module",
"scripts": {
"build": "bun scripts/build.ts",
"typecheck": "tsc --noEmit --jsx react-jsx --module ESNext --moduleResolution Bundler --target ES2022 --lib ES2022,DOM src/radix-controls.tsx",
"validate": "bun ../../../tooling/validate.mjs --kind plugin --id relight-studio",
"pack": "bun ../../../tooling/pack.mjs --kind plugin --id relight-studio"
},
"devDependencies": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"radix-ui": "1.6.2",
"react": "19.2.4",
"react-dom": "19.2.4",
"typescript": "5.9.3"
}
}
21 changes: 21 additions & 0 deletions packages/plugins/relight-studio/package/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Microvoid contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
27 changes: 27 additions & 0 deletions packages/plugins/relight-studio/package/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: relight-studio
description: Generate relit variations from a directly connected Canvas image through the Relight Studio Plugin and Convax's installed image-generation tools.
---

# 重打光

Use this Skill when the user wants to relight an existing image with a new light
direction, color temperature, contrast, or cinematic atmosphere.

1. Confirm the active Canvas contains a `relight-studio` Plugin node and connect the
source image to it with a direct incoming Canvas edge.
2. Choose a lighting preset or refine the light direction, intensity, softness,
temperature, ambient level, and atmosphere in the Plugin surface.
3. Start generation from the Plugin. It discovers compatible installed image tools
through `generation.tools.list` and submits the relighting prompt plus the direct
incoming image through `generation.canvas.execute`.
4. The host creates a pending image node beside the Plugin surface immediately,
then admits the generated image into managed Project assets and replaces that
pending node. Treat generation as successful only when the host reports the
created Canvas node id.
5. If no compatible image tool is installed or authorized, explain that generation
is unavailable and ask the user to install or authorize one; do not claim that a
preview is a generated result.

Do not edit `.convax` files, pass local paths or credentials, call a vendor directly,
or claim that this Skill grants Plugin permissions.
Loading