wolverinn/webui-api 📝 → ❓

▶️ 4.9K runs 📅 Sep 2023 ⚙️ Cog 0.8.6 🔗 GitHub ⚖️ License
api-support controlnet realistic-images text-to-image

About

sd-webui API full support with extensions

Example Output

Output

{"images":["https://replicate.delivery/pbxt/9xF7dwJvBvZWB5sIjqTqneD6WdeOnD8Vq3vTj0S34M8x1fCjA/d742cbfc-4c9a-11ee-9689-02ac90fdda4f.png"],"payload":{"info":"{"prompt": "1girl,standing,outdoors,white t-shirt,denim shorts,upper_body,park,road,, 8k, RAW photo, best quality, masterpiece,realistic, photo-realistic", "all_prompts": ["1girl,standing,outdoors,white t-shirt,denim shorts,upper_body,park,road,, 8k, RAW photo, best quality, masterpiece,realistic, photo-realistic"], "negative_prompt": "nsfw,, paintings,sketches,(worst quality:2),(low quality:2),(normal quality:2),lowres,(monochrome:1.1),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),((grayscale)),negative_hand-neg,ng_deepnegative_v1_75t", "all_negative_prompts": ["nsfw,, paintings,sketches,(worst quality:2),(low quality:2),(normal quality:2),lowres,(monochrome:1.1),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),((grayscale)),negative_hand-neg,ng_deepnegative_v1_75t"], "seed": 2204239045, "all_seeds": [2204239045], "subseed": 884143, "all_subseeds": [884143], "subseed_strength": 0, "width": 512, "height": 768, "sampler_name": "Euler", "cfg_scale": 7.0, "steps": 20, "batch_size": 1, "restore_faces": false, "face_restoration_model": null, "sd_model_hash": "d7e2ac2f4a", "seed_resize_from_w": -1, "seed_resize_from_h": -1, "denoising_strength": 0, "extra_generation_params": {}, "index_of_first_image": 0, "infotexts": ["1girl,standing,outdoors,white t-shirt,denim shorts,upper_body,park,road,, 8k, RAW photo, best quality, masterpiece,realistic, photo-realistic
Negative prompt: nsfw,, paintings,sketches,(worst quality:2),(low quality:2),(normal quality:2),lowres,(monochrome:1.1),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),((grayscale)),negative_hand-neg,ng_deepnegative_v1_75t
Steps: 20, Sampler: Euler, CFG scale: 7.0, Seed: 2204239045, Size: 512x768, Model hash: d7e2ac2f4a, Model: majicmixRealistic_betterV2V25, Seed resize from: -1x-1, Denoising strength: 0"], "styles": [], "job_timestamp": "20230906095032", "clip_skip": 1, "is_using_inpainting_conditioning": false}","parameters":{"eta":null,"seed":-1,"steps":20,"width":512,"height":768,"n_iter":1,"prompt":"1girl,standing,outdoors,white t-shirt,denim shorts,upper_body,park,road,, 8k, RAW photo, best quality, masterpiece,realistic, photo-realistic","s_tmax":null,"s_tmin":0,"styles":null,"tiling":false,"s_churn":0,"s_noise":1,"subseed":-1,"hr_scale":2,"cfg_scale":7,"enable_hr":false,"hr_prompt":"","batch_size":1,"hr_resize_x":0,"hr_resize_y":0,"hr_upscaler":null,"save_images":false,"script_args":[],"script_name":null,"send_images":true,"s_min_uncond":0,"sampler_name":"Euler","restore_faces":false,"sampler_index":"Euler","hr_sampler_name":null,"negative_prompt":"nsfw,, paintings,sketches,(worst quality:2),(low quality:2),(normal quality:2),lowres,(monochrome:1.1),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),((grayscale)),negative_hand-neg,ng_deepnegative_v1_75t","alwayson_scripts":{},"do_not_save_grid":false,"firstphase_width":0,"subseed_strength":0,"firstphase_height":0,"override_settings":null,"denoising_strength":0,"hr_negative_prompt":"","seed_resize_from_h":-1,"seed_resize_from_w":-1,"do_not_save_samples":false,"hr_second_pass_steps":0,"override_settings_restore_afterwards":true}}}

