Generate images via Sophnet Qwen-Image-Plus and poll for task completion. Use when the user asks for Sophnet image generation, Qwen-Image-Plus, or requests an image from the Sophnet API.
使用 Sophnet 图像生成器 API 创建图像任务,轮询直至完成,然后返回图像 URL。
设置 API 密钥(推荐):
bash
export SOPHNETAPIKEY=YOURAPIKEY
使用绝对路径运行脚本(不要 cd 到技能目录):
bash
bash /home/shutongshan/.openclaw/workspace/skills/qwen-image-plus-sophnet/scripts/generate_image.sh --prompt 你的提示词
脚本输出:
使用 IMAGE_URL 值回复用户。
提示词:
text
一幅水墨风格的山景风光
命令:
bash
bash /home/shutongshan/.openclaw/workspace/skills/qwen-image-plus-sophnet/scripts/generate_image.sh \
--prompt 一幅水墨风格的山景风光 \
--negative-prompt 模糊,低质量 \
--size 1024*1024 \
--n 1 \
--watermark false \
--prompt-extend true
输出:
text
TASK_ID=7BWFICt0zgLvuaTKg8ZoDg
STATUS=succeeded
IMAGE_URL=https://dashscope-result-wlcb-acdr-1.oss-cn-wulanchabu-acdr-1.aliyuncs.com/7d/d5/20260203/cfc32567/f0e3ac18-31f6-4a1a-b680-a71d3e6bcbe03032414431.png?Expires=1770714400&OSSAccessKeyId=LTAI5tKPD3TMqf2Lna1fASuh&Signature=fF12GZ7RgGsC7OpEkGCapkBUXws%3D
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 qwen-image-plus-sophnet-1776368160 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 qwen-image-plus-sophnet-1776368160 技能
skillhub install qwen-image-plus-sophnet-1776368160
文件大小: 3.97 KB | 发布时间: 2026-4-17 16:11