{"uid":"cap_c9YsbTMaO8udV1NYH_-qW","slug":"agents-vimmerse-net-vimmerse-image-to-image-60b34dd0","name":"Vimmerse Image to Image","description":"Transforms or reimagines a source image using a text prompt.\n\nProvide **`image_url`** (from upload or any public HTTPS URL). Response asset URLs are in **`results`**.\n\n### Parameters\n\n| Field | Type | Default | Description |\n|-------|------|---------|-------------|\n| `image_url` | string | **required** | Source image URL |\n| `prompt` | string | `\"\"` | Desired edits or style |\n| `option` | string | `AutoI` | Edit model/mode |\n| `aspect_ratio` | string | — | Optional output ratio |\n| `quantity` | integer | `1` | Variations (1–4) |\n| `enhance_image` | boolean | `false` | Super-resolution post-processing |\n| `async_mode` | boolean | `false` | Async processing |\n| `webhook_url` | string | — | Optional callback |\n\n### Example\n\n```python\nimport requests\n\nurl = \"https://api.vimmerse.net/v2/image/image-2-image\"\nheaders = {\n    \"X-Api-Key\": \"YOUR_API_KEY\",\n    \"Content-Type\": \"application/json\",\n}\npayload = {\n    \"image_url\": \"https://media.vimmerse.net/example/uploads/shoe.png\",\n    \"prompt\": \"Make the shoe blue with a sky background\",\n    \"option\": \"AutoI\",\n    \"aspect_ratio\": \"16:9\",\n    \"quantity\": 1,\n}\n\nresponse = requests.post(url, headers=headers, json=payload, timeout=300)\nresponse.raise_for_status()\nprint(response.json()[\"results\"])\n```","url":"https://agents.vimmerse.net/v2/image/image-2-image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","title":"Image2ImageRequest","required":["image_url"],"properties":{"option":{"enum":["AutoI","Seedream","NanoBananaT2","NanoBananaPro","QwenImage","GPTImage","FluxPro","FluxTurbo","ImageUtilsDepth","NanoBanana","FluxKontextPro","StableDiffusion3.5"],"type":"string","title":"Option","default":"AutoI"},"prompt":{"type":"string","title":"Prompt","default":"","examples":["Make image more realistic."],"description":"Text prompt to edit your image."},"quantity":{"type":"integer","title":"Quantity","default":1,"maximum":4,"minimum":1,"description":"Number of images to generate."},"image_url":{"type":"string","title":"Image URL","description":"URL of the source image."},"async_mode":{"type":"boolean","title":"Async Mode","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook URL"},"aspect_ratio":{"anyOf":[{"type":"string","pattern":"^(\\d+):(\\d+)$"},{"type":"null"}],"title":"Aspect Ratio"},"enhance_image":{"type":"boolean","title":"Enhance Image","default":false,"description":"Enhances the image by applying 1× super-resolution during post-processing."}},"description":"Request body for POST /v2/image/image-2-image. Content-Type: application/json."},"responseSchema":{},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.12","displayCostAsset":"USD","priceDynamic":true,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"dynamic","summary":"$0.12/call (dynamic — varies by input)","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HTzSFk8iVZGL3gPUCA9w6","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.vimmerse.net","brandSlug":"agents-vimmerse-net-x402","brandBaseUrl":"https://agents.vimmerse.net","brandDocsUrl":null,"whatItDoes":"Transforms or reimagines a source image using a text prompt, with support for multiple AI models, aspect ratio control, and super-resolution enhancement.","exampleAgentPrompt":"Take this image of a shoe (https://media.vimmerse.net/example/uploads/shoe.png) and make it blue with a sky background — use the AutoI model and output 2 variations in 16:9 format with super-resolution enhancement turned on.","exampleUseCases":[{"title":"Product photo restyling for e-commerce","prompt":"I have a product shot of our leather bag at this URL: https://media.vimmerse.net/example/uploads/bag.png — can you restyle it to look like it's in a luxury boutique setting, using the FluxPro model, and give me 3 variations in 1:1 format?"},{"title":"Portrait art style transformation","prompt":"Transform this portrait photo at https://media.vimmerse.net/example/uploads/person.jpg into a watercolor painting style using the Seedream model, output in 4:3 aspect ratio, and enhance the resolution after."},{"title":"Concept visualization from reference image","prompt":"Take my rough sketch at https://media.vimmerse.net/example/uploads/sketch.png and make it look like a realistic architectural rendering using the StableDiffusion3.5 model — I just need 1 result, no need for async."}],"resultDescription":"A JSON response containing a 'results' array with URLs pointing to the transformed image assets. Up to 4 image variations may be returned depending on the 'quantity' parameter. If async_mode is enabled, a job ID is returned for polling instead.","failureModes":["Invalid or inaccessible image_url returns an error","Unsupported aspect_ratio format (not matching \\d+:\\d+) causes validation failure","quantity out of range (below 1 or above 4) triggers a validation error","Insufficient credits returns a payment or authorization error","Model/option not available may return a service error","Webhook URL unreachable causes silent callback failure in async mode"],"whenToPreferThis":"Choose this endpoint when you need to transform, restyle, or reimagine an existing image guided by a text prompt, rather than generating an image from scratch. It is especially useful when source image structure or content should be preserved while applying style changes, color edits, or background replacements. The variety of model options (AutoI, FluxKontextPro, GPTImage, Seedream, etc.) makes it flexible for different quality/speed tradeoffs. Prefer it over text-to-image when you have a reference image to start from.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T22:53:34.538Z","isFirstParty":false,"canonicalSlug":"agents-vimmerse-net-vimmerse-image-to-image-60b34dd0"}