Try-On Max
Try-On Max is a premium virtual try-on endpoint built for AI fashion photoshoots and publishable e-commerce content. It places products onto model images with enhanced fidelity, producing images suitable for PDPs, catalogs, and marketing assets.
This endpoint supports clothing, shoes, hats, jewelry, bags, and other wearable fashion items.
Unlike Try-On v1.6, which prioritizes speed for real-time consumer experiences, Try-On Max prioritizes image quality and detail preservation for professional content creation.
- Model Name:
tryon-max - Lifecycle: experimental
- Processing Time: 50 seconds
- Supported Resolution: up to 4K
- Output Formats: PNG, JPEG
- Delivery Methods: URL or Base64 encoding
- Credits: 4 per image
Request
Generate try-on images by submitting your product and model images to the universal /v1/run endpoint:
Request Parameters
Required Parameters
product_imageRequiredimage URL | base64
URL or base64 encoded image of the product (garment, accessory, etc.) to place on the model.
Base64 images must include the proper prefix (e.g., data:image/jpg;base64,<YOUR_BASE64>)
model_imageRequiredimage URL | base64
URL or base64 encoded image of the person to wear the product. The try-on process preserves the model's identity, pose, and styling while seamlessly integrating the product.
Base64 images must include the proper prefix (e.g., data:image/jpg;base64,<YOUR_BASE64>)
Optional Parameters
promptstring
Optional instructions to customize the try-on result. Use this to adjust how the product is worn or make minor styling changes.
Examples: "remove scarf", "tuck in shirt", "roll up sleeves", "open jacket".
Default: Empty string (uses intelligent defaults based on the images)
seedinteger
Sets random operations to a fixed state. Use the same seed to reproduce results with the same inputs, or a different seed to force different results.
Default: 42
Range: 0 to 2^32 - 1
num_imagesinteger
Number of images to generate in a single request. Must be between 1 and 4. Additional images consume more compute (and credits) and can increase processing time.
Default: 1
output_format'png' | 'jpeg'
Specifies the output image format.
png: Lossless quality, best for further editing or when maximum fidelity is needed.jpeg: Smaller file size with slight compression, suitable for direct web use.
Default: png
return_base64boolean
When set to true, the API will return the generated image as a base64-encoded string instead of a CDN URL. The base64 string will be prefixed according to the output_format (e.g., data:image/png;base64,... or data:image/jpeg;base64,...).
This option offers enhanced privacy as user-generated outputs are not stored on our servers when return_base64 is enabled.
Default: false
Response Polling
After submitting your request, poll the status endpoint using the returned prediction ID. See API Fundamentals for complete polling details.
Successful Response
When your try-on generation completes successfully, the status endpoint will return:
The output array contains URLs to your generated try-on images with the product seamlessly placed on the model.
Runtime Errors
Runtime errors for Try-On Max use the shared set in Error Handling.
Related Guides
- Prompting in FASHN - Learn how to write effective prompts for best results
- Image Preprocessing Best Practices - Optimize your input images for better results
- Data Retention & Privacy - Understand how FASHN handles your data