ai_swap_face.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "244": {
  3. "inputs": {
  4. "enabled": true,
  5. "swap_model": "inswapper_128.onnx",
  6. "facedetection": "retinaface_mobile0.25",
  7. "face_restore_model": "codeformer.pth",
  8. "face_restore_visibility": 1,
  9. "codeformer_weight": 0.5,
  10. "detect_gender_input": "no",
  11. "detect_gender_source": "no",
  12. "input_faces_index": "0",
  13. "source_faces_index": "0",
  14. "console_log_level": 1,
  15. "input_image": [
  16. "247",
  17. 0
  18. ],
  19. "source_image": [
  20. "245",
  21. 0
  22. ]
  23. },
  24. "class_type": "ReActorFaceSwap",
  25. "_meta": {
  26. "title": "ReActor 🌌 Fast Face Swap"
  27. }
  28. },
  29. "245": {
  30. "inputs": {
  31. "image": "face.jpg"
  32. },
  33. "class_type": "LoadImage",
  34. "_meta": {
  35. "title": "加载图像"
  36. }
  37. },
  38. "246": {
  39. "inputs": {
  40. "filename_prefix": "ComfyUI",
  41. "images": [
  42. "244",
  43. 0
  44. ]
  45. },
  46. "class_type": "SaveImage",
  47. "_meta": {
  48. "title": "保存图像"
  49. }
  50. },
  51. "247": {
  52. "inputs": {
  53. "image": "06.jpg"
  54. },
  55. "class_type": "LoadImage",
  56. "_meta": {
  57. "title": "加载图像"
  58. }
  59. }
  60. }