API介绍
来自FASHN的图片处理服务
API调试台
登录后,探索更多精彩功能! 点击登录
API列表 (2)
| API描述 | 接口地址 | 请求方法 | 稳定性 | 参数说明 |
|---|---|---|---|---|
Fashn-Tryon(虚拟穿衣) | POST | 稳定 | 查看详情 | |
文档详情 请求参数 Header参数Authorizationstring必需 示例值: Bearer {{YOUR_API_KEY}}Body参数 application/jsonadjust_handsboolean可选 Allow to change the appearance of the model’s hands. Example use-cases: Remove gloves, get hands out of pockets, long sleeves that should cover hands. categorystring必需 tops | bottoms | one-pieces cover_feetboolean可选 Allows long garments to cover the feet/shoes or change their appearance. garment_imagestring必需 image url garment_photo_typestring可选 auto | flat-lay | model guidance_scaleinteger可选 Default: 2 Range: 1.5-5 long_topboolean可选 Adjusts internal parameters for better performance on long tops such as: Longline shirts, tunics, coats, etc. model_imagestring必需 image url nsfw_filterboolean可选 restore_backgroundboolean可选 Apply additional steps to preserve the original background. Runtime will be slower. Not needed for simple backgrounds. restore_clothesboolean可选 Apply additional steps to preserve the appearance of clothes that weren’t swapped (e.g. keep pants if trying-on top). seedinteger可选 timestepsinteger可选 Range: 10-50 | ||||
Fashn-Tryon-v1.5(虚拟穿衣1.5) | POST | 稳定 | 查看详情 | |
文档详情 请求参数 Header参数Authorizationstring必需 示例值: Bearer {{YOUR_API_KEY}}Body参数 application/jsoncategorystring可选 auto| tops | bottoms | one-pieces garment_imagestring必需 image url garment_photo_typestring可选 auto | model | flat-lay modestring可选 performance | balanced | quality model_imagestring必需 image url moderation_levelstring可选 none | permissive | conservative seedinteger可选 | ||||
API价格表
| 模型 | 说明 | 302.AI价格 |
|---|
Fashn-Tryon | 虚拟穿衣 |
| ||||
Fashn-Tryon-v1.5 | 虚拟穿衣v1.5 |
|
