图片换脸
POST
/ai/simple_reactor/create通过SD的ReActor插件实现图片换脸效果
请求参数
Body 参数application/json
No schema defined
示例
{
"image_url": "www.levi-kihn.net",
"template_url": "www.levi-kihn.net",
"payment_type": 56,
"init_width": 251,
"init_height": 810,
"queue_time_limit": 10,
"width": 992,
"height": 764,
"super_size_multiple": 66.51,
"notify_url": "www.levi-kihn.net"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON*/*
OK
数据结构
No schema defined
示例test data
{
"code": "200",
"message": "success",
"data": {
"keys": "C5B5FE8DBF3679D9049342C130341BD9",
"results": [
{
"key": "C5B5FE8DBF3679D9049342C130341BD9",
"expected_second": 12,
"batch_task_key": "14DBBD0743C8715D92183756E3FB398C"
}
],
"expected_integral_cost": 2
}
}
最后修改时间: 8 天前