首页 > 其他分享 >电商生图大模型开放平台商业开源

电商生图大模型开放平台商业开源

时间:2024-11-07 08:46:06浏览次数:6  
标签:脚本 生图 暂无 name 示例 开放平台 参数 电商 type

获取开放平台
在这里插入图片描述

全局公共参数

全局Header参数
参数名示例值参数描述
暂无参数
全局Query参数
参数名示例值参数描述
暂无参数
全局Body参数
参数名示例值参数描述
暂无参数
全局认证方式
noauth
全局预执行脚本
暂无预执行脚本
全局后执行脚本
暂无后执行脚本

/工作流

暂无描述
Header参数
参数名示例值参数描述
暂无参数
Query参数
参数名示例值参数描述
暂无参数
Body参数
参数名示例值参数描述
暂无参数
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本

/工作流/注册/获取token

暂无描述
接口状态

开发中

接口URL

localhost:80/getToken?phone=15322997318

请求方式

GET

Content-Type

form-data

请求Query参数
参数名示例值参数类型是否必填参数描述
phone15322997318String手机号码
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyOTEyOTAyOCwiZXhwIjoxNzM2MzI5MDI4fQ.BbUfBaS9YLKJYxKDJfstE9uVfWNYOSTfjFdb56vQuMM"
}
参数名示例值参数类型参数描述
tokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyOTEyOTAyOCwiZXhwIjoxNzM2MzI5MDI4fQ.BbUfBaS9YLKJYxKDJfstE9uVfWNYOSTfjFdb56vQuMMString认证令牌
错误响应示例
{
	"error": "Phone number is required"
}
参数名示例值参数类型参数描述
errorPhone number is requiredString错误响应

/工作流/上传图片

暂无描述
接口状态

开发中

接口URL

localhost:80/comupload

请求方式

POST

Content-Type

json

请求Body参数
{
    "imageUrl":"http://localhost/1728888604024.png"
}
参数名示例值参数类型是否必填参数描述
imageUrlhttp://localhost/1728888604024.pngString图片地址
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{"name":"1729129242606.png","subfolder":"","type":"input"}
参数名示例值参数类型参数描述
name1729129242606.pngString图片名称
subfolder-Object-
type-Object-
错误响应示例
Image URL is required.

/工作流/换装

暂无描述
接口状态

开发中

接口URL

localhost:80/comprompt

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyOTA2OTUyMSwiZXhwIjoxNzM2MjY5NTIxfQ.AC6_CX76GlncSYxG2TbGTjINzJzoxpDPTU-eOGukD5cStringtoken
请求Body参数
{
    "mystyle": "overall",
    "img1": "1729132706834.png",
    "img2": "1729132709735.png"
}
参数名示例值参数类型是否必填参数描述
mystyleoverallString衣服类型
img11729132706834.pngNumber已上传的衣服图片
img21729132709735.pngNumber已上传的模特图片
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
  "prompt_id": "5238baa7-44ca-4b30-bb22-169adc93fe86",
  "number": 65,
  "node_errors": {}
}
参数名示例值参数类型参数描述
prompt_id5238baa7-44ca-4b30-bb22-169adc93fe86String工作流ID
number65String-
node_errors{}Object-

/工作流/扩图

暂无描述
接口状态

开发中

接口URL

localhost:80/compromptkuotu

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcyMzc0NywiZXhwIjoxNzM1OTIzNzQ3fQ.7li3keDjAGMbOwoBNZ7LrTXgUuJRgUn14DdOrns3RJ8Stringtoken
请求Body参数

{
    "img1":"1725443420938.jpeg"
}
参数名示例值参数类型是否必填参数描述
img11725443420938.jpegString已上传到服务器的图片信息
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"prompt_id": "643fbbdd-d1e9-4378-a0f5-3674e86cc6fa",
	"number": 9,
	"node_errors": {}
}
参数名示例值参数类型参数描述
prompt_id643fbbdd-d1e9-4378-a0f5-3674e86cc6faString工作流ID
number9String-
node_errors{}Object-

/工作流/修脸

暂无描述
接口状态

开发中

接口URL

