weshopai/weshop-dsh-plugin/weshop-openapi

Claude Code and agent skill by weshopai/weshop-dsh-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use for WeShop image and video generation, editing, and transformation tasks — virtual try-on, model swap, background replace, pose change, canvas expand, background removal, AI video generation, product/photo generation, and more.

Install

npx vskill@latest install weshopai/weshop-dsh-plugin/weshop-openapi

SKILL.md

WeShop OpenAPI

Mandatory per-turn gate

For every new user turn that asks to generate, edit, transform, upscale, or animate content, this Skill must be invoked through the Skill tool before any WeShop generation call. Invoke it again even if it was already used earlier in the conversation, and again after context compaction, retry, or handoff. Reading this file or the package README with filesystem/Bash does not replace invoking the Skill.

Use the recipes in this Skill as the source of truth. Do not search the package source or the web for parameters already documented here.

WeShop generation runs server-side through the native Cordis tools (weshop_generate_run / weshop_get_run). The WESHOP_API_KEY lives in the Harness host process — never echo it, never put it in a tool argument or a canvas provenance record, and never send it anywhere other than https://openapi.weshop.ai/openapi/*. If the key is missing, stop before any API request and tell the user to open the WeShop canvas and click Configure API Key in its top bar, then retry; alternatively they may set WESHOP_API_KEY before starting Harness. Direct them to https://www.weshop.ai/apiKey only to obtain a key.

Workflow

  1. Read the canvas (weshop_canvas_get_state) and use the selected material item as the source. Use its asset.localPath when available, else its asset.url.
  2. Choose the agent and version from the table below; read that agent's parameter notes.
  3. Call weshop_generate_run with { agent, originalImage?, referenceImages?, taskName?, params, wait: true }. Use originalImage for agents documented with one legacy source image. Use referenceImages for agents documented with images; local paths are uploaded and copied to both input.images and params.images automatically. Result URLs come back in data.executions[*].result[*].image (image agents) or *.video / *.videoPoster (video agents).
  4. On success, publish each returned remote URL directly with weshop_canvas_publish_result (images) or weshop_canvas_publish_asset (video/audio). Do not download the generated file first. Include complete provenance (method, agent, version, executionId, prompt/taskName, sourceItemIds, returned URL, completion time). A local path is supported only when the generating tool genuinely returns a local-only file. Never overwrite or reclassify the source material item.
  5. If the run fails or times out, report the API error and offer to retry (the error envelope's retryable flag signals whether a retry is worthwhile).

Agents (all v1.0)

AgentUse whenRequired params (plus batchCount 1–16 optional)
aimodelFashion model photos — replace model/scene, keep garmentgeneratedContent (freeCreation/referToOrigin), maskType (autoApparelSegment, autoUpperApparelSegment, autoLowerApparelSegment, autoSubjectSegment, autoHumanSegment, inverseAutoHumanSegment, custom); one of textDescription/locationId/fashionModelId; optional negTextDescription, pose, customMaskUrl
aiproductProduct still-life — replace/enhance backgroundgeneratedContent, maskType (autoSubjectSegment/custom); one of textDescription/locationId; optional negTextDescription, customMaskUrl
aiposeChange pose, keep garmenttextDescription (pose instruction); optional generateVersion (lite default/pro)
expandimageExpand canvas, AI fills new areatargetWidth, targetHeight (max 4096); optional fillLeft, fillTop (default centered)
removeBGRemove/replace backgroundmaskType (autoSubjectSegment/custom); optional backgroundHex or backgroundId (omit both → transparent), customMaskUrl
virtualtryonTry a garment on a modelgenerateVersion (weshopFlash/weshopPro/bananaPro), descriptionType (custom/auto); textDescription required when custom ('Figure 1'=garment, 'Figure 2'=model, 'Figure 3'=background); optional aspectRatio, imageSize (bananaPro: 1K/2K/4K), model/background reference images
gpt-imageHigh-quality generation or reference-image editing with GPT Image 2textDescription, aspectRatio (auto, 1:1, 2:3, 3:2, 4:3, 3:4, 16:9, 9:16, 21:9; default 3:4), imageSize (1K/2K/4K; default 1K), quality (low/medium/high; default low); optional batchCount; pass 0–5 source images via top-level referenceImages, not originalImage

Other common agents: seedream, nano-banana-edit, midjourney, z-image, qwen-image-edit, firered-image-edit (image); kling, seedance, veo-ai, vidu-ai, wan-ai, grok-imagine-video, hailuo-ai, sora-2 (video). When in doubt about an agent's parameters, prefer a documented agent in this table or ask one targeted question rather than guessing.

gpt-image recipes

Text-to-image (no source image):

json
{
"agent": "gpt-image",
"version": "v1.0",
"params": {
"textDescription": "Describe the desired image precisely",
"aspectRatio": "3:4",
"imageSize": "1K",
"quality": "low",
"batchCount": 1
},
"wait": true
}

Edit from selected canvas images: use the same payload and add "referenceImages": ["<selected localPath or URL>"] (up to 5). Describe what must change and what must remain unchanged in textDescription.

Notes

  • maskType = protected region: content inside the mask stays unchanged; everything outside is regenerated. custom requires customMaskUrl (public PNG URL) or customMask (base64 PNG without the data:image/png;base64, prefix); dimensions should match the source.
  • generatedContent: freeCreation = freer generation; referToOrigin = stay close to the source.
  • batchCount default is 1; set it explicitly for more variants.
  • Polling is handled by the tool (wait: true); set wait: false for long video runs and poll with weshop_get_run.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/weshopai/weshop-dsh-plugin/weshop-openapi/badge)](https://verified-skill.com/skills/weshopai/weshop-dsh-plugin/weshop-openapi)

Something wrong with this skill or its page? Tell us.