[GH-ISSUE #26] API Request #27

Closed
opened 2026-10-30 21:27:48 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Dintan on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/26

If I want to use it through the api, what do I do
at the moment I have`{
"resize_mode": 0,
"show_extras_results": true,
"gfpgan_visibility": 0,
"codeformer_visibility": 0,
"codeformer_weight": 0,
"upscaling_resize": 4,
"upscaling_resize_w": 512,
"upscaling_resize_h": 512,
"upscaling_crop": true,
"upscaler_1": "None",
"upscaler_2": "None",
"extras_upscaler_2_visibility": 0,
"upscale_first": false,
"image": "",

"extras": {
"old_photo_restoration": true,
"highres_fix": true,
"process_scratch": true,
"use_cpu": true,
"restore_processing_order": "Restoration First"
}
}
` but this doesnt call it

Originally created by @Dintan on GitHub (Aug 8, 2024). Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/26 If I want to use it through the api, what do I do at the moment I have`{ "resize_mode": 0, "show_extras_results": true, "gfpgan_visibility": 0, "codeformer_visibility": 0, "codeformer_weight": 0, "upscaling_resize": 4, "upscaling_resize_w": 512, "upscaling_resize_h": 512, "upscaling_crop": true, "upscaler_1": "None", "upscaler_2": "None", "extras_upscaler_2_visibility": 0, "upscale_first": false, "image": "", "extras": { "old_photo_restoration": true, "highres_fix": true, "process_scratch": true, "use_cpu": true, "restore_processing_order": "Restoration First" } } ` but this doesnt call it
Author
Owner

@Haoming02 commented on GitHub (Aug 13, 2024):

API is now supported~

Please use the /bop endpoint:

<!-- gh-comment-id:2285769131 --> @Haoming02 commented on GitHub (Aug 13, 2024): **API** is now supported~ Please use the `/bop` endpoint: <p align="center"><img src="https://github.com/user-attachments/assets/125b4f57-e042-4ffc-896b-feb4742adeb7"></p>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Haoming02/sd-webui-old-photo-restoration#27
No description provided.