zengwenliang416/skills-hubs/image-api-workbench
Claude Code and agent skill by zengwenliang416/skills-hubs
- community
Checking that the SKILL.md file is still in the repository.
Generate, edit, probe, and verify images through the OpenAI Images API or compatible gateways such as NewAPI. Use for GPT Image 2.5 Sunburst or Flare generation, reference-image editing, transparent assets, model and parameter compatibility checks, streaming partials, covers, social graphics, and bilingual visual localization. Triggers on image API, GPT Image, gpt-image-2.5, NewAPI image, generate image, edit reference image, 生成图片, 生图, 配图, 封面图, 透明图, 图片编辑, 参考图编辑, 双语图片, 模型可用性. Excludes image search, visual critique, local-only bitmap editing, and requests that explicitly require the built-in image generation tool instead of an API workflow.
Install
npx vskill@latest install zengwenliang416/skills-hubs/image-api-workbenchSKILL.md
Image API Workbench
Purpose
Run reproducible Images API generation or editing against OpenAI or a reviewed compatible gateway. The CLI manages named gateway profiles and validates requests, catalogs, streaming partials, outputs, and evidence. Default to gpt-image-2.5-sunburst; choose gpt-image-2.5-flare when generation speed and throughput matter more than maximum edit precision. Catalogs are route evidence, not endpoint proof.
Workflow
- Read model support when changing models or
advanced parameters.
- Use
--show-configfor gateway diagnosis. Configure a named profile only
when a route needs to be persisted; never put an API key in profile JSON.
- Use
--dry-runfor new or uncertain parameter combinations, and
--list-remote-models only when catalog discovery is needed.
- Generate with
/v1/images/generations; add--input-imageto switch to
/v1/images/edits. Use transparent PNG/WebP or streaming flags when the selected endpoint supports them.
- Save assets outside this skill and inspect the image plus metadata sidecar.
Both GPT Image 2.5 models accept xhigh and max quality. Keep gpt-image-2 only when an existing route explicitly requires it.
Safety Defaults
- Deprecated or retired models require an explicit allow flag; keep the current
model status in model support.
- Retired DALL-E models are blocked unless
--allow-retired-modelis explicit. - Known GPT Image parameters are model-validated. Provider extensions require
--allow-provider-extensions.
- Credentials come from environment variables or token files. Never persist
keys in prompts, metadata, skill files, reports, or logs.
- Profile files persist only endpoint, model, timeout, and token-file path.
They are written with 0600 permissions.
- HTTP
524means an intermediary gateway stopped waiting for its upstream;
increasing only the CLI timeout does not extend that gateway's own limit.
- Metadata stores a prompt hash by default. Prompt preview is opt-in.
Editing And Localization
For matched bilingual visuals, create one approved master and edit that exact image for each language. Preserve composition and non-text details; replace visible copy only. Build a side-by-side review with scripts/bilingual_contact_sheet.py.
See operating guide for commands, error classification, streaming behavior, and verification. Routing boundaries are covered by evals/trigger_cases.json.
Output Contract
A successful paid call requires:
- stdout JSON has
ok: true; - final image exists and is non-empty;
- metadata sidecar exists unless explicitly disabled;
- detected format and dimensions are plausible;
actual_size_matches_requestis checked rather than inferred;- edit metadata identifies each input by path, bytes, SHA-256, and dimensions.
Catalogs and dry runs do not prove endpoint support. Paid probes require user approval.
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
- SKILL.md in the repositoryCheckingskills/image-api-workbench/SKILL.md
Popularity
- 7-day trend score
- 5
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
[](https://verified-skill.com/skills/zengwenliang416/skills-hubs/image-api-workbench)