You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openclaw/SKILL.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: creative-toolkit
3
-
description: Generate images from text with multi-provider routing — supports Nanobanana Pro, GPT Image, Seedream, and local ComfyUI workflows. Includes 1,300+ curated prompts and style-aware prompt enhancement. Use when users want to create images, design assets, enhance prompts, or manage AI art workflows.
3
+
description: Generate images from text with multi-provider routing — supports Nanobanana 2, Seedream 5.0, GPT Image, and local ComfyUI workflows. Includes 1,300+ curated prompts and style-aware prompt enhancement. Use when users want to create images, design assets, enhance prompts, or manage AI art workflows.
// Default model for MeiGen provider when user doesn't specify one
29
+
constMEIGEN_DEFAULT_MODEL='nanobanana-2'
30
+
28
31
// Concurrency control: ComfyUI serial (local GPU), API max 4 parallel
29
32
constapiSemaphore=newSemaphore(4)
30
33
constcomfyuiSemaphore=newSemaphore(1)
@@ -91,7 +94,7 @@ export function registerGenerateImage(server: McpServer, apiClient: MeiGenApiCli
91
94
return{
92
95
content: [{
93
96
type: 'text'asconst,
94
-
text: 'No image generation providers configured.\n\nQuickest way to start:\n1. Get a MeiGen API token at https://www.meigen.ai (sign in → avatar → Settings → API Keys)\n2. Run /meigen:setup and paste your token\n\nOr configure one of:\n- MEIGEN_API_TOKEN: MeiGen platform (Nanobanana Pro, GPT image 1.5, Seedream 4.5)\n- OPENAI_API_KEY: OpenAI/compatible API (gpt-image-1.5, etc.)\n- Import a ComfyUI workflow for local GPU generation',
97
+
text: 'No image generation providers configured.\n\nQuickest way to start:\n1. Get a MeiGen API token at https://www.meigen.ai (sign in → avatar → Settings → API Keys)\n2. Run /meigen:setup and paste your token\n\nOr configure one of:\n- MEIGEN_API_TOKEN: MeiGen platform (Nanobanana 2, Seedream 5.0, GPT image 1.5)\n- OPENAI_API_KEY: OpenAI/compatible API (gpt-image-1.5, etc.)\n- Import a ComfyUI workflow for local GPU generation',
95
98
}],
96
99
isError: true,
97
100
}
@@ -201,7 +204,7 @@ async function generateWithMeiGen(
201
204
// 1. Submit generation request
202
205
constgenResponse=awaitapiClient.generateImage({
203
206
prompt,
204
-
modelId: model,
207
+
modelId: model||MEIGEN_DEFAULT_MODEL,
205
208
aspectRatio: aspectRatio||'1:1',
206
209
referenceImages,
207
210
})
@@ -241,10 +244,10 @@ async function generateWithMeiGen(
0 commit comments