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.
npx skills add 0xatd/cheaptokens-skills --skill venice-image-editgit clone --depth 1 https://github.com/0xatd/cheaptokens-skillsWrote 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.
[](https://agentmods.dev/skills/0xatd/cheaptokens-skills/venice-image-edit)<a href="https://agentmods.dev/skills/0xatd/cheaptokens-skills/venice-image-edit"><img src="https://agentmods.dev/badge/skills/0xatd/cheaptokens-skills/venice-image-edit/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.
<a href="https://agentmods.dev/skills/0xatd/cheaptokens-skills/venice-image-edit"><img src="https://agentmods.dev/badge/skills/0xatd/cheaptokens-skills/venice-image-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.02153 |
| Opus 5 | $0.00034 | $0.01077 |
| Sonnet 5 | $0.00013 | $0.00431 |
| Haiku 4.5 | $0.00007 | $0.00215 |
Grade A, and why
venice-image-edit 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 11d 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.
curl https://api.venice.ai/api/v1/image/edit \ How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Venice Image Editing
Four endpoints, all operating on existing images:
| Endpoint | Purpose |
|---|---|
POST /image/edit |
Transform one image with a text prompt. |
POST /image/multi-edit |
Composite / layer 2–3 images with a single prompt. Also has a multipart/form-data variant. |
POST /image/upscale |
Upscale 2–4× and/or enhance quality. |
POST /image/background-remove |
Produce a transparent cutout. |
For text-to-image generation, see venice-image-generate.
Shared rules
- Input image accepts base64 string, file upload (multipart for
/image/multi-edit), or HTTPS URL (for edit + multi-edit + background-remove). - File size < 25 MB. Image dimensions must be between 65,536 (256×256 equivalent) and 33,177,600 pixels (~5,761×5,761). Upscale caps at 16,777,216 pixels after scaling.
- HTTPS URLs must be publicly reachable from Venice's network.
- All four endpoints return the edited image as binary
image/png— there is noreturn_binaryfield on edit / multi-edit / upscale / background-remove (that flag only exists on/image/generate).
/image/edit
Edit one image with a short, descriptive prompt.
curl https://api.venice.ai/api/v1/image/edit \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-edit",
"prompt": "Change the color of the sky to a sunrise",
"image": "iVBORw0KGgoAAAANSUhEUg...",
"aspect_ratio": "16:9",
"safe_mode": true
}'
| Field | Notes |
|---|---|
model |
Default qwen-edit. See GET /models?type=inpaint for edit-capable models. modelId is accepted for backwards compatibility but deprecated on /image/edit — prefer model. |
prompt |
Required, ≤ 32 768 chars (usually 1500 is plenty). Short & specific works best. |
image |
Required. Base64 string, file upload, or https:// URL. |
aspect_ratio |
Optional: auto, 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5. Supported values vary per model — check constraints on GET /models. |
safe_mode |
Default true; blurs adult content. |
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.
- 11d ago First seen · 177 lines · 67 tokens per session scan A 2704dfe000b3
venice-image-edit is a skill published in the GitHub repository 0xatd/cheaptokens-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 2,153 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
image-prompting
Use when generating or editing images via blockrunimage — especially with GPT Image 2, Nano Banana, or Grok Imagine for posters, UI mockups, marketing assets, product shots, or anything with on-image text. Turns vague user requests ("make me a cool poster") into structured, text-accurate prompts that actually render…
openai-compatible-imagegen
Generate, edit, and batch-process images through the bundled script and configured API Key provider (OpenAI-compatible or Atlas Cloud). Use for photos, illustrations, product visuals, posters, covers, diagrams, UI references, game art, transparent subjects, reference-image edits, inpainting, multi-reference…
storyboard-to-video
Turn a single N-frame storyboard image (e.g. a 3x3 grid) into a multi-shot AI video with seamless cuts, paid per-call through taskfuel.ai/x402. Use when the user has a storyboard/grid image and wants it animated, wants a storyboard generated from scratch and then animated, mentions "storyboard to video", or wants…
build-brand-system
Create a brand identity from a product brief — pick a visual direction, write the spec (palette, type, logo, voice, usage rules), and generate one 3x3 board that shows the system in use, paid per-call through taskfuel.ai. Use when the user wants a brand, visual identity, style guide, brand system, design language, or…
worldclaw-openworld
Agentic coarse-to-fine blueprint for generating large-scale, explorable, editable 3D open-world scenes from a single open-ended text prompt — derived from Tencent Hunyuan's WorldClaw (arXiv 2608.05248, Guo/Li/Li/Huang, 2026). Use whenever a project needs to generate a whole 3D world / open-world scene / large terrain…
bridgenode
BridgeNode MCP wrapper — stdio MCP server proxying to remote streamable-HTTP endpoint with automatic x402 payment on Solana USDC. No API keys. Use when an agent needs LLM inference through MCP (Claude Code, Cursor, etc.) and has no provider API key.