{"id":10021047,"date":"2025-10-24T01:36:15","date_gmt":"2025-10-23T17:36:15","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021047"},"modified":"2025-10-24T01:36:15","modified_gmt":"2025-10-23T17:36:15","slug":"spring-boot%e5%bf%ab%e9%80%9f%e9%9b%86%e6%88%90minimax%e3%80%81cosyvoice%e5%ae%9e%e7%8e%b0%e6%96%87%e6%9c%ac%e8%bd%ac%e8%af%ad%e9%9f%b3","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021047","title":{"rendered":"Spring Boot\u5feb\u901f\u96c6\u6210MiniMax\u3001CosyVoice\u5b9e\u73b0\u6587\u672c\u8f6c\u8bed\u97f3"},"content":{"rendered":"<p>\u5728\u4e00\u4e9b\u9700\u8981\u9ad8\u8d28\u91cf\u6587\u672c\u8f6c\u8bed\u97f3\uff08TTS\uff09\u7684\u573a\u666f\u4e2d\uff08\u6bd4\u5982\uff1a\u6709\u58f0\u4e66\u914d\u97f3\u3001\u64ad\u5ba2\u7b49\uff09\u3002\u4e4b\u524d\u4ecb\u7ecd\u7684<a href=\"https:\/\/link.segmentfault.com\/?enc=Mwd9KDpHUOic2QpYsQqeFw%3D%3D.JxQuxkxDaxIsOS5lhpBuVQncT0ZXFMX5nneXNLRwXjM%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">EdgeTTS<\/a>\u65b9\u6848\u53ef\u80fd\u6548\u679c\u6ca1\u6709\u90a3\u4e48\u597d\u3002\u6b64\u65f6\u5c31\u6bd4\u8f83\u63a8\u8350\u4f7f\u7528 MiniMax\u3001CosyVoice\u8fd9\u4e9b\u63d0\u4f9b\u7684\u97f3\u8272\uff0c\u8fd9\u4e9b\u97f3\u8272\u7684\u6548\u679c\u4f1a\u66f4\u52a0\u62df\u4eba\u3001\u903c\u771f\uff0c\u63a5\u8fd1\u771f\u4eba\u53d1\u97f3\u3002\u8fd9\u91cc\u4f9d\u7136\u901a\u8fc7 UnifiedTTS \u7684\u7edf\u4e00\u63a5\u53e3\u6765\u5bf9\u63a5\uff0c\u8fd9\u6837\u6211\u4eec\u53ef\u4ee5\u5728\u4e0d\u66f4\u6362\u5ba2\u6237\u7aef\u4ee3\u7801\u7684\u524d\u63d0\u4e0b\uff0c\u5feb\u901f\u5728 MiniMax\u3001CosyVoice\u7b49\u5f15\u64ce\u4e4b\u95f4\u505a\u65e0\u7f1d\u5207\u6362\u3002\u672c\u6587\u5c06\u5f15\u5bfc\u8bfb\u8005\u4ece\u96f6\u5230\u4e00\u628aMiniMax\u3001CosyVoice\u7684\u8bed\u97f3\u5408\u6210\u80fd\u529b\u6574\u5408\u5230\u4f60\u7684Spring Boot\u5e94\u7528\u4e2d\uff0c\u6700\u540e\u4e5f\u4f1a\u7ed9\u51fa\u4e00\u4e2a\u53ef\u590d\u5236\u7684 Spring Boot \u96c6\u6210\u793a\u4f8b\uff0c<\/p>\n<h2>\u5b9e\u6218<\/h2>\n<h3>1. \u6784\u5efa Spring Boot \u5e94\u7528<\/h3>\n<p>\u901a\u8fc7 <code>start.spring.io<\/code> \u6216\u5176\u4ed6\u6784\u5efa\u57fa\u7840\u7684Spring Boot\u5de5\u7a0b\uff0c\u6839\u636e\u4f60\u6784\u5efa\u5e94\u7528\u7684\u9700\u8981\u589e\u52a0\u4e00\u4e9b\u4f9d\u8d56\uff0c\u6bd4\u5982\u6700\u540e\u7528\u63a5\u53e3\u63d0\u4f9b\u670d\u52a1\u7684\u8bdd\uff0c\u53ef\u4ee5\u52a0\u5165web\u6a21\u5757\u3001lombok\u7b49\u5e38\u7528\u4f9d\u8d56\uff1a<\/p>\n<pre><code class=\"xml\">&lt;dependencies&gt;\n    &lt;dependency&gt;\n        &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\n        &lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;\n    &lt;\/dependency&gt;\n\n    &lt;dependency&gt;\n        &lt;groupId&gt;org.projectlombok&lt;\/groupId&gt;\n        &lt;artifactId&gt;lombok&lt;\/artifactId&gt;\n    &lt;\/dependency&gt;\n&lt;\/dependencies&gt;<\/code><\/pre>\n<h3>2. \u6ce8\u518c UnifiedTTS\uff0c\u83b7\u53d6 API Key<\/h3>\n<ul>\n<li>\u524d\u5f80 <a href=\"https:\/\/link.segmentfault.com\/?enc=Gi4%2BV7FaTUCjPwWlXVsWmg%3D%3D.Tfta1HeYYLJOazJcyCSBzHiPLfoufFN0bDaktZJ8kas%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">UnifiedTTS<\/a> \u6ce8\u518c\u5e76\u83b7\u53d6 API Key<\/li>\n<\/ul>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047342440\" alt=\"\u521b\u5efaAPI Key\" title=\"\u521b\u5efaAPI Key\"><\/p>\n<ul>\n<li>\u8bb0\u5f55\u4e0b\u521b\u5efa\u7684ApiKey\uff0c\u540e\u7eed\u7a0b\u5e8f\u914d\u7f6e\u7684\u65f6\u5019\u9700\u8981\u4f7f\u7528<\/li>\n<\/ul>\n<h3>3. \u96c6\u6210 UnifiedTTS API\uff08\u4f7f\u7528 MiniMax\u3001CosyVoice\uff09<\/h3>\n<p>\u4e0b\u9762\u7ed9\u51fa\u53c2\u8003\u5b9e\u73b0\uff0c\u5305\u62ec\u914d\u7f6e\u3001DTO\u3001\u670d\u52a1\u4e0e\u63a7\u5236\u5668\u3002\u4e0e <a href=\"https:\/\/link.segmentfault.com\/?enc=%2BlrgAI61L9TZKsXKUMC3%2Fw%3D%3D.VCIYshKjkavz%2FQU8BLZ0ZYvMeu4Hnhi8AoyJHX3CCDo%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">EdgeTTS<\/a> \u7248\u672c\u76f8\u6bd4\uff0c\u4e3b\u8981\u662f\u5c06 <code>model<\/code> \u4e0e <code>voice<\/code> \u6539\u4e3a MiniMax\/CosyVoice \u652f\u6301\u7684\u53c2\u6570\u3002<\/p>\n<h4>3.1 \u914d\u7f6e\u6587\u4ef6\uff08<code>application.properties<\/code>\uff09<\/h4>\n<pre><code class=\"properties\">unified-tts.host=https:\/\/unifiedtts.com\nunified-tts.api-key=${UNIFIEDTTS_API_KEY}<\/code><\/pre>\n<p>\u8fd9\u91cc <code>unified-tts.api-key<\/code> \u8bf7\u66ff\u6362\u4e3a\u4f60\u5728 UnifiedTTS \u63a7\u5236\u53f0\u521b\u5efa\u7684 API Key\u3002<\/p>\n<h4>3.2 \u914d\u7f6e\u52a0\u8f7d\u7c7b\u4e0e\u8bf7\u6c42\/\u54cd\u5e94\u5c01\u88c5<\/h4>\n<pre><code class=\"java\">\/\/ src\/main\/java\/com\/example\/tts\/config\/UnifiedTtsProperties.java\n@Data\n@ConfigurationProperties(prefix = &quot;unified-tts&quot;)\npublic class UnifiedTtsProperties {\n    private String host;\n    private String apiKey;\n}\n\n\/\/ src\/main\/java\/com\/example\/tts\/dto\/UnifiedTtsRequest.java\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class UnifiedTtsRequest {\n    private String model;   \/\/ \u4f8b\uff1aminimax-tts \u6216 cosyvoice-tts\n    private String voice;   \/\/ \u4f8b\uff1azh_female_1\uff08\u6309\u6a21\u578b\u652f\u6301\u7684\u97f3\u8272\u9009\u62e9\uff09\n    private String text;\n    private Double speed;   \/\/ \u8bed\u901f\uff08\u53ef\u9009\uff09\n    private Double pitch;   \/\/ \u97f3\u9ad8\uff08\u53ef\u9009\uff09\n    private Double volume;  \/\/ \u97f3\u91cf\uff08\u53ef\u9009\uff09\n    private String format;  \/\/ mp3\/wav\/ogg\n}\n\n\/\/ src\/main\/java\/com\/example\/tts\/dto\/UnifiedTtsResponse.java\n@Data\n@AllArgsConstructor\n@NoArgsConstructor\npublic class UnifiedTtsResponse {\n    private boolean success;\n    private String message;\n    private long timestamp;\n    private UnifiedTtsResponseData data;\n\n    @Data\n    @AllArgsConstructor\n    @NoArgsConstructor\n    public static class UnifiedTtsResponseData {\n        @JsonProperty(&quot;request_id&quot;)\n        private String requestId;\n\n        @JsonProperty(&quot;audio_url&quot;)\n        private String audioUrl;\n\n        @JsonProperty(&quot;file_size&quot;)\n        private long fileSize;\n    }\n}<\/code><\/pre>\n<h4>3.3 \u670d\u52a1\u5b9e\u73b0\uff08RestClient \u540c\u6b65\u5408\u6210\uff09<\/h4>\n<pre><code class=\"java\">\/\/ src\/main\/java\/com\/example\/tts\/service\/UnifiedTtsService.java\npackage com.example.tts.service;\n\nimport com.example.tts.dto.UnifiedTtsRequest;\nimport com.example.tts.config.UnifiedTtsProperties;\nimport org.springframework.http.MediaType;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.stereotype.Service;\nimport org.springframework.web.client.RestClient;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\n\n@Service\npublic class UnifiedTtsService {\n\n    private final RestClient restClient;\n    private final UnifiedTtsProperties properties;\n\n    public UnifiedTtsService(UnifiedTtsProperties properties) {\n        this.properties = properties;\n        this.restClient = RestClient.builder()\n                .baseUrl(properties.getHost())\n                .build();\n    }\n\n    public byte[] synthesize(UnifiedTtsRequest request) {\n        ResponseEntity&lt;byte[]&gt; response = restClient\n                .post()\n                .uri(&quot;\/api\/v1\/common\/tts-sync&quot;)\n                .contentType(MediaType.APPLICATION_JSON)\n                .accept(MediaType.APPLICATION_OCTET_STREAM, MediaType.valueOf(&quot;audio\/mpeg&quot;), MediaType.valueOf(&quot;audio\/mp3&quot;))\n                .header(&quot;X-API-Key&quot;, properties.getApiKey())\n                .body(request)\n                .retrieve()\n                .toEntity(byte[].class);\n\n        if (response.getStatusCode().is2xxSuccessful() &amp;&amp; response.getBody() != null) {\n            return response.getBody();\n        }\n        throw new IllegalStateException(&quot;UnifiedTTS synthesize failed: &quot; + response.getStatusCode());\n    }\n\n    public Path synthesizeToFile(UnifiedTtsRequest request, Path outputPath) {\n        byte[] data = synthesize(request);\n        try {\n            if (outputPath.getParent() != null) {\n                Files.createDirectories(outputPath.getParent());\n            }\n            Files.write(outputPath, data);\n            return outputPath;\n        } catch (IOException e) {\n            throw new RuntimeException(&quot;Failed to write TTS output to file: &quot; + outputPath, e);\n        }\n    }\n}<\/code><\/pre>\n<h4>3.4 \u5355\u5143\u6d4b\u8bd5\uff08MiniMax\/CosyVoice\uff09<\/h4>\n<pre><code class=\"java\">\/\/ src\/test\/java\/com\/example\/tts\/UnifiedTtsServiceTest.java\n@SpringBootTest\nclass UnifiedTtsServiceTest {\n\n    @Autowired\n    private UnifiedTtsService unifiedTtsService;\n\n    @Test\n    void testSynthesizeToFileWithMiniMax() throws Exception {\n        UnifiedTtsRequest req = new UnifiedTtsRequest(\n            &quot;speech-02-turbo&quot;,\n            &quot;Chinese (Mandarin)_Gentle_Youth&quot;,\n            &quot;\u4f60\u597d\uff0c\u6b22\u8fce\u4f7f\u7528 UnifiedTTS \u7684 MiniMax \u6a21\u578b\u914d\u97f3\u3002&quot;,\n            1.0,\n            0.0,\n            1.0,\n            &quot;mp3&quot;\n        );\n\n        Path projectDir = Paths.get(System.getProperty(&quot;user.dir&quot;));\n        Path resultDir = projectDir.resolve(&quot;test-result&quot;);\n        Files.createDirectories(resultDir);\n        Path out = resultDir.resolve(System.currentTimeMillis() + &quot;.mp3&quot;);\n\n        Path written = unifiedTtsService.synthesizeToFile(req, out);\n        assertTrue(Files.exists(written), &quot;Output file should exist&quot;);\n        assertTrue(Files.size(written) &gt; 0, &quot;Output file size should be &gt; 0&quot;);\n    }\n}<\/code><\/pre>\n<h3>4. \u8fd0\u884c\u4e0e\u9a8c\u8bc1<\/h3>\n<p>\u6267\u884c\u5355\u5143\u6d4b\u8bd5\u4e4b\u540e\uff0c\u53ef\u4ee5\u5728\u5de5\u7a0b\u76ee\u5f55 <code>test-result<\/code> \u4e0b\u627e\u5230\u751f\u6210\u7684\u97f3\u9891\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047320208\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5982\u679c\u4f60\u5e0c\u671b\u62ff\u5230\u97f3\u9891 URL \u6216 Base64\uff0c\u53ef\u5c06\u63a5\u53e3 <code>accept<\/code> \u6539\u4e3a <code>application\/json<\/code> \u5e76\u89e3\u6790\u8fd4\u56de\u7ed3\u679c\uff0c\u518d\u505a\u4e0b\u8f7d\u6216\u89e3\u7801\u3002<\/p>\n<h3>5. \u5e38\u7528\u53c2\u6570\u4e0e\u97f3\u8272\u9009\u62e9<\/h3>\n<ul>\n<li><code>model<\/code>\uff1a<code>speech-02-turbo<\/code>\uff08\u793a\u4f8b\uff09\uff0c\u4e0d\u540c\u89c4\u683c\u4ee5\u5b98\u65b9\u4e3a\u51c6\uff1b<\/li>\n<li><code>voice<\/code>\uff1a\u793a\u4f8b <code>Chinese (Mandarin)_Gentle_Youth<\/code> \u7b49\uff1b<\/li>\n<li><code>rate<\/code>\uff1a\u8bed\u901f\uff08\u5efa\u8bae\u8303\u56f4 0.8\u20131.2\uff09\uff1b<\/li>\n<li><code>pitch<\/code>\uff1a\u97f3\u9ad8\uff08\u5efa\u8bae\u8303\u56f4 -3\u2013+3\uff09\uff1b<\/li>\n<li><code>volume<\/code>\uff1a\u97f3\u91cf\uff08\u5efa\u8bae\u8303\u56f4 0.8\u20131.2\uff09\uff1b<\/li>\n<li><code>format<\/code>\uff1a<code>mp3<\/code>\uff08\u5e38\u7528\uff09\u3001<code>wav<\/code>\uff08\u65e0\u635f\u4f46\u4f53\u79ef\u5927\uff09\u3001<code>ogg<\/code> \u7b49\u3002<\/li>\n<\/ul>\n<p>\u6a21\u578b<code>model<\/code>\u4e0e\u97f3\u8272<code>voice<\/code> \u8fd9\u91cc\u63a8\u8350\u4f7f\u7528 <code>minimax<\/code> \u6216 <code>cosyvoice<\/code>\u7684\u6a21\u578b\u548c\u97f3\u8272\u3002<\/p>\n<p>\u5177\u4f53\u652f\u6301\u7684\u53c2\u6570\u53ef\u4ee5\u5728API\u6587\u6863\u4e2d\u7684\u63a5\u53e3\u67e5\u8be2\u53ef\u4ee5\u586b\u5165\u7684\u53c2\u6570\uff0c\u6bd4\u5982\uff1a<\/p>\n<p>model\u652f\u6301\uff0c\u8c03\u7528\u4e00\u4e0b\u53ef\u4ee5\u770b\u5230\uff0c\u652f\u6301\u7684\u6a21\u578b\u6709\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047342441\" alt=\"\u652f\u6301\u7684\u97f3\u9891\u6a21\u578b\" title=\"\u652f\u6301\u7684\u97f3\u9891\u6a21\u578b\" loading=\"lazy\"><\/p>\n<p>\u6bcf\u4e2a\u6a21\u578b\u4e0b\u652f\u6301\u7684voice\uff0c\u4e5f\u53ef\u4ee5\u8c03\u7528\u63a5\u53e3\u67e5\u8be2\uff0c\u6bd4\u5982\u8fd9\u91cc\u5c1d\u8bd5\u8c03\u7528minimax\u652f\u6301\u7684voice\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047342442\" alt=\"\u6a21\u578b\u652f\u6301\u7684\u97f3\u8272\" title=\"\u6a21\u578b\u652f\u6301\u7684\u97f3\u8272\" loading=\"lazy\"><\/p>\n<h3>6. \u5f02\u5e38\u5904\u7406\u4e0e\u91cd\u8bd5\u5efa\u8bae<\/h3>\n<ul>\n<li>\u8d85\u65f6\u4e0e\u7f51\u7edc\u9519\u8bef\uff1a\u8bbe\u7f6e <code>timeout-ms<\/code>\uff0c\u5728 <code>onErrorResume<\/code> \u4e2d\u8bb0\u5f55\u539f\u56e0\uff1b<\/li>\n<li>4xx\/5xx\uff1a\u533a\u5206\u9274\u6743\u5931\u8d25\u3001\u9650\u6d41\u3001\u670d\u52a1\u5668\u9519\u8bef\u5e76\u4e0a\u62a5\uff1b<\/li>\n<li>\u91cd\u8bd5\u7b56\u7565\uff1a\u5bf9\u4e34\u65f6\u6027\u9519\u8bef\u91c7\u7528\u6307\u6570\u9000\u907f\uff08\u5e26\u6296\u52a8\uff09\uff1b<\/li>\n<li>\u5e76\u53d1\u4e0e\u9650\u6d41\uff1a\u9ad8\u5e76\u53d1\u573a\u666f\u5b9e\u73b0\u961f\u5217\u6216\u4ee4\u724c\u6876\uff1b<\/li>\n<li>\u7f13\u5b58\uff1a\u5bf9\u91cd\u590d\u5408\u6210\u6309 <code>text+voice+params<\/code> \u505a\u7f13\u5b58\uff0c\u964d\u4f4e\u6210\u672c\u4e0e\u65f6\u5ef6\u3002<\/li>\n<\/ul>\n<h3>7. \u751f\u4ea7\u5316\u5efa\u8bae<\/h3>\n<ul>\n<li>\u5b89\u5168\uff1aAPI Key \u4ece\u73af\u5883\u53d8\u91cf\u6216\u5bc6\u94a5\u7ba1\u7406\u7cfb\u7edf\u6ce8\u5165\uff1b<\/li>\n<li>\u76d1\u63a7\uff1a\u8bb0\u5f55\u5408\u6210\u8017\u65f6\u3001\u5931\u8d25\u539f\u56e0\u3001\u91cd\u8bd5\u6bd4\u7387\uff1b<\/li>\n<li>\u5b58\u50a8\uff1a\u843d\u76d8\u6216\u5bf9\u8c61\u5b58\u50a8\uff08\u5982 S3\uff09\u5e76\u8bbe\u7f6e\u751f\u547d\u5468\u671f\uff1b<\/li>\n<li>\u89c4\u8303\uff1a\u7edf\u4e00 DTO \u4e0e\u670d\u52a1\u8fd4\u56de\u7ed3\u6784\uff0c\u4fbf\u4e8e\u591a\u6a21\u578b\u6269\u5c55\uff1b<\/li>\n<li>\u6269\u5c55\uff1a\u901a\u8fc7\u914d\u7f6e\u5207\u6362 Azure\/Edge\/Elevenlabs\/MiniMax \u7b49\u6a21\u578b\u3002<\/li>\n<\/ul>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>\u901a\u8fc7 UnifiedTTS\uff0c\u6211\u4eec\u5728 Spring Boot \u4e2d\u4ec5\u9700\u8c03\u6574 <code>model<\/code> \u4e0e <code>voice<\/code> \u5373\u53ef\u5207\u6362\u5230 MiniMax\u3001CosyVoice\u3001\u751a\u81f3\u6700\u5f3a\u7684Elevenlabs\uff0c\u5b9e\u73b0\u6587\u672c\u8f6c\u8bed\u97f3\u3002\u7edf\u4e00\u63a5\u53e3\u7b80\u5316\u4e86\u591a\u5f15\u64ce\u7ef4\u62a4\u6210\u672c\uff0c\u8ba9\u4f60\u80fd\u5728\u6210\u672c\u3001\u97f3\u8272\u4e0e\u6548\u679c\u95f4\u81ea\u7531\u9009\u62e9\u3002\u6839\u636e\u4e1a\u52a1\u9700\u6c42\uff0c\u8fd8\u53ef\u8fdb\u4e00\u6b65\u5b8c\u5584\u5f02\u5e38\u5904\u7406\u3001\u7f13\u5b58\u4e0e\u5e76\u53d1\u63a7\u5236\uff0c\u6784\u5efa\u66f4\u53ef\u9760\u7684\u751f\u4ea7\u7ea7 TTS \u670d\u52a1\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u5bf9\u6bd4\u4e86\u5b98\u65b9API\u548cUnifiedTTS\u7684\u4ef7\u683c\uff0c\u540e\u8005\u66f4\u5177\u5907\u4ef7\u683c\u4f18\u52bf\uff0c\u6240\u4ee5\u975e\u5e38\u63a8\u8350\u72ec\u7acb\u5f00\u53d1\u8005\u6216\u8005\u521d\u521b\u4ea7\u54c1\u7684\u65f6\u5019\u4f7f\u7528\u3002\u4e0d\u8bba\u4ece\u5f00\u53d1\u6210\u672c\u8fd8\u662fAPI\u6210\u672c\u89d2\u5ea6\u770b\u90fd\u662f\u6700\u4f73\u9009\u62e9\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047342438\">https:\/\/segmentfault.com\/a\/1190000047342438<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u4e9b\u9700\u8981\u9ad8\u8d28\u91cf\u6587\u672c\u8f6c\u8bed\u97f3\uff08TTS\uff09\u7684\u573a\u666f\u4e2d\uff08\u6bd4\u5982\uff1a\u6709\u58f0\u4e66\u914d\u97f3\u3001\u64ad\u5ba2\u7b49\uff09\u3002\u4e4b\u524d\u4ecb\u7ecd\u7684EdgeTTS\u65b9\u6848\u53ef\u80fd\u6548\u679c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10021047","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021047"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021047\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}