{"uid":"cap_rLeQWnf2BEb7J5vup6jHh","slug":"cortexcloud-image-to-image-transformation-dc6658bd","name":"CortexCloud Image-to-Image Transformation","description":"OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.","url":"https://api.cortexcloud.org/x402/v1/images/image2image","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"image":{"type":"string"},"model":{"type":"string"},"prompt":{"type":"string"}}},"responseSchema":{"type":"object","format":"application/json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"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":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MQotBpqibdau7VG3h4kUf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transforms an existing image using a text prompt and AI model via a pay-per-call x402 API, returning a modified version of the input image.","exampleAgentPrompt":"Take this photo of a city street (https://example.com/street.jpg) and transform it into a watercolor painting style using the stable-diffusion-xl model.","exampleUseCases":[{"title":"Artistic style transfer for photos","prompt":"I have this product photo at https://mystore.com/product.jpg — can you restyle it to look like a vintage oil painting using the best available model?"},{"title":"Creative concept visualization","prompt":"Transform this rough sketch at https://mysite.com/sketch.png into a photorealistic rendering of a modern living room using the prompt 'bright natural light, minimalist furniture, photorealistic'."},{"title":"Brand asset restyling","prompt":"Take my company logo at https://brand.com/logo.png and reimagine it in a neon cyberpunk style with the prompt 'glowing neon, dark background, futuristic' using the stable-diffusion model."}],"resultDescription":"Returns a JSON object containing the transformed image data (likely as a URL or base64-encoded image) generated by applying the text prompt to the source image using the specified AI model.","failureModes":["Invalid or inaccessible image URL returns an error","Unsupported model name returns a model-not-found error","Payment failure via x402 results in a 402 Payment Required response","Malformed prompt or missing required fields returns a 400 Bad Request","Model timeout or inference failure returns a 500 error"],"whenToPreferThis":"Choose this endpoint when you need to transform or restyle an existing image using a text prompt without managing API keys or subscriptions — ideal for AI agents that can pay per-call in USDC via x402 on Base. Prefer this over text-to-image endpoints when you have a source image to build upon rather than generating from scratch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:45.710Z","isFirstParty":false}