/api/v1/image/multi-edit
Edit or modify an image using multiple layered inputs (base image plus masks/overlays), up to the selected model's maximum input images (see the capabilities.maxInputImages field in GET /api/v1/models).
Supported input formats by Content-Type:
-
multipart/form-data: Only file uploads are supported. Send images as form file fields.
-
application/json: Base64 strings and URLs are supported:
- Raw base64 string: "iVBORw0KGgoAAAANSUhEUgAA..."
- Data URL: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
- HTTP/HTTPS URL: "https://example.com/image.png"
For models with resolution tiers that require explicit dimensions, omit aspect_ratio or set it to auto to infer the closest supported aspect ratio from the first input image. Provide aspect_ratio directly when exact output dimensions are required. Use output_format to request jpeg, jpg, png, or webp output.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
Request
- Base URL: https://api.venice.ai
- URL: https://api.venice.ai/api/v1/image/multi-edit
- Auth: one of:
- HTTP bearer
- API key in header SIGN-IN-WITH-X
Request body
Example request
{
"anon_user_id": "end-user-123",
"aspect_ratio": "16:9",
"output_format": "png",
"quality": "high",
"resolution": "1K"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.