dashscope-image-gen

dashscope-image-gen is a skill for Claude Code from desirecore/market. It costs 56 tokens per session (1,950 once invoked), scanned A, original, MIT.

An image-generation guide for creating pictures through an OpenAI-compatible image API. It supports the listed GPT Image and Wan models when the required service is configured.

In plain words
What is it for?
Use it when someone asks for a new image, such as an illustration, concept, mockup, or other generated visual.
Why use it?
It gives the coding agent a defined way to request generated images, handle the returned image data, and make the result available to the user.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when someone asks for a new image, such as an illustration, concept, mockup, or other generated visual.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desirecore/market/dashscope-image-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add desirecore/market --skill dashscope-image-gen
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dashscope-image-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/desirecore/market/dashscope-image-gen/github.svg)](https://agentmods.dev/skills/desirecore/market/dashscope-image-gen)
Your own site
<a href="https://agentmods.dev/skills/desirecore/market/dashscope-image-gen"><img src="https://agentmods.dev/badge/skills/desirecore/market/dashscope-image-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dashscope-image-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/desirecore/market/dashscope-image-gen"><img src="https://agentmods.dev/badge/skills/desirecore/market/dashscope-image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,950 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01950
Opus 5.5 $0.00022 $0.00780
Sonnet 5.5 $0.00011 $0.00390
Haiku 4.5 $0.00006 $0.00195

Measured 23d ago against content hash 7239dd3f8f49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dashscope-image-gen scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Use the current agent-service address and caller authentication from the system's local API instructions, including the current isolated home. Do not guess another instance's port or obtain an upstream key. For a self-si
skills/dashscope-image-gen/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dashscope-image-gen Skill

Scope and prerequisites

Generate and deliver images with a configured image-generation service. This skill does not provide a hosted model, credentials, quota, or a subscription. The user needs an enabled image_gen provider and access to the selected model; provider terms and separate usage charges apply. A catalog entry is not proof that an upstream channel is currently available.

Model and provider selection

  1. Honor the user's explicit model/provider choice. Check the current runtime catalog and applicable API contract rather than guessing from a model family or this skill's name.
  2. When the user does not name a model, use the saved defaultServiceMap.image_gen binding, including its provider. Do not replace it with a model named in an example. If no usable default exists, inspect currently enabled image-generation capabilities and choose within the user's requirements; clarify when a choice would change their requested service or cost constraints.
  3. Resolve a binding through available compute-inspection tools or GET /api/compute/config on the current agent-service. The configuration API masks keys; extract only the default binding, provider ID/enabled state, and image-model metadata needed for the request. Never request or print credentials. Model serviceType can be image_gen or an array containing it. For raw API calls, resolve the upstream model ID as userOverrides.apiModelId, then apiModelId, then modelName.
  4. Availability comes from the actual selected provider and response. There is no static model whitelist or guaranteed default in this skill. For example, a Wan model may be offered through an official gateway or a user's own DashScope connection; its name alone does not determine the route.

Choose an execution path

Use the current tool/API contract that fits the request. When available and suitable, GenerateImage handles provider adaptation, generation, media persistence, and dimension receipts in one call. Discover its current schema if needed. For a saved default, pass its provider ID as provider and omit model so the tool resolves the saved model; for an explicit model, pass the verified model ID and provider. Preserve the user's prompt, reference images, quantity, and requested dimensions.

Read the full file on GitHub · 134 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · -106 lines · -38 tokens per session 7239dd3f8f49
  2. 2mo ago Changed 99df0bc17ea7
  3. 3mo ago First seen · 240 lines · 94 tokens per session scan A 3be681fc6405

Subscribe to this mod's changes

dashscope-image-gen is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 1,950 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

dashscope-image-gen compared with skills from other repositories

dashscope-image-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dashscope-image-gendesirecore/marketSkill2todayMITA56Claude Code
wegent-image-generationwecode-ai/WegentSkill895yesterdayApache-2.0A28Claude Code, Codex
image-gen-toolxuiltul/animaworksSkill267yesterdayApache-2.0A70Claude Code, Codex
imagegennexus-research-lab/nexusSkill165todayApache-2.0A65Claude Code, Codex
rexai-image-generationrexleimo/aiosSkill626d agoMITA80Codex
gemini-image-generatoroyi77/1ai-skillsSkill19todayMITA21Claude Code
portrait-916rexleimo/aiosSkill626d agoMITA55Claude Code, Codex