qwen-image-plus-sophnet

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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "qwen-image-plus-sophnet" with this command: npx skills add duffycoder/qwen-image-plus-sophnet

Qwen-Image-Plus (Sophnet) Image Generation

Use the Sophnet image generator API to create an image task, poll until it finishes, then return the image URL.

Quick Start

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"

Script Options

  • --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)

Output Contract

The script prints:

  • TASK_ID=...
  • STATUS=succeeded
  • IMAGE_URL=... (one or more lines)

Use the IMAGE_URL value to respond to the user.

Workflow

  1. POST create-task with model=Qwen-Image-Plus and user prompt
  2. Poll GET task status until SUCCEEDED
  3. Extract url and return to the user

Real Example (captured run)

Prompt:

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

Common Errors

  • Error: No API key provided. -> set SOPHNET_API_KEY or pass --api-key
  • STATUS=failed -> check key permissions/quota or prompt parameters
  • Error: url not found in response -> inspect API response manually

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

AIWolfPK - AI狼人杀

四个AI互相猜疑,你坐着看戏。每局30秒,到底谁是狼? Four AIs play Werewolf while you watch. 30s per round. Spot the wolf before they do.

Registry SourceRecently Updated
General

Project Analyzer

Analyze any project directory and produce a detailed report covering what the project does, its tech stack, folder structure, entry points, how to run it, an...

Registry SourceRecently Updated
General

Thought-Retriever

提炼对话回答中的核心洞察为高置信度知识晶体,存储于本体驱动记忆系统的自我进化与复用。

Registry SourceRecently Updated
General

Miaoji Bid Guard Pro

亚马逊广告护城河Pro版,90天ROI预测+多活动协同+季节性出价+关键词攻防矩阵。 从单次调价建议升级为完整的广告战役规划。基础功能可使用 miaoji-bid-guard 免费版。

Registry SourceRecently Updated