localhost:80/compromptxiulian

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcyMzc0NywiZXhwIjoxNzM1OTIzNzQ3fQ.7li3keDjAGMbOwoBNZ7LrTXgUuJRgUn14DdOrns3RJ8Stringtoken
请求Body参数
{
    "img1":"1727435013969 (2).png"
}
参数名示例值参数类型是否必填参数描述
img11727435013969 (2).pngString已上传到服务器的图片信息
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"prompt_id": "e54d7544-90a7-4edb-bd64-36ed2057c000",
	"number": 11,
	"node_errors": {}
}
参数名示例值参数类型参数描述
prompt_ide54d7544-90a7-4edb-bd64-36ed2057c000String工作流ID
number11String-
node_errors{}Object-

/工作流/抠图

暂无描述
接口状态

开发中

接口URL

localhost:80/compromptkoutu

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYString-
请求Body参数
{
    "img1":"001.png",
    "prompt":"cloth"
}
参数名示例值参数类型是否必填参数描述
img1001.pngString已上传到服务器的图片信息
promptclothString需要抠出的衣物描述
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"prompt_id": "92fba7c3-20e3-4d21-b30b-2f85f9e51eb2",
	"number": 62,
	"node_errors": {}
}
参数名示例值参数类型参数描述
prompt_id92fba7c3-20e3-4d21-b30b-2f85f9e51eb2String工作流ID
number62String-
node_errors{}Object-

/工作流/换发型

暂无描述
接口状态

开发中

接口URL

localhost:80/compromptfaxing

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Body参数
{
    "img1":"image - 2024-10-09T102450.617.png",
    "clip":"A stunning young lady with flowing brown hair and a radiant smile."
}
参数名示例值参数类型是否必填参数描述
img1image - 2024-10-09T102450.617.pngString已上传到服务器的图片信息
clipA stunning young lady with flowing brown hair and a radiant smile.String发型的描述信息
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"prompt_id": "8536b83d-d6af-42f5-bb67-08475fd89fc9",
	"number": 96,
	"node_errors": {}
}
参数名示例值参数类型参数描述
prompt_id8536b83d-d6af-42f5-bb67-08475fd89fc9String工作流ID
number96String-
node_errors{}Object-

/工作流/生成模特

暂无描述
接口状态

开发中

接口URL

localhost:80/generateModel3?continent=Asia&gender=female&ageRange=19-25&expression=大笑&prompts=smile

请求方式

GET

Content-Type

form-data

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
continentAsiaString地区
genderfemaleString性别
ageRange19-25String年龄
expression大笑String笑容类型
promptssmileString增强提示词
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"message": "Image generation task submitted",
	"taskId": "016343e8-e4e3-4bb1-961b-b6a00ffa7d4d"
}
参数名示例值参数类型参数描述
messageImage generation task submittedString-
taskId016343e8-e4e3-4bb1-961b-b6a00ffa7d4dString工作流ID

/工作流/生成人台图

暂无描述
接口状态

开发中

接口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-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
base_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144424153.pngString服装图片
mask_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144424968.pngString服装蒙版图片
background_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144442211.pngString背景图片
face_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729144442008.pngString模特图片
model_descriptiongirl1String模特描述
background_descriptionBeachString背景描述
aspect_ratio1%3A1String纵横比例
hairstyle_descriptionShort%2C%20bob%20haircut%20with%20straight%20hair%2C%20parted%20to%20the%20side%2C%20with%20ends%20slightly%20curled%20inward%20for%20a%20chic%20and%20sophisticated%20look.String发型描述
biaoqingLaughingString表情
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"output": {
		"task_status": "PENDING",
		"task_id": "aad991f8-ac19-4ce8-97cb-dcb254fbc651"
	},
	"request_id": "375e3cf0-2d2c-9975-85ab-b34c9ee13fd9"
}
参数名示例值参数类型参数描述
output-Object-
output.task_statusPENDINGString-
output.task_idaad991f8-ac19-4ce8-97cb-dcb254fbc651String工作流ID
request_id375e3cf0-2d2c-9975-85ab-b34c9ee13fd9Number-

/工作流/生成真人图

暂无描述
接口状态

开发中

