作画查询接口
GET
/ai/pro/info作画查询接口
请求参数
Query 参数
key
string <integer>
作画key
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON*/*
OK
数据结构
code
string <string>
响应code
示例值:
200
message
string <string>
失败信息
示例值:
success
data
object (AiArtworkProVO_response)
可选
返回数据(object)
model_code
integer <int32>
模型代号
示例值:
78
prompt
string <string>
描述词
示例值:
8jtd0a
width
integer <int32>
图片宽
示例值:
512
height
integer <int32>
图片高
示例值:
512
supersize_multiple
number <float>
超分辨倍数
示例值:
2
prefine_multiple
number <float>
精绘倍数
示例值:
1.5
option_info
object (AiArtworkOptionInfoVO_response)
可选
选项参数信息(object)
advanced_info
object (AiArtworkAdvancedInfoVO_response)
可选
高级参数信息(object)
img_to_img_info
object (AiArtworkImgToImgInfoVO_response)
可选
图生图参数信息(object)
control_net_info
array[object (ControlNetVo_response) {17}]
条件生图参数信息
cost_info
object (AiArtworkCostInfoVO_response)
可选
扣费信息(object)
inpainting_plugin
object (InpaintingPluginVO_response)
可选
修复蒙版信息(object)
tiled_diffusion
object (TiledDiffusionVO_response)
可选
多区域控制(object)
face_editor
object (FaceEditorVO_response)
可选
脸部修复(object)
ultimate_upscale
object (UltimateUpscaleVO_response)
可选
高清修复(object)
adetailer
array[object (AdetailerVO_response) {3}]
表情修复
picture_url
string <string>
可选
作画生成结果图(作画完成后返回)
示例值:
www.tena-heathcote.com
cutdiffusion
object (CutDiffusionParam_response)
可选
4k(object)
示例test data
{
"code": "200",
"message": "success",
"data": {
"model_code": 78,
"prompt": "ipa68c",
"width": 512,
"height": 512,
"supersize_multiple": 2,
"prefine_multiple": 1.5,
"option_info": {
"style_model": "肤若凝脂",
"character": [
"c-苗族服装"
],
"model_fusion": [
{
"name": "晨辉",
"weight": 0.6
}
]
},
"advanced_info": {
"uc_prompt": "eu2w1m",
"restore_faces": true,
"tilling": true,
"seed": "1537020759",
"vae_file": "auto",
"cfg": 7,
"sampler_steps": 20,
"sampler_index": 17,
"clip_skip": 5,
"ensd": 0,
"hires_fix_info": {
"denoising_strength": 0.7
}
},
"img_to_img_info": {
"init_image_url": "https://cdn.wujiebantu.com/ai/C837D53F842A48AEDFA7DA2976D834FE-01.png",
"creativity_degree": 50,
"resize_mode": "0"
},
"control_net_info": [
{
"type": 0,
"preprocessor": 0,
"model": 0,
"control_weight": 1,
"starting_control_step": 0,
"ending_control_step": 1,
"control_mode": 0,
"image_url": "https://cdn.wujiebantu.com/B2381E03D5701D2EEEDCD19DDD624D74/1695093967/FsEkOaB1rQhSBP1qNWg-iVVA-z3m.jpg",
"image_width": 512,
"image_height": 512,
"mask_url": "https://cdn.wujiebantu.com/F4DA2BBBB4CCAD30ADE5274F8F9E7F08/controlnet/1692757097/FlSmnxPMRok9tkYAu0--CMkOlfo8.png",
"processor_res": 512,
"threshold_a": 8,
"threshold_b": 8,
"resize_mode": 1,
"pixel_perfect": true,
"pretreatment_image_url": "https://cdn.wujiebantu.com/ai/F6931E9B74463F59A7299DB5822CB830-0201.jpg"
}
],
"cost_info": {
"duration_cost": 25,
"integral_cost": 4,
"integral_cost_message": "积分已扣除"
},
"inpainting_plugin": {
"mask_image_url": "www.tena-heathcote.com",
"mask_zone_image_url": "www.tena-heathcote.com",
"mask_blur": 4,
"inpainting_fill": 1,
"inpainting_mask_invert": 0,
"inpaint_full_res_padding": 32,
"inpaint_full_res": false
},
"tiled_diffusion": {
"enabled": true,
"draw_background": true,
"bbox_control_states": [
{
"enabled": true,
"x": 56.01,
"y": 92.39,
"w": 512,
"h": 512,
"prompt": "fbola7",
"neg_prompt": "zk81yt",
"blend_mode": "Background",
"seed": -1,
"option_info": {
"character_options": [
{
"key": "xodkt2"
}
],
"model_fusion": [
{
"name": "晨辉",
"weight": 0.6
}
]
}
}
]
},
"face_editor": {
"enabled": true,
"use_minimal_area": false,
"affected_areas": "Face",
"mask_size": 0,
"mask_blur": 12,
"max_face_count": 20,
"confidence": 0.97,
"face_margin": 1.6,
"face_size": 512,
"ignore_larger_faces": true,
"strength1": 0.4,
"apply_inside_mask_only": true,
"strength2": 0.05,
"prompt_for_face": "mfjco7"
},
"ultimate_upscale": {
"enabled": true,
"target_size_type": 1,
"upscaler_index": 0,
"redraw_mode": 2,
"tile_width": 512,
"tile_height": 512,
"mask_blur": 8,
"seams_fix_type": 0,
"seams_fix_width": 64,
"seams_fix_denoise": 0.35,
"seams_fix_padding": 32
},
"adetailer": [
{
"ad_model": "None",
"ad_negative_prompt": "j7s6ug",
"ad_prompt": "3dcrg2"
}
],
"picture_url": "www.tena-heathcote.com",
"cutdiffusion": {
"cutdiff_proportion": 0.5,
"cfg_scale1": 7,
"cfg_scale2": 7
}
}
}
最后修改时间: 6 天前