{"uid":"cap_07dBQ0qc5Rqt00IJLx4f5","slug":"juxtamode-virtual-try-on-9bc92e40","name":"JUXTAMODE Virtual Try-On","description":"Virtual Try-On image generation - combines your photo with a garment","url":"https://juxtamode.com/api/virtual-try-on?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["productUrl","personImageUrl"],"properties":{"prompt":{"type":"string","description":"Optional custom prompt for VTO generation"},"productUrl":{"type":"string","description":"URL of the garment (can be direct image URL or product page URL like Zara, H&M, etc.)"},"aspectRatio":{"enum":["1:1","3:4","4:3","4:5","9:16","16:9"],"type":"string","description":"Output aspect ratio"},"personImageUrl":{"type":"string","description":"URL of the person image (direct image URL or product page URL with model photo)"}}},"responseSchema":{"type":"object","properties":{"shareUrl":{"type":"string","description":"Public share page URL for viral distribution"},"resultImage":{"type":"string","description":"Cloudflare Images URL of the generated VTO result"},"x-payment-response":{"type":"object","properties":{"payer":{"type":"string","description":"Wallet address of the payer"},"settled":{"type":"boolean","description":"Whether payment was settled on-chain"},"transactionHash":{"type":"string","description":"Blockchain transaction hash"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xFD-cPcYLaMjFcRm5C9u_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a virtual try-on image by compositing a person's photo with a specified garment from a URL","exampleAgentPrompt":"Can you virtually try on this Zara blazer for me? Here's the product page: https://www.zara.com/us/en/blazer-p12345.html — and use this photo of me: https://mycdn.com/my-photo.jpg. I'd like a portrait aspect ratio.","exampleUseCases":null,"resultDescription":"Returns a Cloudflare-hosted URL of the generated try-on image showing the person wearing the garment, a public shareable page URL for viral distribution, and blockchain payment confirmation details including transaction hash and settlement status.","failureModes":["Invalid or inaccessible person image URL — returns error or empty result","Invalid or inaccessible product/garment URL — garment cannot be extracted","Unsupported retailer page layout — garment image cannot be parsed from product page","Payment not settled — x402 payment fails or is rejected, endpoint returns 402","Image generation failure — AI model fails to composite images, may return null resultImage","Invalid aspect ratio value — generation may fail or use a default"],"whenToPreferThis":"Use this endpoint when you need to generate a photorealistic image of a specific person wearing a specific garment, especially when pulling garments directly from fashion retailer product pages (Zara, H&M, etc.). It is the right choice when the user wants a shareable try-on result and is comfortable with per-call micropayment via x402/USDC. Prefer it over generic image generation APIs when fashion-specific try-on compositing is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:35:54.933Z","isFirstParty":false,"canonicalSlug":"juxtamode-virtual-try-on-9bc92e40"}