接口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-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
base_image_urlhttp%3A%2F%2F23.94.214.106%3A8288%2Fapi%2Fview%3Ffilename%3DComfyUI_temp_zlpnd_00001_.png%26subfolder%3D%26type%3Dtemp%26rand%3D0.7459901984818111String服装图片
mask_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146358196.pngString服装蒙版图片
predefined_face_id-String-
background_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146374479.pngString背景图片
face_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146374283.pngString模特图片
model_descriptiongirl1String模特描述
background_descriptionBlack%20Studio%20ShootString背景描述
mycount1String生成数量
aspect_ratio1%3A1String纵横比例
biaoqingLaughingString表情
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"output": {
		"task_status": "PENDING",
		"task_id": "5d90e15c-23e2-4a06-9d89-58162fdba45f"
	},
	"request_id": "6940368b-6f96-914c-a62c-3979462e7c80"
}
参数名示例值参数类型参数描述
output-Object-
output.task_statusPENDINGString-
output.task_id5d90e15c-23e2-4a06-9d89-58162fdba45fNumber工作流ID
request_id6940368b-6f96-914c-a62c-3979462e7c80Number-

/工作流/生成商品图

暂无描述
接口状态

开发中

接口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-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
baseImageUrlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146775109.pngString商品图片
refImageUrlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729146789224.pngString场景图片
refPromptString场景描述
n1String生成数量
noiseLevel350String-
refPromptWeight0.3String-
sceneTypeCOSMETICString-
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"output": {
		"task_status": "PENDING",
		"task_id": "a4436d0c-9083-45be-a326-850e93c8ca4f"
	},
	"request_id": "a293ed33-974e-9b96-a356-0175d44645a5"
}
参数名示例值参数类型参数描述
output-Object-
output.task_statusPENDINGString-
output.task_ida4436d0c-9083-45be-a326-850e93c8ca4fString工作流ID
request_ida293ed33-974e-9b96-a356-0175d44645a5String-

/工作流/生成鞋子上脚

暂无描述
接口状态

开发中

接口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-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
template_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729148143026.pngString模特图片
shoe_image_urlhttp%3A%2F%2Fhuanyingyichu.oss-cn-shanghai.aliyuncs.com%2F1729148134612.pngString鞋子图片
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"output": {
		"task_status": "PENDING",
		"task_id": "b7f79bf0-cc56-4a97-bd41-cc2d9b62c7c2"
	},
	"request_id": "e0e0aacd-c6e2-99cd-bb57-540512f92895"
}
参数名示例值参数类型参数描述
output-Object-
output.task_statusPENDINGString-
output.task_idb7f79bf0-cc56-4a97-bd41-cc2d9b62c7c2String工作流ID
request_ide0e0aacd-c6e2-99cd-bb57-540512f92895String-

/工作流/生成脸部

暂无描述
接口状态

开发中

接口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-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
continentAfricaString地区
genderfemaleString性别
ageRange16-18String年龄
expression%E5%A4%A7%E7%AC%91String笑容类型
promptssmileString增强提示词
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"message": "Image generation task submitted",
	"taskId": "b98f85d7-19b1-4068-94f2-6c82833d9739"
}
参数名示例值参数类型参数描述
messageImage generation task submittedString-
taskIdb98f85d7-19b1-4068-94f2-6c82833d9739String工作流ID

/工作流/服饰改款

暂无描述
接口状态

开发中

接口URL

localhost:80/imageToImage

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYString-
请求Body参数
{
	"InputImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA...",
	"Strength": 1,
	"categoryAndName": "连衣裙",
	"color": "红色",
	"fabric": "麻纺面料",
	"gender": "女装",
	"promptText": "红色"
}
参数名示例值参数类型是否必填参数描述
InputImagedata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA…String原图
Strength1Number原图相似度
categoryAndName连衣裙String单品类别
color红色String颜色
fabric麻纺面料String面辅料
gender女装String性别
promptText红色String提示词
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
    "message": "image successfully",
    "outputPath": "./output/1729148646732.png"
}
参数名示例值参数类型参数描述
messageimage successfullyString-
outputPath./output/1729148646732.pngString结果图片

/工作流/文生图

暂无描述
接口状态

开发中

接口URL

