作画查询接口
GET
/ai/pro/info作画查询接口
请求参数
Query 参数
key
string <integer>
作画key
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON*/*
OK
数据结构
No schema defined
示例test data
{
"code": "200",
"message": "success",
"data": {
"model_code": 78,
"prompt": "psa4cn",
"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": "ambs34",
"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.levi-kihn.net",
"mask_zone_image_url": "www.levi-kihn.net",
"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": 72.99,
"y": 51.93,
"w": 512,
"h": 512,
"prompt": "0vpqhf",
"neg_prompt": "kghmze",
"blend_mode": "Background",
"seed": -1,
"option_info": {
"character_options": [
{
"key": "ncc4mo"
}
],
"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": "0mbi1h"
},
"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": "dzkwzx",
"ad_prompt": "o761ff"
}
],
"picture_url": "www.levi-kihn.net",
"cutdiffusion": {
"cutdiff_proportion": 0.5,
"cfg_scale1": 7,
"cfg_scale2": 7
}
}
}
最后修改时间: 8 天前