分析公众号文章并生成手绘/漫画风格的封面与插图。当用户提供文章内容或主题并请求配图建议或生成图片时调用。
这个技能专注于将微信公众号文章、技术博客的内容转化为极简手绘/漫画风格的视觉创意,并可以通过调用 Alibaba Qwen-Image-2.0 生成实际图片。
Hand-drawn, Doodle, Sketch, Stick figures, Minimalist, Technical Manga, Excalidraw style, xkcd style.当用户提供文章内容后,请按以下步骤执行:
深度分析:
生成方案:
hand-drawn doodle style, minimalist sketch, [画面核心描述], text in the image written in Chinese characters: "[金句中文内容]", stick figures, white background, simple black lines, high contrast, [情绪关键词], --ar 16:9。确认与生成 (关键步骤):
DASHSCOPE_API_KEY 中设置),使用 RunCommand 调用生成脚本:
pip install dashscope requests # 确保依赖已安装
python .trae/skills/wechat-illustrator/src/generate_image.py --prompt "YOUR_PROMPT_HERE" --output-dir "generated_images" --api-key "USER_API_KEY"
hand-drawn doodle style, minimalist sketch, a stressed stick figure programmer in the center, sweating profusely, surrounded by large black arrows pointing at him representing pressure, on the left a product manager stick figure holding a document saying "CHANGE", on the right a smoking server with "BUG" text, simple rough black lines on white background, red and blue accents, humorous and chaotic atmosphere, wide shot --ar 16:9hand-drawn doodle style, minimalist sketch, a long meeting table with stick figures sitting around, most stick figures are sleeping or looking at phones, one stick figure standing and presenting with speech bubble containing "Blah Blah", simple black lines on white background, boring atmosphere, humorous