1.0.1
  • 1.0.1
  • 1.0.0
  1. Create Task
1.0.1
  • 1.0.1
  • 1.0.0
  • Get Started
  • API Reference
    • Create Task
      • Image To Video
        POST
      • Instruct Edit
        POST
      • Try-On (Apparel)
        POST
      • Try-On (Accessories)
        POST
      • Lifestyle Scene
        POST
      • Swap Fashion Model
        POST
      • Background Replacer
        POST
      • Segment Image By Prompt
        POST
      • Segment Image By Type
        POST
      • Background Remover
        POST
      • Pose Changer
        POST
    • Upload Asset File
      POST
    • List Preset Materials
      GET
    • Check Task Status
      GET
    • Get Download Url
      GET
    • Retrieve API Credit Usage
      GET
  • Help
    • Download File Samples
    • Error Codes
    • FAQ
  • Schemas
    • Schemas
      • BaseApiExtend Copy
      • ApiChatRecreateExtend
      • ApiImageMakeResult
      • AnalyzeImgTagProcessDto
      • ApiResponse«ApiImageFileKey»
      • Pose Changer Request
      • ApiImageFileKey
      • Image to video
      • Virtual Try-on 2.0 Parameters
      • Intelligent Wear Parameters
      • Image Segmentation Request
      • Instruction-based Image Editing Parameters
      • ApiResponse«PageResultVo«ApiImageStyleResult»»
      • Scene Fission Parameters
      • AI Model Change Parameters
      • Lifestyle Image Generation Parameters
      • AnalyzeImgTagResultDto
      • PageResultVo«ApiImageStyleResult»
      • ApiCreditUsage
      • Clothing Information
      • ApiImageStyleResult
      • ApiImageDownloadResult
      • ApiImageMake
      • ApiImageMakeResult
      • ApiMakeResult
      • ApiResponse«ApiCreditUsage»
      • ApiResponse«ApiImageDownloadResult»
      • ApiResponse«ApiImageMakeResult»
      • ApiResponse«ApiUploadResult»
      • ApiResponse«IdData«string»»
      • ApiTryOnResult
      • ApiTryonAccessoryCreateVo
      • ApiUploadResult
      • ApiVideoCreateVo
      • ApiVideoResult
      • BaseApiExtend
      • CanvaDesignCreateVo
      • CanvaDesignSaveResultVo
      • CreateCutoutProcessDto
      • CutoutProcessDto
      • FileUploadCreateVo
      • FileUploadDto
      • GenerateFileDto
      • GenerateThumbImageCreateVo
      • IdData«string»
      • ImageChatDto
      • ImageChatShowDto
      • ImageFeedbackVo
      • ImageMakeDto
      • ImageMakeInfoDto
      • ImageMakeStyleDto
      • ImageMakeStyleTagDto
      • ImageMakeStyleTagListDto
      • ImageMakeTaskResultDto
      • ImageShowDto
      • ImageTag
      • InteractCutoutPoint
      • InteractCutoutProcessDto
      • InteractCutoutProcessResultDto
      • InteractEraseProcessDto
      • InteractEraseProcessResultDto
      • OnlyIdsVo«long»
      • OnlyListVo«搜索灵感中心电商类目»
      • OnnxSegmentImageProcessDto
      • OnnxSegmentImageProcessResultDto
      • PageResultVo«FileUploadDto»
      • PageResultVo«ImageChatDto»
      • PageResultVo«ImageChatShowDto»
      • PageResultVo«ImageMakeStyleDto»
      • PageResultVo«ImageShowDto»
      • ResponseDto«AnalyzeImgTagResultDto»
      • ResponseDto«ApiMakeResult»
      • ResponseDto«ApiTryOnResult»
      • ResponseDto«ApiVideoResult»
      • ResponseDto«CutoutProcessDto»
      • ResponseDto«GenerateFileDto»
      • ResponseDto«IdData«string»»
      • ResponseDto«ImageChatDto»
      • ResponseDto«ImageMakeDto»
      • ResponseDto«ImageMakeInfoDto»
      • ResponseDto«ImageMakeStyleDto»
      • ResponseDto«ImageShowDto»
      • ResponseDto«InteractCutoutProcessResultDto»
      • ResponseDto«InteractEraseProcessResultDto»
      • ResponseDto«Map«int,List«ImageMakeStyleTagDto»»»
      • ResponseDto«Map«long,ImageMakeStyleDto»»
      • ResponseDto«Map«string,object»»
      • ResponseDto«Map«string,string»»
      • ResponseDto«OnlyListVo«搜索灵感中心电商类目»»
      • ResponseDto«OnnxSegmentImageProcessResultDto»
      • ResponseDto«PageResultVo«FileUploadDto»»
      • ResponseDto«PageResultVo«ImageChatDto»»
      • ResponseDto«PageResultVo«ImageChatShowDto»»
      • ResponseDto«PageResultVo«ImageMakeStyleDto»»
      • ResponseDto«PageResultVo«ImageShowDto»»
      • ResponseDto«S3UploadDto»
      • ResponseDto«boolean»
      • ResponseDto«long»
      • ResponseDto«string»
      • ResultData
      • ResultDataInfo
      • S3UploadDto
      • StyleSearchByIdVo
      • StyleSearchDto
      • StyleSearchOneDto
      • TagChild
      • UserImageMakeStyleCreateDto
      • 作图参数
      • 作图参数0
      • 创建分享链接
      • 创建对话修图
      • 提交灵感库
      • 搜索灵感中心电商类目
      • Prompt-based Segmentation API Parameters
  1. Create Task

Try-On (Apparel)

POST
https://api.sellerpic.ai/v1/api/generate/tryOnApparel
Before creating a task, please ensure all required resources have been uploaded.
Refer to Upload Asset File
Upload File Limit
Supported formats: jpg|jpeg|png|webp (no animations)
Max file size: 10MB
Max image resolution: 4096px
Mask Image: Alpha Channel Mask - Black and White, and the resolution of Product Mask and Product Image must be the same.
product_image.pngProduct Image
product_mask.pngProduct Mask(Alpha Channel Mask - Black and White)
Credit Cost
This task costs 4 credits (4 images at once)
Refer to Credit Deduction Rules
Concurrency Limits 10
Refer to Task Concurrency Limits

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
*/*
OK
Body

🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://api.sellerpic.ai/v1/api/generate/tryOnApparel' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "modelId": "1858369973362100294",
    "top": {
        "imageKey": "UPLOAD/MANAGE/SAMPLE/try-on-top/1-original.webp"
    }
}'
Response Response Example
200 - Example 1
{
    "code": 0,
    "data": {
        "id": "string"
    },
    "msg": "string",
    "success": true,
    "traceId": "string"
}
Modified at 2025-10-16 12:20:42
Previous
Instruct Edit
Next
Try-On (Accessories)
Built with