localhost:80/imageToImage1

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYString-
请求Body参数
{
    "promptText": "红色",
    "color": "红色",
    "categoryAndName": "连衣裙",
    "gender": "女装",
    "fabric": "麻纺面料"
}
参数名示例值参数类型是否必填参数描述
promptText红色String提示词
color红色String颜色
categoryAndName连衣裙String单品类别
gender女装String性别
fabric麻纺面料String面辅料
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
    "message": "image successfully",
    "outputPath": "./output/1729149018149.png"
}
参数名示例值参数类型参数描述
messageimage successfullyString-
outputPath./output/1729149018149.pngString结果图片

/工作流/花型衍生

暂无描述
接口状态

开发中

接口URL

localhost:80/imageToImage2

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYString-
请求Body参数
{
	"InputImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA...",
	"Strength": 1,
	"promptText": "连衣裙"
}
参数名示例值参数类型是否必填参数描述
InputImagedata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA…String原图
Strength1Number原图相似度
promptText连衣裙String提示词
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
    "message": "image successfully",
    "outputPath": "./output/1729149103327.png"
}
参数名示例值参数类型参数描述
messageimage successfullyString-
outputPath./output/1729149018149.pngString结果图片

/工作流/线稿生款

暂无描述
接口状态

开发中

接口URL

localhost:80/imageToImage3

请求方式

POST

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYString-
请求Body参数
{
	"InputImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA...",
	"Strength": 1,
	"categoryAndName": "连衣裙",
	"color": "红色",
	"fabric": "麻纺面料",
	"gender": "女装",
	"promptText": "红色"
}
参数名示例值参数类型是否必填参数描述
InputImagedata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyA…String原图
Strength1Number原图相似度
categoryAndName连衣裙String单品类别
color红色String颜色
fabric麻纺面料String面辅料
gender女装String性别
promptText红色String提示词
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
    "message": "image successfully",
    "outputPath": "./output/1729149970990.png"
}
参数名示例值参数类型参数描述
messageimage successfullyString-
outputPath./output/1729148646732.pngString结果图片

/工作流/查看节点信息

暂无描述
接口状态

开发中

接口URL

localhost:80/comfytask?prompt_id=dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1

请求方式

GET

Content-Type

json

请求Header参数
参数名示例值参数类型是否必填参数描述
X-Access-TokeneyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzYsImlhdCI6MTcyODcwNDgwOSwiZXhwIjoxNzM1OTA0ODA5fQ.0EDvLpOdJ_8ACMU-olwpTafnuQ12Jmmd1Z1-_I7EDIYStringtoken
请求Query参数
参数名示例值参数类型是否必填参数描述
prompt_iddff7cd47-0c3b-4ee4-8d32-6aa8d18371f1String工作流ID
请求Body参数

认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"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.prompt5Number-
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.filenameComfyUI_temp_lctmz_00001_.pngString生成结果图片名称
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103.images.subfolder-String-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.outputs.103.images.typetempString-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status-Object-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.status_strsuccessString-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.completedtrue--
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages-Object-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.0execution_startString-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.1-Object-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.1.prompt_iddff7cd47-0c3b-4ee4-8d32-6aa8d18371f1String-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.status.messages.1.timestamp1729065452132Number-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta-Object-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103-Object-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.node_id103Number-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.display_node103Number-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.parent_node-Object-
dff7cd47-0c3b-4ee4-8d32-6aa8d18371f1.meta.103.real_node_id103Number-

/工作流/查看模特生成节点信息

暂无描述
接口状态

开发中

接口URL

localhost:80/gettask?taskId=016343e8-e4e3-4bb1-961b-b6a00ffa7d4d

请求方式

GET

Content-Type

form-data

请求Query参数
参数名示例值参数类型是否必填参数描述
taskId016343e8-e4e3-4bb1-961b-b6a00ffa7d4dString-
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"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
		}
	}
}

/工作流/查看 人台图/真人图/商品图/鞋子上脚 节点信息

暂无描述
接口状态

开发中

接口URL

localhost:80/gettask1?taskId=5d90e15c-23e2-4a06-9d89-58162fdba45f

请求方式

GET

Content-Type

form-data

请求Query参数
参数名示例值参数类型是否必填参数描述
taskId5d90e15c-23e2-4a06-9d89-58162fdba45fString工作流ID
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
	"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_id43f7f511-d27d-440f-9ede-519e357950e3String-
