{"uid":"cap_JmVg7YW51zqSbDFEy93SE","slug":"venice-ai-image-upscale-enhance-6880478f","name":"Venice AI Image Upscale & Enhance","description":"Image upscaling.","url":"https://api.venice.ai/api/v1/image/upscale?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAIAAAB7GkOtAAAAIGNIUk0A...","scale":2,"enhance":true,"enhancePrompt":"gold","enhanceCreativity":0.5},"required":["image"],"properties":{"image":{"anyOf":[{},{"type":"string"}],"description":"The image to upscale. Can be either a file upload or a base64-encoded string. Image dimensions must be at least 65536 pixels and final dimensions after scaling must not exceed 16777216 pixels. File size must be less than 25MB."},"scale":{"type":"number","default":2,"example":2,"maximum":4,"minimum":1,"description":"The scale factor for upscaling the image. Must be a number between 1 and 4. Scale of 1 requires enhance to be set true and will only run the enhancer. Scale must be > 1 if enhance is false. A scale of 4 with large images will result in the scale being dynamically set to ensure the final image stays within the maximum size limits."},"enhance":{"anyOf":[{"type":"boolean"},{"enum":["true","false"],"type":"string"}],"default":"false","example":true,"description":"Whether to enhance the image using Venice's image engine during upscaling. Must be true if scale is 1."},"replication":{"type":"number","default":0.35,"example":0.35,"maximum":1,"minimum":0,"nullable":true,"description":"How strongly lines and noise in the base image are preserved. Higher values are noisier but less plastic/AI \"generated\"/hallucinated. Must be between 0 and 1."},"enhancePrompt":{"type":"string","example":"gold","maxLength":1500,"description":"The text to image style to apply during prompt enhancement. Does best with short descriptive prompts, like gold, marble or angry, menacing."},"enhanceCreativity":{"type":"number","default":0.5,"example":0.5,"maximum":1,"minimum":0,"nullable":true,"description":"Higher values let the enhancement AI change the image more. Setting this to 1 effectively creates an entirely new image."}},"description":"Upscale or enhance an image based on the supplied parameters. Using a scale of 1 with enhance enabled will only run the enhancer.","additionalProperties":false},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5TK-_2JwIZSPAdj28rgdf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Upscales an image by a configurable scale factor (1–4x) and optionally enhances it with AI-driven style and detail improvements.","exampleAgentPrompt":"Can you upscale this image 4x using Venice AI and also run the enhancer on it with a 'cinematic' style and medium creativity (0.5)?","exampleUseCases":null,"resultDescription":"A binary image file containing the upscaled and/or enhanced version of the input image, with dimensions up to the maximum allowed (16,777,216 pixels total). Returned as a binary stream (image file).","failureModes":["Image dimensions below minimum (65,536 pixels) — request rejected","Final image would exceed 16,777,216 pixels — scale dynamically capped or rejected","File size exceeds 25MB — request rejected","scale=1 with enhance=false — invalid combination, request rejected","402 Payment Required — insufficient balance, top-up instructions returned","Invalid base64 encoding — malformed input error","Unsupported image format — format error"],"whenToPreferThis":"Choose this endpoint when you need to increase the resolution of an existing image (up to 4x), optionally combined with AI-driven style enhancement using a text prompt. Ideal when quality preservation matters and you want control over creativity vs. fidelity trade-offs via replication and enhanceCreativity parameters. Prefer over generic resize tools when AI hallucination-avoidance (replication parameter) is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:27.537Z","isFirstParty":false,"canonicalSlug":"venice-ai-image-upscale-enhance-6880478f"}