You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 line
1.5KB

  1. {
  2. "start":{
  3. "host" : "127.0.0.1",
  4. "port" : 7860,
  5. "use_https" : false
  6. },
  7. "defaults": {
  8. "params": {
  9. "sampler_name": "DPM++ 2M Karras",
  10. "steps": 20,
  11. "width": 512,
  12. "height": 512,
  13. "cfg_scale": 7,
  14. "prompt":"masterpiece, best quality",
  15. "negative_prompt": "(low quality, worst quality:1.4),(bad_prompt:0.8), (monochrome:1.1), (greyscale)",
  16. "enable_hr": false,
  17. "hr_scale": 2,
  18. "hr_upscaler": "Latent",
  19. "hr_second_pass_steps": 15,
  20. "denoising_strength": 0.7
  21. },
  22. "options": {
  23. "sd_model_checkpoint": "perfectWorld_v2Baked"
  24. }
  25. },
  26. "rules": [
  27. {
  28. "keywords": [
  29. "横版",
  30. "壁纸"
  31. ],
  32. "params": {
  33. "width": 640,
  34. "height": 384
  35. },
  36. "desc": "分辨率会变成640x384"
  37. },
  38. {
  39. "keywords": [
  40. "竖版"
  41. ],
  42. "params": {
  43. "width": 384,
  44. "height": 640
  45. }
  46. },
  47. {
  48. "keywords": [
  49. "高清"
  50. ],
  51. "params": {
  52. "enable_hr": true,
  53. "hr_scale": 1.6
  54. },
  55. "desc": "出图分辨率长宽都会提高1.6倍"
  56. },
  57. {
  58. "keywords": [
  59. "二次元"
  60. ],
  61. "params": {
  62. "negative_prompt": "(low quality, worst quality:1.4),(bad_prompt:0.8), (monochrome:1.1), (greyscale)",
  63. "prompt": "masterpiece, best quality"
  64. },
  65. "options": {
  66. "sd_model_checkpoint": "meinamix_meinaV8"
  67. },
  68. "desc": "使用二次元风格模型出图"
  69. }
  70. ]
  71. }