edgeAPI.yaml 865 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. NAME: "EdgeTTS"
  2. VERSION: "v0.0.1"
  3. DESC: "适配EdgeTTS"
  4. META: {
  5. official: "https://github.com/rany2/edge-tts",
  6. configuration: "",
  7. tips: "开源项目可能存在不稳定的情况",
  8. fee: "free"
  9. }
  10. # 需求参数
  11. PARAMETERS: [
  12. {
  13. name: "voice",
  14. description: "Voice for TTS.",
  15. type: "string",
  16. required: false,
  17. choices: ["Getting from voice api..."],
  18. default: "zh-CN-XiaoxiaoNeural"
  19. },
  20. {
  21. name: "rate",
  22. description: "Set rate, default +0%.",
  23. type: "int",
  24. required: false,
  25. range: [-100, 100],
  26. default: 0
  27. },
  28. {
  29. name: "volume",
  30. description: "Set volume, default +0%.",
  31. type: "int",
  32. required: false,
  33. range: [-100, 100],
  34. default: 0
  35. },
  36. {
  37. name: "pitch",
  38. description: "Set pitch, default +0Hz.",
  39. type: "int",
  40. required: false,
  41. range: [-100, 100],
  42. default: 0
  43. }
  44. ]