生成二维码
开发中
POST
/api/qrcode/imagine
--iw (明显程序取值范围 0 - 1, 保留两位小数) 示例: --iw 0.45
--seed (取值范围1 - 999999999 ) 示例: --seed 123
--shape (码眼选择范围) ["square", "circle", "plus", "box", "octagon", "random", "tiny-plus"], 示例 --shape random ,默认为 random
--ar(尺寸选择) 范围 ["1:1", "9:16", "16:9", "3:4","4:3"] 示例 --ar 1:1 ,默认为 1:1
请求参数
Header 参数
token
string
可选
默认值:
59e092db6ec6acbe31669c6b8620ee89
Body 参数multipart/form-data
model
string
绘画模型
type
integer
必需
way
integer
必需
qr_content
string
可选
qr_image
string
可选
prompt
string
关键词
prompt_params
string
其他参数
model_id
string
模型id
template_id
string
模板id
aspect_ratio
string
比例 (知数云)
pixel_style
string
码点形状(知数云)
marker_shape
string
码眼选择(知数云)
示例代码
返回响应
修改于 2023-11-10 06:33:49