- 无界AI企业服务
- 无界AI企业智能客服
- 更新日志
- 公告
- API接入指南
- 作画指南
- AI专业版作画
- AI普通版作画
- AI视频生视频
- AI咒语解析
- 付费开通API
- AI化身&个性相机
- 提升作画效率
- 自定义镜像
- 用户账户
- LLM对话聊天
- OpenAI Image
单个作画结果详情查询
GET
https://gate.wujieai.net/wj-open/v1/ai/info
AI普通版作画作画流程
请求参数
Query 参数
key
string <integer>
作画key
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://gate.wujieai.net/wj-open/v1/ai/info?key'
返回响应
🟢200成功
*/*
Body
code
string <string>
响应code
示例值:
200
message
string <string>
失败信息
示例值:
success
data
object (AiArtworkVo_response)
可选
prompt
string <string>
输入的作画描述
示例值:
The empty mountain is bathed in new rain, and the arrival of night makes people feel that it is early autumn.
uc_prompt
string <string>
输入的负向描述
示例值:
uc8xgh
type
integer <int32>
可选
示例值:
1
model
integer <int32>
模型code
示例值:
1
width
integer <int32>
图片宽度
示例值:
2048
height
integer <int32>
图片高度
示例值:
2048
status
integer <int32>
可选
示例值:
4
picture_url
string <string>
可选
示例值:
https://cdn.wujiebantu.com/ai/081261CBAC6314F4758EEC5FD913CA61-01.png
mini_picture_url
string <string>
可选
示例值:
www.tobias-wiegand.biz
init_image_url
string <string>
底图
示例值:
www.tobias-wiegand.biz
init_image_similarity
integer <int32>
可选
示例值:
50
creativity_degree
integer <int32>
创意度/二次元强度
示例值:
680
artist
string <string>
艺术家
示例值:
鸟山明
style
string <string>
风格
示例值:
赛博朋克
image_type
string <string>
画面类型
示例值:
超现实照片
element_magic
array[string]
元素魔法
示例值:
[星空法]
generate_time
integer <int32>
进入队列时的时间戳
示例值:
1667800436
start_gen_time
integer <int32>
可选
示例值:
1667800439
complete_time
integer <int32>
可选
示例值:
1667800451
involve_yellow
integer <int32>
可选
示例值:
0
audit_info
string <string>
可选
作画结果图的审核结果(v1.1.9新增字段,2023年2月23号之后的作画结果会有值。)
旧:{"vendor": 1, "result": "对应厂商的审核结果json"}
1对应结果,参考
2对应结果,参考
结果中需关注字段解释: check_fail:检测是否成功,正常都会成功,安全起见——如果失败建议也拦截 total_suggestion:总体建议,级别有——PASS(通过)->REVIEW(需要人工审核)->BLOCK(不通过)。scan_scene_d_t_o_s中的suggestion都是PASS总体才会是PASS,只要有一个是BLOCK就会是BLOCK,没有BLOCK存在REVIEW就会是REVIEW scan_scene_d_t_o_s:各场景检测结果列表。 suggestion:枚举参考外层的total_suggestion lable:场景下的标签,有label_desc进行描述。目前porn返回suggestion是review的话会比较性感低俗可以考虑拦截 scene:场景,TERRORISM——暴恐涉政违禁、PORN——鉴黄
示例值:
{check_fail:false,hit:false,data_id:245959,total_suggestion:PASS,scan_scene_d_t_o_s:[{rate:0.9944,suggestion:pass,label:politics,label_desc:涉政,scene:TERRORISM},{rate:1.0,suggestion:pass,label:terrorism,label_desc:暴恐,scene:TERRORISM},{rate:0.9993,suggestion:pass,label:porn,label_desc:色情,scene:PORN},{rate:1.0,suggestion:pass,label:prohibition,label_desc:违禁,scene:TERRORISM},{rate:0.9986,suggestion:pass,label:sexy,label_desc:性感,scene:PORN}],url:https://cdn.wujiebantu.com/ai/810F1750EFF2EC416ED6682DFFCFBF2C-01.jpg-v800}
technology_info
object (TechnologyInfoVo_response)
可选
fail_message
object (FailMessageVo_response)
可选
model_prompt
string <string>
可选
示例值:
The empty mountain is bathed in new rain, and the arrival of night makes people feel that it is early autumn.; sketch
character_options
array[string]
作品所选的角色
示例值:
tilhp8,htlqfu
model_fusion
array[object (ModelFusionVO_response) {2}]
可选
style_model
string <string>
风格模型
示例值:
肤若凝脂
pretreatment_image
string <string>
可选
示例值:
https://cdn.wujiebantu.com/ai/B7A8199D69303BEAF18BB440C4AC63FA-01.png
pretreatment_method
string <string>
可选
1.
2.
3.
4.
示例值:
NONE
steps
integer <int32>
可选
示例值:
923
cfg
number <float>
可选
示例值:
51.71
sampler_index
integer <int32>
可选
示例值:
1
seed
string <string>
生成图片的seed
示例值:
eqeye7
integral_cost
integer <int32>
可选
示例值:
4
integral_cost_message
string <string>
可选
1.
2.
3.
4.
5.
示例值:
积分已扣除
multi_diffusion
object (MultiDiffusionVO_response)
可选
hr_second_pass_strength
number <float>
精绘时的噪声强度
示例值:
95.51
layer_diffusion
object (LayerDiffusionParam_response)
可选
pattern
string <string>
可选
/ai/default_resource
接口查询具体model所支持的模式示例值:
CANNY
cut_diffusion
object (CutDiffusionParam_response)
可选
示例
{"code":"200","message":"success","data":{"prompt":"The empty mountain is bathed in new rain, and the arrival of night makes people feel that it is early autumn.","uc_prompt":"xeiwag","type":1,"model":1,"width":2048,"height":2048,"status":4,"picture_url":"https://cdn.wujiebantu.com/ai/081261CBAC6314F4758EEC5FD913CA61-01.png","mini_picture_url":"www.tobias-wiegand.biz","init_image_url":"www.tobias-wiegand.biz","init_image_similarity":50,"creativity_degree":659,"artist":"鸟山明","style":"赛博朋克","image_type":"超现实照片","element_magic":["星空法"],"generate_time":1667800436,"start_gen_time":1667800439,"complete_time":1667800451,"involve_yellow":0,"audit_info":"{"check_fail":false,"hit":false,"data_id":"245959","total_suggestion":"PASS","scan_scene_d_t_o_s":[{"rate":0.9944,"suggestion":"pass","label":"politics","label_desc":"涉政","scene":"TERRORISM"},{"rate":1.0,"suggestion":"pass","label":"terrorism","label_desc":"暴恐","scene":"TERRORISM"},{"rate":0.9993,"suggestion":"pass","label":"porn","label_desc":"色情","scene":"PORN"},{"rate":1.0,"suggestion":"pass","label":"prohibition","label_desc":"违禁","scene":"TERRORISM"},{"rate":0.9986,"suggestion":"pass","label":"sexy","label_desc":"性感","scene":"PORN"}],"url":"https://cdn.wujiebantu.com/ai/810F1750EFF2EC416ED6682DFFCFBF2C-01.jpg-v800"}","technology_info":{"machine_no":"IiFJclpG73","gpu_type":"NVIDIA Tesla V100-16GB","power_consumption":9.8E-4},"fail_message":{"fail_code":0,"fail_message":"success"},"model_prompt":"The empty mountain is bathed in new rain, and the arrival of night makes people feel that it is early autumn.; sketch","character_options":["yuo6y5"],"model_fusion":[{"name":"晨辉","weight":0.6}],"style_model":"肤若凝脂","pretreatment_image":"https://cdn.wujiebantu.com/ai/B7A8199D69303BEAF18BB440C4AC63FA-01.png","pretreatment_method":"NONE","steps":361,"cfg":8.83,"sampler_index":1,"seed":"bznxn5","integral_cost":4,"integral_cost_message":"积分已扣除","multi_diffusion":{"tiled_diffusion":{"enabled":true,"method":"MultiDiffusion","overwrite_size":false,"keep_input_size":false,"image_width":1024,"image_height":1024,"tile_width":96,"tile_height":96,"overlap":48,"tile_batch_size":4,"upscaler_name":"None","scale_factor":2.0,"noise_inverse":false,"noise_inverse_steps":10,"noise_inverse_retouch":1.0,"noise_inverse_renoise_strength":1.0,"noise_inverse_renoise_kernel":64,"control_tensor_cpu":true,"enable_bbox_control":false,"draw_background":false,"causal_layers":false,"bbox_control_states":[{"enabled":true,"x":0.4,"y":0.4,"w":0.2,"h":0.2,"prompt":"42z5qg","neg_prompt":"usy1fa","blend_mode":"Background","feather_ratio":0.2,"seed":-1}]},"tiled_vae":{"enabled":true,"encoder_tile_size":3072,"decoder_tile_size":192,"vae_to_gpu":true,"fast_decoder":true,"fast_encoder":true,"color_fix":true}},"hr_second_pass_strength":67.73,"layer_diffusion":{"method":2,"weight":1.0,"ending_step":1.0},"pattern":"CANNY","cut_diffusion":{"cutdiff_proportion":0.5,"cfg_scale1":7.0,"cfg_scale2":7.0}}}