Unified interface for generating images using ShortArt AI with three specialized modes.
SHORTART_API_KEY is required. Visit https://shortart.ai/home and click on your profile picture to get the key. Configure via:
Method 1: OpenClaw Config
{
"skills": {
"entries": {
"shortart-image-generator": {
"env": { "SHORTART_API_KEY": "your_api_key_here" }
}
}
}
}
Method 2: Shell Environment
export SHORTART_API_KEY="your_api_key_here"
IMPORTANT: After setting the environment variable, restart your terminal or run source ~/.zshrc to apply the changes.
Identify user intent and route to appropriate mode:
When to use: User wants to create artwork from text descriptions or reference images
Triggers: "画一张图", "生成图片", "create image", "draw", "以图生图"
See: references/text-to-image.md
When to use: User wants product photography or Amazon listing images
Triggers: "套图", "生成套图", "组图", "suit image", "Image Set", "Photo Gallery", "A Set of Photos"
When to use: User wants to use templates for posters, social media graphics, or marketing materials
Triggers: "模版生图", "用模版生成图片", "template image generation", "create from template", "推荐模版", "recommend template", "模版推荐"
See: references/template-image.md
echo $SHORTART_API_KEY共 1 个版本