Flux-V1-Pro-Depth(深度一致性)
POST
/302/submit/flux-v1-pro-depth结构调节使用深度检测来在图像转换过程中保持精确控制。通过深度图保留原始图像的结构,用户可以进行文本引导的编辑,同时保持核心构图完整。这对于重新纹理图像特别有效。
前Stability.ai成员创建的black forest labs公司,用于图片处理,来自于:https://blackforestlabs.ai/
平均运行时长10-20s
价格:0.1 PTC/次
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
prompt
string
必需
num_inference_steps
integer
可选
1-50, default 28
guidance_scale
number
可选
1-20, default 3.5
output_format
string
jpeg/png
control_image_url
string
必需
示例1
{
"prompt": "A red car",
"num_inference_steps": 28,
"guidance_scale": 3.5,
"output_format": "jpeg",
"control_image_url": ""
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
images
array [object {4}]
必需
url
string
可选
width
integer
可选
height
integer
可选
content_type
string
可选
timings
object
必需
seed
integer
必需
has_nsfw_concepts
array[boolean]
必需
prompt
string
必需
示例
{
"images": [
{
"url": "string",
"width": 0,
"height": 0,
"content_type": "string"
}
],
"timings": {},
"seed": 0,
"has_nsfw_concepts": [
true
],
"prompt": "string"
}
最后修改时间: 4 个月前