Technical & DevelopmentIntermediate
venice-image-edit
Image edits, upscaling, and background removal
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/veniceai/skills --skill venice-image-editnpx skills add https://github.com/veniceai/skills --skill venice-image-editOr paste this URL into your assistant to install:
Overview
What This Skill Does
Image edits, upscaling, and background removal
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
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
}'
Lines 1 - 36 of 171
Recommendations