Skip to content

Run script via API? #3

@alelordelo

Description

@alelordelo

Thanks for sharing this script, its a huge help with image to image!

How can I call it via API?

For controlNEt for example, I call via "alwayson_scripts".

Would it be the same with your script? And what parameters should we call?

Thank a lot again!

{ "prompt": "my prompt", "negative_prompt": "my negative", "width": 624, "height": 944, "seed": 114294952475285, "steps": 12, "cfg_scale": 2, "sampler_name": "DPM++ 2M Karras", "init_images": [ "base64img..." ], "denoising_strength": 0.95, "resize_mode": 0, "override_settings": {}, "alwayson_scripts": { "controlnet": { "args": [ { "enabled": true, "image": "base64controlnetimg...", "mask": "", "module": "none", "model": "control_sd15_depth [fef5e48e]", "weight": 1, "resize_mode": "Just Resize", "lowvram": false, "processor_res": 64, "threshold_a": 64, "threshold_b": 64, "guidance": 1, "guidance_start": 0, "guidance_end": 1, "guess_mode": false } ] } } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions