Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

config.json.template 1.5KB

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