混合画布
开发环境
https://stablediffusionapi.com/v1
开发环境
https://stablediffusionapi.com/v1
POST
https://stablediffusionapi.com/api/v5/mixture_canvas
POST
向https://stablediffusionapi.com/api/v5/mixture_canvas端点发出请求,并将所需参数作为请求正文传递到端点。请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://stablediffusionapi.com/api/v5/mixture_canvas' \
--header 'Content-Type: application/json' \
--data-raw '{
"key":"",
"image":"https://camo.githubusercontent.com/5591434c42714807553e83644a191816cdf39100648f8d94b28a149dc0bc5cc7/68747470733a2f2f68756767696e67666163652e636f2f64617461736574732f6b616469726e61722f6469666675736572735f726561646d655f696d616765732f7265736f6c76652f6d61696e2f696e7075745f696d6167652e706e67",
"prompt":"best quality, masterpiece, WLOP, sakimichan, art contest winner on pixiv, 8K, intricate details, wet effects, rain drops, ethereal, mysterious, futuristic, UHD, HDR, cinematic lighting, in a beautiful forest, rainy day, award winning, trending on artstation, beautiful confident cheerful young woman, wearing a futuristic sleeveless dress, ultra beautiful detailed eyes, hyper-detailed face, complex, perfect, model, textured, chiaroscuro, professional make-up, realistic, figure in frame,",
"webhook": null,
"track_id": null
}'
响应示例响应示例
{
"status": "string",
"generationTime": 0,
"id": 0,
"output": [
"string"
],
"meta": {
"canvas_height": 0,
"canvas_width": 0,
"file_prefix": "string",
"guidance_scale": 0,
"image": "string",
"negative_prompt": "string",
"outdir": "string",
"pos_x1": 0,
"pos_x2": 0,
"pos_y1": 0,
"pos_y2": 0,
"prompt": "string",
"seed": 0,
"steps": 0,
"strength": 0
}
}
请求参数
Body 参数application/json