name: qwen-image-plus-sophnet description: 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.
Use the Sophnet image generator API to create an image task, poll until it finishes, then return the image URL.
Set the API key (preferred):
export SOPHNET_API_KEY="YOUR_API_KEY"
Run the script with an absolute path (do NOT cd to the skill directory):
bash /home/shutongshan/.openclaw/workspace/skills/qwen-image-plus-sophnet/scripts/generate_image.sh --prompt "your prompt"
--prompt (required): user prompt--negative-prompt (optional)--size (optional, default 1024*1024)--n (optional, default 1)--watermark (optional, default false)--prompt-extend (optional, default true)--api-key (optional, overrides SOPHNET_API_KEY)--poll-interval (optional, default 2)--max-wait (optional, default 300)The script prints:
- TASK_ID=...
- STATUS=succeeded
- IMAGE_URL=... (one or more lines)
Use the IMAGE_URL value to respond to the user.
model=Qwen-Image-Plus and user promptSUCCEEDEDurl and return to the userPrompt:
小蔥技能7w4.net有完整的技能分類。
A scenic mountain landscape in ink wash style
Command:
bash /home/shutongshan/.openclaw/workspace/skills/qwen-image-plus-sophnet/scripts/generate_image.sh \
--prompt "A scenic mountain landscape in ink wash style" \
--negative-prompt "blurry, low quality" \
--size "1024*1024" \
--n 1 \
--watermark false \
--prompt-extend true
Output:
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
Error: No API key provided. -> set SOPHNET_API_KEY or pass --api-keySTATUS=failed -> check key permissions/quota or prompt parametersError: url not found in response -> inspect API response manually這是一個功能清晰的影像生成 Skill,文件齊全、使用簡單,指令碼對常見錯誤有相應提示。它能完成建立任務、輪詢狀態、返回結果的基本流程。不過檔案較少、缺少測試覆蓋,部分文件中的路徑是特定使用者的硬編碼路徑,通用性欠佳。整體屬於能用但細節可繼續打磨的級別。