Performance Metrics

9.73s Prediction Time
9.69s Total Time
All Input Parameters
{
  "api": "/sdapi/v1/txt2img",
  "method": "post",
  "payload": "{\n        \"prompt\": \"1girl,standing,outdoors,white t-shirt,denim shorts,upper_body,park,road,, 8k, RAW photo, best quality, masterpiece,realistic, photo-realistic\",\n        \"negative_prompt\": \"nsfw,, paintings,sketches,(worst quality:2),(low quality:2),(normal quality:2),lowres,(monochrome:1.1),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),((grayscale)),negative_hand-neg,ng_deepnegative_v1_75t\",\n        \"batch_size\": 1,\n\t    \"seed\": -1,\n        \"sampler_name\": \"Euler\",\n        \"steps\": 20,\n        \"cfg_scale\": 7,\n        \"width\": 512,\n        \"height\": 768\n}"
}
Input Parameters
api (required) Type: string
api path, e.g. /sdapi/v1/txt2img
method Type: stringDefault: get
get/post
payload Type: stringDefault: {}
api payload
Output Schema
images Type: arrayItems: string
Images
payload Type: object
Payload
Example Execution Logs
0%|          | 0/20 [00:00<?, ?it/s]
Total progress: 101it [10:11, 14.41s/it]
  5%|▌         | 1/20 [00:00<00:07,  2.45it/s]
Total progress: 102it [10:11, 10.20s/it]
 10%|█         | 2/20 [00:00<00:06,  2.58it/s]
Total progress: 103it [10:12,  7.26s/it]
 15%|█▌        | 3/20 [00:01<00:06,  2.52it/s]
Total progress: 104it [10:12,  5.20s/it]
 20%|██        | 4/20 [00:01<00:06,  2.56it/s]
Total progress: 105it [10:13,  3.75s/it]
 25%|██▌       | 5/20 [00:01<00:05,  2.58it/s]
Total progress: 106it [10:13,  2.75s/it]
 30%|███       | 6/20 [00:02<00:05,  2.56it/s]
Total progress: 107it [10:13,  2.04s/it]
 35%|███▌      | 7/20 [00:02<00:05,  2.57it/s]
Total progress: 108it [10:14,  1.55s/it]
 40%|████      | 8/20 [00:03<00:04,  2.55it/s]
Total progress: 109it [10:14,  1.20s/it]
 45%|████▌     | 9/20 [00:03<00:04,  2.55it/s]
Total progress: 110it [10:15,  1.05it/s]
 50%|█████     | 10/20 [00:03<00:03,  2.56it/s]
Total progress: 111it [10:15,  1.27it/s]
 55%|█████▌    | 11/20 [00:04<00:03,  2.53it/s]
Total progress: 112it [10:15,  1.49it/s]
 60%|██████    | 12/20 [00:04<00:03,  2.54it/s]
Total progress: 113it [10:16,  1.70it/s]
 65%|██████▌   | 13/20 [00:05<00:02,  2.53it/s]
Total progress: 114it [10:16,  1.88it/s]
 70%|███████   | 14/20 [00:05<00:02,  2.52it/s]
Total progress: 115it [10:17,  2.03it/s]
 75%|███████▌  | 15/20 [00:05<00:01,  2.52it/s]
Total progress: 116it [10:17,  2.14it/s]
 80%|████████  | 16/20 [00:06<00:01,  2.50it/s]
Total progress: 117it [10:17,  2.24it/s]
 85%|████████▌ | 17/20 [00:06<00:01,  2.50it/s]
Total progress: 118it [10:18,  2.31it/s]
 90%|█████████ | 18/20 [00:07<00:00,  2.50it/s]
Total progress: 119it [10:18,  2.36it/s]
 95%|█████████▌| 19/20 [00:07<00:00,  2.50it/s]
100%|██████████| 20/20 [00:07<00:00,  2.49it/s]
100%|██████████| 20/20 [00:07<00:00,  2.53it/s]
Total progress: 120it [10:19,  2.40it/s]
Version Details
Version ID
c66377ec976b89ab6f8fac8dd3f989db3dcbaeb9f9eafd9ca29089be6c5f871c
Version Created
September 6, 2023
Run on Replicate →