status12.task_statusSUCCEEDEDString-
status12.submit_time2024-10-17 14:17:07.608Number-
status12.scheduled_time2024-10-17 14:17:07.634Number-
status12.end_time2024-10-17 14:17:44.411Number-
status12.results-Object-
status12.results.urlhttps://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%3DString结果图片
status12.task_metrics-Object-
status12.task_metrics.TOTAL1Number-
status12.task_metrics.SUCCEEDED1Number-
status12.task_metrics.FAILED0Number-

标签:脚本,生图,暂无,name,示例,开放平台,参数,电商,type
From: https://blog.csdn.net/weixin_44509634/article/details/143568133

相关文章

  • 毕业设计-基于SSM实现的基于vue的电商购物网站+vue源码+论文
    项目简介基于SSM实现的基于vue的电商购物网站+vue源码+论文,主要功能如下:审核说明项目收集于互联网,经过我们仔细验证,可以正常运行;本项目属于学习项目,适合个人学习使用,不适合商用;精力有限,运行过程中若有小问题属正常现象,需要自行看源码进行简单的修复!项目技术spring/spri......
  • php购物商城在线购物系统php毕业设计php课程设计毕设指导计算机源码获取php源码获取电
    风筝一,功能介绍PHP➕MySQL前台功能:登录:用户可以通过输入用户名和密码进行身份验证,登录成功后进入个人中心页面,享受个性化服务。注册:新用户可以通过填写必要信息(如用户名、密码、邮箱等)完成注册,注册成功后即可登录并开始使用平台服务。轮播图:首页展示一系列动态轮播图,......
  • 黑马PM-电商项目-直播电商
    直播电商项目背景直播电商的设计思路直播电商的产品设计直播电商的关键技术......
  • 黑马PM-电商项目-分销电商
    分销电商项目背景分销电商的优势分销电商搭建思路分销电商产品设计......
  • 黑马PM-电商项目-订单管理
    支付管理订单管理订单统计评价管理......
  • 解锁电商采购高效秘籍:在表格用快递公式一键追踪快递物流
    在日益繁荣的电商行业中,采购人员的工作不仅仅是选择供应商和谈判价格,他们还需要密切关注物流动态,确保商品从仓库到顾客手中的每一步都畅通无阻。面对海量的订单和复杂的物流网络,如何高效地追踪物流信息成为电商采购人员的一大挑战。本文将深入探讨在电商采购场景下,如何利用......
  • 鸿蒙Next应用本地化:多语言电商平台
    本文旨在深入探讨华为鸿蒙HarmonyOSNext系统(截止目前API12)在开发多语言电商平台方面的技术细节,基于实际开发实践进行总结。主要作为技术分享与交流载体,难免错漏,欢迎各位同仁提出宝贵意见和问题,以便共同进步。本文为原创内容,任何形式的转载必须注明出处及原作者。一、应用场景......
  • 用 Vue 和 CSS 快速实现电商风格的底部信息区域 从零开始:Vue 实现响应式电商底部布局
    效果图博客标题推荐用Vue和CSS快速实现电商风格的底部信息区域从零开始:Vue实现响应式电商底部布局新手必学!使用Vue构建精美电商底部导航Vue项目实战:构建电商风格的底部信息区域简单易懂!用Vue实现电商网站底部信息模块博客正文目录引言步骤一:创建基本HTML......
  • java+vue计算机毕设电商小程序【开题+程序+论文+源码】
    本系统(程序+源码)带文档lw万字以上文末可获取一份本项目的java源码和数据库参考。系统程序文件列表开题报告内容研究背景随着互联网技术的飞速发展,电子商务已成为现代社会不可或缺的一部分。电商小程序作为移动端电商的一种新型形态,凭借其便捷性、即时性和轻量化的特点,迅......
  • 电商业务风险规避策略
    目录电商业务风险价格奇异保护策略1.基础价格波动率保护2.智能价格波动识别3.价格审核策略4.警示提醒电商业务风险防范1.什么是风控系统2.风控系统的作用3.风控系统的应用场景 4.风控系统并不是万无一失据新闻报道,1月30日银川保时捷中心上线了12.4万一辆的Pan......