# 电商服饰生图大模型开放平台 **Repository Path**: xingchaoren/moxing ## Basic Information - **Project Name**: 电商服饰生图大模型开放平台 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-08 - **Last Updated**: 2024-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![输入图片说明](image.png) ## 全局公共参数 #### 全局Header参数 参数名 | 示例值 | 参数描述 --- | --- | --- 暂无参数 #### 全局Query参数 参数名 | 示例值 | 参数描述 --- | --- | --- 暂无参数 #### 全局Body参数 参数名 | 示例值 | 参数描述 --- | --- | --- 暂无参数 #### 全局认证方式 ```text noauth ``` #### 全局预执行脚本 ```javascript 暂无预执行脚本 ``` #### 全局后执行脚本 ```javascript 暂无后执行脚本 ``` ## /工作流 ```text 暂无描述 ``` #### Header参数 参数名 | 示例值 | 参数描述 --- | --- | --- 暂无参数 #### Query参数 参数名 | 示例值 | 参数描述 --- | --- | --- 暂无参数 #### Body参数 参数名 | 示例值 | 参数描述 --- | --- | --- 暂无参数 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` ## /工作流/注册/获取token ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/getToken?phone=15322997318 #### 请求方式 > GET #### Content-Type > form-data #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- phone | 15322997318 | String | 是 | 手机号码 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyOTEyOTAyOCwiZXhwIjoxNzM2MzI5MDI4fQ.BbUfBaS9YLKJYxKDJfstE9uVfWNYOSTfjFdb56vQuMM" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyOTEyOTAyOCwiZXhwIjoxNzM2MzI5MDI4fQ.BbUfBaS9YLKJYxKDJfstE9uVfWNYOSTfjFdb56vQuMM | String | 认证令牌 #### 错误响应示例 ```javascript { "error": "Phone number is required" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- error | Phone number is required | String | 错误响应 ## /工作流/上传图片 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/comupload #### 请求方式 > POST #### Content-Type > json #### 请求Body参数 ```javascript { "imageUrl":"http://localhost/1728888604024.png" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- imageUrl | http://localhost/1728888604024.png | String | 是 | 图片地址 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript {"name":"1729129242606.png","subfolder":"","type":"input"} ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- name | 1729129242606.png | String | 图片名称 subfolder | - | Object | - type | - | Object | - #### 错误响应示例 ```javascript Image URL is required. ``` ## /工作流/换装 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/comprompt #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyOTA2OTUyMSwiZXhwIjoxNzM2MjY5NTIxfQ.AC6_CX76GlncSYxG2TbGTjINzJzoxpDPTU-eOGukD5c | String | 是 | token #### 请求Body参数 ```javascript { "mystyle": "overall", "img1": "1729132706834.png", "img2": "1729132709735.png" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- mystyle | overall | String | 是 | 衣服类型 img1 | 1729132706834.png | Number | 是 | 已上传的衣服图片 img2 | 1729132709735.png | Number | 是 | 已上传的模特图片 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "prompt_id": "5238baa7-44ca-4b30-bb22-169adc93fe86", "number": 65, "node_errors": {} } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- prompt_id | 5238baa7-44ca-4b30-bb22-169adc93fe86 | String | 工作流ID number | 65 | String | - node_errors | {} | Object | - ## /工作流/扩图 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/compromptkuotu #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcyMzc0NywiZXhwIjoxNzM1OTIzNzQ3fQ.7li3keDjAGMbOwoBNZ7LrTXgUuJRgUn14DdOrns3RJ8 | String | 是 | token #### 请求Body参数 ```javascript { "img1":"1725443420938.jpeg" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- img1 | 1725443420938.jpeg | String | 是 | 已上传到服务器的图片信息 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "prompt_id": "643fbbdd-d1e9-4378-a0f5-3674e86cc6fa", "number": 9, "node_errors": {} } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- prompt_id | 643fbbdd-d1e9-4378-a0f5-3674e86cc6fa | String | 工作流ID number | 9 | String | - node_errors | {} | Object | - ## /工作流/修脸 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/compromptxiulian #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcyMzc0NywiZXhwIjoxNzM1OTIzNzQ3fQ.7li3keDjAGMbOwoBNZ7LrTXgUuJRgUn14DdOrns3RJ8 | String | 是 | token #### 请求Body参数 ```javascript { "img1":"1727435013969 (2).png" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- img1 | 1727435013969 (2).png | String | 是 | 已上传到服务器的图片信息 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "prompt_id": "e54d7544-90a7-4edb-bd64-36ed2057c000", "number": 11, "node_errors": {} } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- prompt_id | e54d7544-90a7-4edb-bd64-36ed2057c000 | String | 工作流ID number | 11 | String | - node_errors | {} | Object | - ## /工作流/抠图 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/compromptkoutu #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | - #### 请求Body参数 ```javascript { "img1":"001.png", "prompt":"cloth" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- img1 | 001.png | String | 是 | 已上传到服务器的图片信息 prompt | cloth | String | 是 | 需要抠出的衣物描述 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "prompt_id": "92fba7c3-20e3-4d21-b30b-2f85f9e51eb2", "number": 62, "node_errors": {} } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- prompt_id | 92fba7c3-20e3-4d21-b30b-2f85f9e51eb2 | String | 工作流ID number | 62 | String | - node_errors | {} | Object | - ## /工作流/换发型 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/compromptfaxing #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Body参数 ```javascript { "img1":"image - 2024-10-09T102450.617.png", "clip":"A stunning young lady with flowing brown hair and a radiant smile." } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- img1 | image - 2024-10-09T102450.617.png | String | 是 | 已上传到服务器的图片信息 clip | A stunning young lady with flowing brown hair and a radiant smile. | String | 是 | 发型的描述信息 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "prompt_id": "8536b83d-d6af-42f5-bb67-08475fd89fc9", "number": 96, "node_errors": {} } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- prompt_id | 8536b83d-d6af-42f5-bb67-08475fd89fc9 | String | 工作流ID number | 96 | String | - node_errors | {} | Object | - ## /工作流/生成模特 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/generateModel3?continent=Asia&gender=female&ageRange=19-25&expression=大笑&prompts=smile #### 请求方式 > GET #### Content-Type > form-data #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- continent | Asia | String | 是 | 地区 gender | female | String | 是 | 性别 ageRange | 19-25 | String | 是 | 年龄 expression | 大笑 | String | 是 | 笑容类型 prompts | smile | String | 是 | 增强提示词 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "message": "Image generation task submitted", "taskId": "016343e8-e4e3-4bb1-961b-b6a00ffa7d4d" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- message | Image generation task submitted | String | - taskId | 016343e8-e4e3-4bb1-961b-b6a00ffa7d4d | String | 工作流ID ## /工作流/生成人台图 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/getrentaitu?base_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144424153.png&mask_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144424968.png&background_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144442211.png&face_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144442008.png&model_description=girl1&background_description=Beach&aspect_ratio=1%3A1&hairstyle_description=Short%2C%20bob%20haircut%20with%20straight%20hair%2C%20parted%20to%20the%20side%2C%20with%20ends%20slightly%20curled%20inward%20for%20a%20chic%20and%20sophisticated%20look.&biaoqing=Laughing #### 请求方式 > GET #### Content-Type > form-data #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- base_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144424153.png | String | 是 | 服装图片 mask_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144424968.png | String | 是 | 服装蒙版图片 background_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144442211.png | String | 是 | 背景图片 face_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144442008.png | String | 是 | 模特图片 model_description | girl1 | String | 是 | 模特描述 background_description | Beach | String | 是 | 背景描述 aspect_ratio | 1%3A1 | String | 是 | 纵横比例 hairstyle_description | Short%2C%20bob%20haircut%20with%20straight%20hair%2C%20parted%20to%20the%20side%2C%20with%20ends%20slightly%20curled%20inward%20for%20a%20chic%20and%20sophisticated%20look. | String | 是 | 发型描述 biaoqing | Laughing | String | 是 | 表情 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "output": { "task_status": "PENDING", "task_id": "aad991f8-ac19-4ce8-97cb-dcb254fbc651" }, "request_id": "375e3cf0-2d2c-9975-85ab-b34c9ee13fd9" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- output | - | Object | - output.task_status | PENDING | String | - output.task_id | aad991f8-ac19-4ce8-97cb-dcb254fbc651 | String | 工作流ID request_id | 375e3cf0-2d2c-9975-85ab-b34c9ee13fd9 | Number | - ## /工作流/生成真人图 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/getrentaitu1?base_image_url=http%3A%2F%2F23.94.214.106%3A8288%2Fapi%2Fview%3Ffilename%3DComfyUI_temp_zlpnd_00001_.png%26subfolder%3D%26type%3Dtemp%26rand%3D0.7459901984818111&mask_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146358196.png&background_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146374479.png&face_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146374283.png&model_description=girl1&background_description=Black%20Studio%20Shoot&mycount=1&aspect_ratio=1%3A1&biaoqing=Laughing #### 请求方式 > GET #### Content-Type > form-data #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- base_image_url | http%3A%2F%2F23.94.214.106%3A8288%2Fapi%2Fview%3Ffilename%3DComfyUI_temp_zlpnd_00001_.png%26subfolder%3D%26type%3Dtemp%26rand%3D0.7459901984818111 | String | 是 | 服装图片 mask_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146358196.png | String | 是 | 服装蒙版图片 predefined_face_id | - | String | 是 | - background_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146374479.png | String | 是 | 背景图片 face_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146374283.png | String | 是 | 模特图片 model_description | girl1 | String | 是 | 模特描述 background_description | Black%20Studio%20Shoot | String | 是 | 背景描述 mycount | 1 | String | 是 | 生成数量 aspect_ratio | 1%3A1 | String | 是 | 纵横比例 biaoqing | Laughing | String | 是 | 表情 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "output": { "task_status": "PENDING", "task_id": "5d90e15c-23e2-4a06-9d89-58162fdba45f" }, "request_id": "6940368b-6f96-914c-a62c-3979462e7c80" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- output | - | Object | - output.task_status | PENDING | String | - output.task_id | 5d90e15c-23e2-4a06-9d89-58162fdba45f | Number | 工作流ID request_id | 6940368b-6f96-914c-a62c-3979462e7c80 | Number | - ## /工作流/生成商品图 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/generate-background?baseImageUrl=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146775109.png&refImageUrl=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146789224.png&refPrompt=冷&n=1 #### 请求方式 > GET #### Content-Type > form-data #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- baseImageUrl | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146775109.png | String | 是 | 商品图片 refImageUrl | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146789224.png | String | 是 | 场景图片 refPrompt | 冷 | String | 是 | 场景描述 n | 1 | String | 是 | 生成数量 noiseLevel | 350 | String | 是 | - refPromptWeight | 0.3 | String | 是 | - sceneType | COSMETIC | String | 是 | - #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "output": { "task_status": "PENDING", "task_id": "a4436d0c-9083-45be-a326-850e93c8ca4f" }, "request_id": "a293ed33-974e-9b96-a356-0175d44645a5" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- output | - | Object | - output.task_status | PENDING | String | - output.task_id | a4436d0c-9083-45be-a326-850e93c8ca4f | String | 工作流ID request_id | a293ed33-974e-9b96-a356-0175d44645a5 | String | - ## /工作流/生成鞋子上脚 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/submitJob?template_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729148143026.png&shoe_image_url=http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729148134612.png #### 请求方式 > GET #### Content-Type > form-data #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- template_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729148143026.png | String | 是 | 模特图片 shoe_image_url | http%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729148134612.png | String | 是 | 鞋子图片 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "output": { "task_status": "PENDING", "task_id": "b7f79bf0-cc56-4a97-bd41-cc2d9b62c7c2" }, "request_id": "e0e0aacd-c6e2-99cd-bb57-540512f92895" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- output | - | Object | - output.task_status | PENDING | String | - output.task_id | b7f79bf0-cc56-4a97-bd41-cc2d9b62c7c2 | String | 工作流ID request_id | e0e0aacd-c6e2-99cd-bb57-540512f92895 | String | - ## /工作流/生成脸部 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/generateModel4?continent=Africa&gender=female&ageRange=16-18&expression=%E5%A4%A7%E7%AC%91&prompts=smile #### 请求方式 > GET #### Content-Type > form-data #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- continent | Africa | String | 是 | 地区 gender | female | String | 是 | 性别 ageRange | 16-18 | String | 是 | 年龄 expression | %E5%A4%A7%E7%AC%91 | String | 是 | 笑容类型 prompts | smile | String | 是 | 增强提示词 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "message": "Image generation task submitted", "taskId": "b98f85d7-19b1-4068-94f2-6c82833d9739" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- message | Image generation task submitted | String | - taskId | b98f85d7-19b1-4068-94f2-6c82833d9739 | String | 工作流ID ## /工作流/服饰改款 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/imageToImage #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | - #### 请求Body参数 ```javascript { "InputImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA...", "Strength": 1, "categoryAndName": "连衣裙", "color": "红色", "fabric": "麻纺面料", "gender": "女装", "promptText": "红色" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- InputImage | data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA... | String | 是 | 原图 Strength | 1 | Number | 是 | 原图相似度 categoryAndName | 连衣裙 | String | 是 | 单品类别 color | 红色 | String | 是 | 颜色 fabric | 麻纺面料 | String | 是 | 面辅料 gender | 女装 | String | 是 | 性别 promptText | 红色 | String | 是 | 提示词 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "message": "image successfully", "outputPath": "./output/1729148646732.png" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- message | image successfully | String | - outputPath | ./output/1729148646732.png | String | 结果图片 ## /工作流/文生图 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/imageToImage1 #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | - #### 请求Body参数 ```javascript { "promptText": "红色", "color": "红色", "categoryAndName": "连衣裙", "gender": "女装", "fabric": "麻纺面料" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- promptText | 红色 | String | 是 | 提示词 color | 红色 | String | 是 | 颜色 categoryAndName | 连衣裙 | String | 是 | 单品类别 gender | 女装 | String | 是 | 性别 fabric | 麻纺面料 | String | 是 | 面辅料 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "message": "image successfully", "outputPath": "./output/1729149018149.png" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- message | image successfully | String | - outputPath | ./output/1729149018149.png | String | 结果图片 ## /工作流/花型衍生 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/imageToImage2 #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | - #### 请求Body参数 ```javascript { "InputImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA...", "Strength": 1, "promptText": "连衣裙" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- InputImage | data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA... | String | 是 | 原图 Strength | 1 | Number | 是 | 原图相似度 promptText | 连衣裙 | String | 是 | 提示词 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "message": "image successfully", "outputPath": "./output/1729149103327.png" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- message | image successfully | String | - outputPath | ./output/1729149018149.png | String | 结果图片 ## /工作流/线稿生款 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/imageToImage3 #### 请求方式 > POST #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | - #### 请求Body参数 ```javascript { "InputImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA...", "Strength": 1, "categoryAndName": "连衣裙", "color": "红色", "fabric": "麻纺面料", "gender": "女装", "promptText": "红色" } ``` 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- InputImage | data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA... | String | 是 | 原图 Strength | 1 | Number | 是 | 原图相似度 categoryAndName | 连衣裙 | String | 是 | 单品类别 color | 红色 | String | 是 | 颜色 fabric | 麻纺面料 | String | 是 | 面辅料 gender | 女装 | String | 是 | 性别 promptText | 红色 | String | 是 | 提示词 #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "message": "image successfully", "outputPath": "./output/1729149970990.png" } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- message | image successfully | String | - outputPath | ./output/1729148646732.png | String | 结果图片 ## /工作流/查看节点信息 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/comfytask?prompt_id=dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1 #### 请求方式 > GET #### Content-Type > json #### 请求Header参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- X-Access-Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIY | String | 是 | token #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- prompt_id | dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1 | String | 是 | 工作流ID #### 请求Body参数 ```javascript ``` #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1": { "prompt": [ 5, "dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1", { "98": { "inputs": { "upscale_by": 2, "seed": 1078540056689953, "steps": 20, "cfg": 8, "sampler_name": "euler", "scheduler": "simple", "denoise": 0.2, "mode_type": "Linear", "tile_width": 512, "tile_height": 512, "mask_blur": 8, "tile_padding": 32, "seam_fix_mode": "None", "seam_fix_denoise": 1, "seam_fix_width": 64, "seam_fix_mask_blur": 8, "seam_fix_padding": 16, "force_uniform_tiles": true, "tiled_decode": false, "image": [ "108", 0 ], "model": [ "99", 0 ], "positive": [ "100", 0 ], "negative": [ "101", 0 ], "vae": [ "99", 2 ], "upscale_model": [ "102", 0 ] }, "class_type": "UltimateSDUpscale" }, "99": { "inputs": { "ckpt_name": "dreamshaperXL_v21TurboDPMSDE.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "100": { "inputs": { "text": "highly detailed,ultra-high resolutions,32K UHD,best quality,masterpiece,", "clip": [ "99", 1 ] }, "class_type": "CLIPTextEncode" }, "101": { "inputs": { "text": "Bad quality,worst quality,normal quality,low-res,poor design,deformed,disfigured,soft,bad composition,simple design,boring,watermark,text,error,cropped,blurry,", "clip": [ "99", 1 ] }, "class_type": "CLIPTextEncode" }, "102": { "inputs": { "model_name": "4x-UltraSharp.pth" }, "class_type": "UpscaleModelLoader" }, "103": { "inputs": { "images": [ "98", 0 ] }, "class_type": "PreviewImage" }, "104": { "inputs": { "image": "微信截图_20241014131326.png", "upload": "image" }, "class_type": "LoadImage" }, "108": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": 494776305091969, "steps": 35, "cfg": 5, "sampler_name": "dpmpp_2m", "scheduler": "karras", "denoise": 0.35000000000000003, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.8, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "wildcard": "", "cycle": 1, "inpaint_model": true, "noise_mask_feather": 0, "image": [ "104", 0 ], "model": [ "99", 0 ], "clip": [ "99", 1 ], "vae": [ "99", 2 ], "positive": [ "100", 0 ], "negative": [ "101", 0 ], "bbox_detector": [ "111", 0 ], "sam_model_opt": [ "112", 0 ], "segm_detector_opt": [ "111", 1 ] }, "class_type": "FaceDetailer" }, "111": { "inputs": { "model_name": "bbox/face_yolov8m.pt" }, "class_type": "UltralyticsDetectorProvider" }, "112": { "inputs": { "model_name": "sam_vit_b_01ec64.pth", "device_mode": "Prefer GPU" }, "class_type": "SAMLoader" } }, { "extra_pnginfo": { "workflow": { "last_node_id": 145, "last_link_id": 185, "nodes": [ { "id": 112, "type": "SAMLoader", "pos": { "0": 3121.33251953125, "1": 110.77491760253906 }, "size": { "0": 315, "1": 82 }, "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "SAM_MODEL", "type": "SAM_MODEL", "links": [ 132 ], "shape": 3, "label": "SAM模型" } ], "properties": { "Node name for S&R": "SAMLoader" }, "widgets_values": [ "sam_vit_b_01ec64.pth", "Prefer GPU" ] }, { "id": 108, "type": "FaceDetailer", "pos": { "0": 3123.04736328125, "1": 361.3926696777344 }, "size": { "0": 519, "1": 900 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 180, "slot_index": 0, "label": "图像" }, { "name": "model", "type": "MODEL", "link": 124, "label": "模型" }, { "name": "clip", "type": "CLIP", "link": 126, "label": "CLIP" }, { "name": "vae", "type": "VAE", "link": 125, "label": "VAE" }, { "name": "positive", "type": "CONDITIONING", "link": 127, "label": "正面条件" }, { "name": "negative", "type": "CONDITIONING", "link": 128, "label": "负面条件" }, { "name": "bbox_detector", "type": "BBOX_DETECTOR", "link": 130, "slot_index": 6, "label": "BBox检测" }, { "name": "sam_model_opt", "type": "SAM_MODEL", "link": 132, "slot_index": 7, "label": "SAM模型", "shape": 7 }, { "name": "segm_detector_opt", "type": "SEGM_DETECTOR", "link": 131, "label": "Segm检测", "shape": 7 }, { "name": "detailer_hook", "type": "DETAILER_HOOK", "link": null, "slot_index": 9, "label": "细化约束", "shape": 7 }, { "name": "scheduler_func_opt", "type": "SCHEDULER_FUNC", "link": null, "slot_index": 10, "shape": 7 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 181 ], "slot_index": 0, "shape": 3, "label": "图像" }, { "name": "cropped_refined", "type": "IMAGE", "links": null, "shape": 6, "label": "细化图像" }, { "name": "cropped_enhanced_alpha", "type": "IMAGE", "links": null, "shape": 6, "label": "细化部分" }, { "name": "mask", "type": "MASK", "links": null, "shape": 3, "label": "遮罩" }, { "name": "detailer_pipe", "type": "DETAILER_PIPE", "links": null, "shape": 3, "label": "细化节点束" }, { "name": "cnet_images", "type": "IMAGE", "links": null, "shape": 6, "label": "ControlNet图像" } ], "properties": { "Node name for S&R": "FaceDetailer" }, "widgets_values": [ 512, true, 1024, 494776305091969, "randomize", 35, 5, "dpmpp_2m", "karras", 0.35000000000000003, 5, true, true, 0.5, 10, 3, "center-1", 0, 0.8, 0, 0.7, "False", 10, "", 1, true, 0 ] }, { "id": 98, "type": "UltimateSDUpscale", "pos": { "0": 3675.77685546875, "1": 363.6666564941406 }, "size": { "0": 321.67657470703125, "1": 821.389404296875 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 181, "slot_index": 0, "label": "图像" }, { "name": "model", "type": "MODEL", "link": 112, "slot_index": 1, "label": "模型" }, { "name": "positive", "type": "CONDITIONING", "link": 113, "slot_index": 2, "label": "正面条件" }, { "name": "negative", "type": "CONDITIONING", "link": 114, "slot_index": 3, "label": "负面条件" }, { "name": "vae", "type": "VAE", "link": 115, "slot_index": 4, "label": "VAE" }, { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 116, "slot_index": 5, "label": "放大模型" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 119 ], "slot_index": 0, "shape": 3, "label": "图像" } ], "properties": { "Node name for S&R": "UltimateSDUpscale" }, "widgets_values": [ 2, 1078540056689953, "randomize", 20, 8, "euler", "simple", 0.2, "Linear", 512, 512, 8, 32, "None", 1, 64, 8, 16, true, false ] }, { "id": 103, "type": "PreviewImage", "pos": { "0": 4010.77685546875, "1": 365.6666564941406 }, "size": { "0": 384.89263916015625, "1": 807.9181518554688 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 119, "label": "图像" } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 100, "type": "CLIPTextEncode", "pos": { "0": 2779.99951171875, "1": 499.55560302734375 }, "size": { "0": 312.4278869628906, "1": 172.37318420410156 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 117, "slot_index": 0, "label": "CLIP" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 113, 127 ], "slot_index": 0, "shape": 3, "label": "条件" } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "highly detailed,ultra-high resolutions,32K UHD,best quality,masterpiece," ] }, { "id": 101, "type": "CLIPTextEncode", "pos": { "0": 2780.99951171875, "1": 714.5556030273438 }, "size": { "0": 309.5040283203125, "1": 157.28213500976562 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 118, "slot_index": 0, "label": "CLIP" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 114, 128 ], "slot_index": 0, "shape": 3, "label": "条件" } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "Bad quality,worst quality,normal quality,low-res,poor design,deformed,disfigured,soft,bad composition,simple design,boring,watermark,text,error,cropped,blurry," ] }, { "id": 105, "type": "Note", "pos": { "0": 2453, "1": 869 }, "size": { "0": 308.4023132324219, "1": 101.17532348632812 }, "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": { "text": "" }, "widgets_values": [ "把需要放大修复的图片粘贴到这里" ], "color": "#432", "bgcolor": "#653" }, { "id": 142, "type": "Note", "pos": { "0": 3441, "1": 116 }, "size": { "0": 210, "1": 166.2251739501953 }, "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "properties": { "text": "" }, "widgets_values": [ "面部修复" ], "color": "#432", "bgcolor": "#653" }, { "id": 141, "type": "Note", "pos": { "0": 3677, "1": 117 }, "size": { "0": 308.4023132324219, "1": 101.17532348632812 }, "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "properties": { "text": "" }, "widgets_values": [ "修脸后进行图片放大" ], "color": "#432", "bgcolor": "#653" }, { "id": 99, "type": "CheckpointLoaderSimple", "pos": { "0": 2777.99951171875, "1": 363.55560302734375 }, "size": { "0": 315, "1": 98 }, "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 112, 124 ], "slot_index": 0, "shape": 3, "label": "模型" }, { "name": "CLIP", "type": "CLIP", "links": [ 117, 118, 126 ], "slot_index": 1, "shape": 3, "label": "CLIP" }, { "name": "VAE", "type": "VAE", "links": [ 115, 125 ], "slot_index": 2, "shape": 3, "label": "VAE" } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "dreamshaperXL_v21TurboDPMSDE.safetensors" ] }, { "id": 111, "type": "UltralyticsDetectorProvider", "pos": { "0": 3121.33251953125, "1": 240.77491760253906 }, "size": { "0": 315, "1": 78 }, "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "BBOX_DETECTOR", "type": "BBOX_DETECTOR", "links": [ 130 ], "slot_index": 0, "shape": 3, "label": "BBox检测" }, { "name": "SEGM_DETECTOR", "type": "SEGM_DETECTOR", "links": [ 131 ], "slot_index": 1, "shape": 3, "label": "SEGM检测" } ], "properties": { "Node name for S&R": "UltralyticsDetectorProvider" }, "widgets_values": [ "bbox/face_yolov8m.pt" ] }, { "id": 102, "type": "UpscaleModelLoader", "pos": { "0": 2776, "1": 912 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 116 ], "shape": 3, "label": "放大模型" } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "4x-UltraSharp.pth" ] }, { "id": 104, "type": "LoadImage", "pos": { "0": 2446, "1": 365 }, "size": { "0": 322.7098693847656, "1": 459.6462097167969 }, "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 180 ], "slot_index": 0, "shape": 3, "label": "图像" }, { "name": "MASK", "type": "MASK", "shape": 3, "label": "遮罩" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "微信截图_20241014131326.png", "image" ] } ], "links": [ [ 112, 99, 0, 98, 1, "MODEL" ], [ 113, 100, 0, 98, 2, "CONDITIONING" ], [ 114, 101, 0, 98, 3, "CONDITIONING" ], [ 115, 99, 2, 98, 4, "VAE" ], [ 116, 102, 0, 98, 5, "UPSCALE_MODEL" ], [ 117, 99, 1, 100, 0, "CLIP" ], [ 118, 99, 1, 101, 0, "CLIP" ], [ 119, 98, 0, 103, 0, "IMAGE" ], [ 124, 99, 0, 108, 1, "MODEL" ], [ 125, 99, 2, 108, 3, "VAE" ], [ 126, 99, 1, 108, 2, "CLIP" ], [ 127, 100, 0, 108, 4, "CONDITIONING" ], [ 128, 101, 0, 108, 5, "CONDITIONING" ], [ 130, 111, 0, 108, 6, "BBOX_DETECTOR" ], [ 131, 111, 1, 108, 8, "SEGM_DETECTOR" ], [ 132, 112, 0, 108, 7, "SAM_MODEL" ], [ 180, 104, 0, 108, 0, "IMAGE" ], [ 181, 108, 0, 98, 0, "IMAGE" ] ], "groups": [ { "title": "FLUX+LORA文生图", "bounding": [ -258, -15, 2671, 832 ], "color": "#3f789e", "font_size": 60, "flags": {} }, { "title": "高清放大", "bounding": [ -257, 828, 1111, 813 ], "color": "#3f789e", "font_size": 60, "flags": {} }, { "title": "图生图放大修复", "bounding": [ 877, 830, 1535, 810 ], "color": "#3f789e", "font_size": 60, "flags": {} }, { "title": "面部修复", "bounding": [ 3119, -7, 532, 1274 ], "color": "#3f789e", "font_size": 60, "flags": {} }, { "title": "SD放大修复", "bounding": [ 3668, -3, 744, 1270 ], "color": "#3f789e", "font_size": 60, "flags": {} }, { "title": "修脸放大---图像加载", "bounding": [ 2431, -8, 675, 1271 ], "color": "#3f789e", "font_size": 60, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.9646149645000012, "offset": [ -1919.9584782236634, -119.49528836981284 ] }, "0246.VERSION": [ 0, 0, 4 ] }, "version": 0.4 } }, "client_id": "b46b2fabbd444391b73ccb35944d7d10" }, [ "103" ] ], "outputs": { "103": { "images": [ { "filename": "ComfyUI_temp_lctmz_00001_.png", "subfolder": "", "type": "temp" } ] } }, "status": { "status_str": "success", "completed": true, "messages": [ [ "execution_start", { "prompt_id": "dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1", "timestamp": 1729065452132 } ], [ "execution_cached", { "nodes": [], "prompt_id": "dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1", "timestamp": 1729065452137 } ], [ "execution_success", { "prompt_id": "dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1", "timestamp": 1729065533981 } ] ] }, "meta": { "103": { "node_id": "103", "display_node": "103", "parent_node": null, "real_node_id": "103" } } } } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1 | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.prompt | 5 | Number | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs | - | Object | 生成结果 dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103 | - | Object | 生成结果信息 dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103.images | - | Object | 生成结果图片 dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103.images.filename | ComfyUI_temp_lctmz_00001_.png | String | 生成结果图片名称 dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103.images.subfolder | - | String | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103.images.type | temp | String | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.status_str | success | String | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.completed | true | - | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.0 | execution_start | String | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.1 | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.1.prompt_id | dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1 | String | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.1.timestamp | 1729065452132 | Number | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103 | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.node_id | 103 | Number | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.display_node | 103 | Number | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.parent_node | - | Object | - dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.real_node_id | 103 | Number | - ## /工作流/查看模特生成节点信息 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/gettask?taskId=016343e8-e4e3-4bb1-961b-b6a00ffa7d4d #### 请求方式 > GET #### Content-Type > form-data #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- taskId | 016343e8-e4e3-4bb1-961b-b6a00ffa7d4d | String | 是 | - #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "status12": { "task_id": "016343e8-e4e3-4bb1-961b-b6a00ffa7d4d", "task_status": "SUCCEEDED", "submit_time": "2024-10-17 13:17:55.117", "scheduled_time": "2024-10-17 13:17:55.140", "end_time": "2024-10-17 13:18:16.733", "results": [ { "url": "https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/1d/bd/20241017/b1318f0a/ee032b2e-6a07-480a-8dc4-cdd976f33e5d-1.png?Expires=1729228696&OSSAccessKeyId=LTAI5tQZd8AEcZX6KZV4G8qL&Signature=Y5hxL6Gjf6MvaGP6Vao6bt%2BQdfw%3D" } ], "task_metrics": { "TOTAL": 1, "SUCCEEDED": 1, "FAILED": 0 } } } ``` ## /工作流/查看 人台图/真人图/商品图/鞋子上脚 节点信息 ```text 暂无描述 ``` #### 接口状态 > 开发中 #### 接口URL > localhost:80/gettask1?taskId=5d90e15c-23e2-4a06-9d89-58162fdba45f #### 请求方式 > GET #### Content-Type > form-data #### 请求Query参数 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 --- | --- | --- | --- | --- taskId | 5d90e15c-23e2-4a06-9d89-58162fdba45f | String | 是 | 工作流ID #### 认证方式 ```text noauth ``` #### 预执行脚本 ```javascript 暂无预执行脚本 ``` #### 后执行脚本 ```javascript 暂无后执行脚本 ``` #### 成功响应示例 ```javascript { "status12": { "task_id": "43f7f511-d27d-440f-9ede-519e357950e3", "task_status": "SUCCEEDED", "submit_time": "2024-10-17 14:17:07.608", "scheduled_time": "2024-10-17 14:17:07.634", "end_time": "2024-10-17 14:17:44.411", "results": [ { "url": "https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/7d/21/20241017/33ccf5ee/2024-10-17/8c890798-59a1-48a4-abf2-4a92d7cabcec-1/res_img.png?Expires=1729232263&OSSAccessKeyId=LTAI5tQZd8AEcZX6KZV4G8qL&Signature=kvi%2F2tk2%2FluBfHBrdWv2EpZwERY%3D" } ], "task_metrics": { "TOTAL": 1, "SUCCEEDED": 1, "FAILED": 0 } } } ``` 参数名 | 示例值 | 参数类型 | 参数描述 --- | --- | --- | --- status12 | - | Object | - status12.task_id | 43f7f511-d27d-440f-9ede-519e357950e3 | String | - status12.task_status | SUCCEEDED | String | - status12.submit_time | 2024-10-17 14:17:07.608 | Number | - status12.scheduled_time | 2024-10-17 14:17:07.634 | Number | - status12.end_time | 2024-10-17 14:17:44.411 | Number | - status12.results | - | Object | - status12.results.url | https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/7d/21/20241017/33ccf5ee/2024-10-17/8c890798-59a1-48a4-abf2-4a92d7cabcec-1/res_img.png?Expires=1729232263&OSSAccessKeyId=LTAI5tQZd8AEcZX6KZV4G8qL&Signature=kvi%2F2tk2%2FluBfHBrdWv2EpZwERY%3D | String | 结果图片 status12.task_metrics | - | Object | - status12.task_metrics.TOTAL | 1 | Number | - status12.task_metrics.SUCCEEDED | 1 | Number | - status12.task_metrics.FAILED | 0 | Number | -