Rechercher

PythonReactSEOPDF
OpenClaw

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.

duffycoder0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install duffycoder/qwen-image-plus-sophnet

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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 p...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/duffycoder/qwen-image-plus-sophnet
Version
—
Commit
4ec4be06334fead12c6783813ace43e3d3bff3bd
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 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):
```bash
export SOPHNET_API_KEY="YOUR_API_KEY"
```

Run the script with an absolute path (do NOT cd to the skill directory):
```bash
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:
```text
A scenic mountain landscape in ink wash style
```

Command:
```bash
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:
```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
```

## Common Errors

- `Error: No API key provided.` -> set `SOPHNET_API_KEY` or p...

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.