wolverinn / webui-api

sd-webui API full support with extensions

  • Public
  • 4.9K runs
  • L40S
  • GitHub
  • License

Input

*string
Shift + Return to add a new line

api path, e.g. /sdapi/v1/txt2img

string
Shift + Return to add a new line

api payload

Default: "{}"

string
Shift + Return to add a new line

get/post

Default: "get"

Output

images

output

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\\nNegative 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\\nSteps: 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 } }
Generated in

Run time and cost

This model costs approximately $0.012 to run on Replicate, or 83 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 13 seconds.