fashn-logo

FASHNAI

May 6, 2025

New Image Output Options for API Responses

We’ve added two new parameters to give you more control over image delivery:

  • output_format: Choose between 'png' (highest quality) and 'jpeg' (faster, optimized for real-time use cases like virtual fitting rooms). Default: 'png'.

  • return_base64: When set to true, the API returns a base64-encoded image string instead of a CDN URL — ideal for fully private, ephemeral use. Default: 'false'.

Check out the updated API docs for usage details.