{"id":9174,"date":"2021-06-07T07:00:49","date_gmt":"2021-06-06T22:00:49","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=9174"},"modified":"2021-05-23T02:57:54","modified_gmt":"2021-05-22T17:57:54","slug":"amazon-polly-%e3%81%a7%e5%95%86%e5%93%81%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%92%e9%9f%b3%e5%a3%b0%e5%8c%96-%e2%86%92-%e7%b4%b9%e4%bb%8b%e5%8b%95%e7%94%bb%e3%82%92%e3%81%a4%e3%81%8f%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=9174","title":{"rendered":"Amazon Polly \u3067\u5546\u54c1\u30c6\u30ad\u30b9\u30c8\u3092\u97f3\u58f0\u5316 \u2192 \u7d39\u4ecb\u52d5\u753b\u3092\u3064\u304f\u308b"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u3053\u3053\u306e\u3068\u3053\u308d\u51fa\u9045\u308c\u3066\u3057\u307e\u3063\u305f\u611f\u304c\u3042\u308b<code>AWS<\/code>\u3092\u4f53\u9a13\u3059\u308b\u305f\u3081\u306b\u3044\u304f\u3064\u304b\u8a18\u4e8b\u3092\u516c\u958b\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3089\u306f\u5168\u3066<code>Laravel<\/code>\u3067\u306e\u958b\u767a\u3067\u3057\u305f\u3002<\/p>\n<p>\u305f\u3060\u3001\u305f\u307e\u306b\u306f<code>Python<\/code>\u3082\u4f7f\u3063\u3066\u304a\u304b\u306a\u3044\u3068\u3059\u3050\u5fd8\u308c\u3061\u3083\u3046\u306a\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3044\u308d\u3044\u308d\u8003\u3048\u3066\u305f\u3068\u3053\u308d\u3001\uff11\u3064\u3084\u3063\u3066\u307f\u305f\u3044\u3053\u3068\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u306f\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><strong style=\"font-size: 35px;\">\u5546\u54c1\u7d39\u4ecb\u30da\u30fc\u30b8\u306e\u52d5\u753b\u5316<\/strong><\/p>\n<p>\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u3042\u308b\u30b9\u30a4\u30fc\u30c4\u5e97\u304c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u300c\u7279\u88fd\u30ef\u30c3\u30d5\u30eb\u300d\u3092\u7d39\u4ecb\u3057\u3066\u3044\u3066\u3001\u305d\u308c\u3092\u52d5\u753b\u5316\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u52d5\u753b\u7de8\u96c6\u3068\u3044\u3048\u3070\u3001\u300c<strong>\u4f5c\u696d\u304c\u305f\u3044\u3078\u3093&#8230;\ud83d\ude2b<\/strong>\u300d\u3068\u8a00\u308f\u308c\u3066\u3044\u307e\u3059\u304c\u3001<span style=\"font-size: 1rem;\">\u300c\u305d\u3053\u307e\u3067\u51dd\u3063\u305f\u3082\u306e\u3058\u3083\u306a\u304f\u3066\u3082\u52d5\u753b\u3092\u4f5c\u308a\u305f\u3044\u300d\u3068\u3044\u3046\u8981\u671b\u306f\u304d\u3063\u3068\u3042\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u306a\u3068\u601d\u3044\u3001\u4eca\u56de\u306f\u3053\u306e\u30c6\u30fc\u30de\u3067\u8a18\u4e8b\u304a\u5c4a\u3051\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p>\u305c\u3072\u4f55\u304b\u306e\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3089\u5b09\u3057\u3044\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2173 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24.png\" alt=\"\" width=\"300\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24-281x300.png 281w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>\u300cPython \u306f\u5b8c\u5168\u306b<br \/>\nVS Code\u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002<br \/>\n\u30b4\u30e1\u30f3\u306d Atom&#8230;\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Python 3.8.5, Shell Script<\/p>\n<h1>\u524d\u63d0\u3068\u3057\u3066<\/h1>\n<p>\u52d5\u753b\u306e\u4f5c\u6210\u306f<code>ffmpeg<\/code>\u3092\u4f7f\u3063\u3066\u884c\u3044\u307e\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u5148\u306b<code>ffmpeg<\/code>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\ud83d\udcdd \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/strong>\uff1a\u00a0<a href=\"https:\/\/www.ffmpeg.org\/download.html\" target=\"_blank\" rel=\"noopener\">Download FFmpeg<\/a><\/p>\n<h1>\u52d5\u753b\u5316\u3059\u308b\u624b\u9806<\/h1>\n<p>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u500b\u5225\u30da\u30fc\u30b8\u304b\u3089\u52d5\u753b\u3092\u3064\u304f\u308b\u624b\u9806\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u5546\u54c1\u30da\u30fc\u30b8\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97 \u203b<\/li>\n<li>Amazon Polly \u3092\u4f7f\u3063\u3066\u7d39\u4ecb\u30c6\u30ad\u30b9\u30c8\u3092\u97f3\u58f0\u5316\uff08mp3\uff09<\/li>\n<li>\u97f3\u58f0\u3060\u3051\u3060\u3068\u5bc2\u3057\u3044\u306e\u3067\u5225\u3067\u7528\u610f\u3057\u3066\u304a\u3044\u305fBGM\u3092\u5408\u6210<\/li>\n<li>\u5546\u54c1\u306e\u5199\u771f\u3068\u97f3\u58f0\u3092\u4f7f\u3063\u3066\u52d5\u753b\u3092\u3064\u304f\u308b\uff08\u753b\u50cf\u306f\u30ba\u30fc\u30e0\u3059\u308b\uff09<\/li>\n<\/ol>\n<p>\u203b \u4eca\u56de\u3001\u30c7\u30fc\u30bf\u306fDB\u304b\u3089\u53d6\u3063\u3066\u304f\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u306a\u3069\u306f\u884c\u3044\u307e\u305b\u3093\u3002<\/p>\n<h1>\u8a18\u4e8b\u5185\u306e\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\uff08\u5354\u529b\u3057\u3066\u304f\u308c\u305f\u304a\u5e97\uff09<\/h1>\n<p>\u305b\u3063\u304b\u304f\u3084\u308b\u304b\u3089\u306b\u306f\u3001\u5b9f\u969b\u306e\u304a\u5e97\u304c\u516c\u958b\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u3092\u52d5\u753b\u5316\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u53cb\u4eba\u304c\u7d4c\u55b6\u3059\u308b\u4eac\u90fd\u306e\u30de\u30d5\u30a3\u30f3\u5c02\u9580\u5e97\u306b\u30c7\u30fc\u30bf\u306e\u4f7f\u7528\u3092\u304a\u9858\u3044\u3057\u305f\u3068\u3053\u308d\u5feb\u304fOK\u3057\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u6240\u3055\u3093\u306e\u756a\u7d44\u3067\u3082\u7d39\u4ecb\u3055\u308c\u305f\u308a\u3057\u3066\u3044\u308b\u3089\u3057\u3044\u306e\u3067\u3001\u8fd1\u304f\u306b\u3044\u304b\u308c\u305f\u3089\u7686\u3055\u3093\u3082\u305c\u3072\u884c\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044 \u2615\u2728<\/p>\n<p><strong>\ud83d\udcdd \u304a\u5e97\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\uff1a<\/strong> <a href=\"https:\/\/muffingic.com\/\" target=\"_blank\" rel=\"noopener\">\u30de\u30d5\u30a3\u30f3\u5c02\u9580\u5e97\u3000MuffinGic<\/a> \uff08<a href=\"https:\/\/goo.gl\/maps\/4geaESYJS3KAVMS5A\" target=\"_blank\" rel=\"noopener\">\u5730\u56f3<\/a>\uff09<\/p>\n<p>\u203b \u306a\u304a\u3001\u4eca\u56de\u306f\u79c1\u3082\u597d\u304d\u306a\u300c<strong>\u62b9\u8336\u30de\u30fc\u30d6\u30eb\u30c1\u30e7\u30b3\u30de\u30d5\u30a3\u30f3<\/strong>\u300d\u3067\u52d5\u753b\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3059\u3002<a href=\"https:\/\/muffingic.com\/matcha-marble-muffin\/\" target=\"_blank\" rel=\"noopener\">\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u306f\u3053\u3061\u3089<\/a><\/p>\n<h1>\u6e96\u5099\u3059\u308b<\/h1>\n<p>\u307e\u305a\u306f\u958b\u767a\u524d\u306e\u6e96\u5099\u3067\u3059\u3002<\/p>\n<h2>AWS\u3067\u30a2\u30af\u30bb\u30b9\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n<p>\u307e\u305a<code>AWS<\/code>\u306e<code>Amazon Polly<\/code>\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u300c<strong>\u30a2\u30af\u30bb\u30b9\u30ad\u30fc<\/strong>\u300d\u3068\u300c<strong>\u30a2\u30af\u30bb\u30b9\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30ad\u30fc<\/strong>\u300d\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u53c2\u8003\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u3001<code>Amazon Polly<\/code>\u3078\u306e\u30a2\u30af\u30bb\u30b9\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\ud83d\udcdd \u53c2\u8003\u30da\u30fc\u30b8\uff1a<\/strong>\u00a0<a href=\"https:\/\/blog.capilano-fw.com\/?p=8890#IAM\" target=\"_blank\" rel=\"noopener\">\u30a2\u30af\u30bb\u30b9\u60c5\u5831\uff08IAM\uff09\u3092\u53d6\u5f97\u3059\u308b<\/a><\/p>\n<p>\u306a\u304a\u3001\u6a29\u9650\u306f\u300c<strong>AmazonPollyFullAccess<\/strong>\u300d\u3067\u3059<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9176\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_1.png\" alt=\"\" width=\"574\" height=\"395\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_1.png 574w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_1-300x206.png 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/p>\n<p>\u307e\u305f\u3001\u300c<strong>\u30a2\u30af\u30bb\u30b9\u30ad\u30fc<\/strong>\u300d\u3068\u300c<strong>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30a2\u30af\u30bb\u30b9\u30ad\u30fc<\/strong>\u300d\u306f\u767b\u9332\u5f8c\u306b\u4ee5\u4e0b\u306e\u90e8\u5206\u304b\u3089\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9177\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_2.png\" alt=\"\" width=\"460\" height=\"156\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_2.png 460w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_2-300x102.png 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/p>\n<h1>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h1>\n<p><code>Python<\/code>\u3067<code>AWS<\/code>\u958b\u767a\u304c\u3057\u3084\u3059\u3044\u3088\u3046\u306b<code>boto3<\/code>\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>pip3 install boto3<\/strong><\/pre>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u958b\u767a\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u2757<\/p>\n<h1>AWS\u3067\u97f3\u58f0\u3092\u4f5c\u6210\u3059\u308b<\/h1>\n<p>\u307e\u305a\u306f\u3001<code>AWS Polly<\/code>\u3067<strong>\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u97f3\u58f0\u3092\u3064\u304f\u308b\u90e8\u5206<\/strong>\u3067\u3059\u3002<br \/>\n\u306a\u304a\u3001\u4eca\u56de\u306f\u3088\u308a\u7d30\u304b\u304f\u8a2d\u5b9a\u3067\u304d\u308b\u300c<strong>SSML\u5f62\u5f0f<\/strong>\u300d\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><code>SSML<\/code>\u3092\u4f7f\u3048\u3070\u3001\u4f8b\u3048\u3070\u300c<strong>\u97f3\u58f0\u3092\u25cf\u79d2\u30b9\u30c8\u30c3\u30d7<\/strong>\u300d\u306a\u3069\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>text_to_audio.py<\/strong><\/p>\n<pre><strong>import boto3<\/strong>\r\n\r\n<strong># \u30b3\u30f3\u30d5\u30a3\u30b0<\/strong>\r\n<strong>AWS_ACCESS_KEY = '\uff08\u3053\u3053\u306b\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\uff09'<\/strong>\r\n<strong>AWS_SECRET_ACCESS_KEY = '\uff08\u3053\u3053\u306b\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\uff09'<\/strong>\r\n<strong>AWS_REGION = 'ap-northeast-1' # \u6771\u4eac or `<em>ap<\/em>-<em>northeast<\/em>-3` \u5927\u962a<\/strong>\r\n\r\n<strong>def generate(text, output_path, voice_id):<\/strong>\r\n<strong>    client = boto3.Session(<\/strong>\r\n<strong>            aws_access_key_id=AWS_ACCESS_KEY,<\/strong>\r\n<strong>            aws_secret_access_key=AWS_SECRET_ACCESS_KEY,<\/strong>\r\n<strong>            region_name=AWS_REGION<\/strong>\r\n<strong>        ).client('polly')<\/strong>\r\n<strong>    response = client.synthesize_speech(<\/strong>\r\n<strong>            VoiceId=voice_id,<\/strong>\r\n<strong>            OutputFormat='mp3',<\/strong>\r\n<strong>            TextType='ssml',<\/strong>\r\n<strong>            Text = text<\/strong>\r\n<strong>        )<\/strong>\r\n<strong>    file = open(output_path, 'wb')<\/strong>\r\n<strong>    file.write(response['AudioStream'].read())<\/strong>\r\n<strong>    file.close()<\/strong><\/pre>\n<p>\u3053\u308c\u3067\u3001\u540c\u3058\u968e\u5c64\u306b<code>py<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308c\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u97f3\u58f0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>test.py<\/strong><\/p>\n<pre><strong>import text_to_audio as audio<\/strong>\r\n\r\n<strong>text = \"\"\"<\/strong>\r\n<strong>&lt;speak&gt;<\/strong>\r\n<strong>    \u62b9\u8336\u30de\u30fc\u30d6\u30eb\u30c1\u30e7\u30b3\u30de\u30d5\u30a3\u30f3\u3002<\/strong>\r\n<strong>    &lt;break time=\"1s\"\/&gt;<\/strong>\r\n<strong>    \u4eba\u6c17\u306e\u62b9\u8336\u30b7\u30ea\u30fc\u30ba\u306e\u4e2d\u3067\u3082\u304a\u5b50\u69d8\u306b\u4eba\u6c17\u306e\u30de\u30d5\u30a3\u30f3\u3067\u3059\u3002\u751f\u5730\u306b\u306f\u62b9\u8336\u3068\u30db\u30ef\u30a4\u30c8\u30c1\u30e7\u30b3\u3092\u7df4\u308a\u8fbc\u307f\u3001\u3057\u3063\u3068\u308a\u3057\u305f\u98df\u611f\u306b\u3057\u307e\u3057\u305f\u3002\u30c8\u30c3\u30d7\u30b3\u30fc\u30c8\u306f\u898b\u305f\u76ee\u3082\u304b\u308f\u3044\u304f\u3001\u3064\u3044\u304b\u3076\u308a\u3064\u304d\u305f\u304f\u306a\u308b\u30de\u30d5\u30a3\u30f3\u3067\u3059\u3002<\/strong>\r\n<strong>&lt;\/speak&gt;<\/strong>\r\n<strong>\"\"\"<\/strong>\r\n<strong>output_path = 'introduction_speech.mp3'<\/strong>\r\n<strong>voice_id = VOICE_ID = 'Mizuki' # \u3082\u3057\u304f\u306f `Takumi`<\/strong>\r\n<strong>audio.generate(text, output_path, voice_id)<\/strong><\/pre>\n<h1>\u97f3\u58f0\u3092BGM\u3068\u5408\u6210\u3059\u308b<\/h1>\n<p>\u3055\u3059\u304c\u306b<code>Amazon Polly<\/code>\u3067\u3064\u304f\u3063\u305f\u97f3\u58f0\u3060\u3051\u3067\u306f\u5c11\u3057\u5bc2\u3057\u3044\u52d5\u753b\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u4eca\u56de\u306f\u300c<strong>\u30d0\u30c3\u30af\u3067<\/strong><strong>BGM\u3092\u6d41\u3057\u306a\u304c\u3089\u97f3\u58f0\u3067\u5546\u54c1\u7d39\u4ecb\u3092\u3059\u308b<\/strong>\u300d\u3068\u3044\u3046\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308a\u307e\u3059\u3002<\/p>\n<p><code>BGM<\/code>\u3068\u3057\u3066\u4f7f\u308f\u305b\u3066\u3044\u305f\u3060\u304f\u306e\u306f\u30d5\u30ea\u30fc\u7d20\u6750\u3068\u3057\u3066\u914d\u5e03\u3055\u308c\u3066\u3044\u308b\u300c<strong>at Will<\/strong>\u300d\u3068\u3044\u3046\u66f2\u3067\u3059\u3002\u30a6\u30ad\u30a6\u30ad\u611f\u304c\u3042\u3063\u3066\u3068\u3066\u3082\u6c17\u306b\u5165\u3063\u3066\u3044\u307e\u3059 \ud83d\udc4d<\/p>\n<p>\u4f5c\u66f2\u8005\u3055\u3093\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff01m(_ _)m<\/p>\n<p><strong>\ud83d\udcdd \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\uff1a<\/strong> <a href=\"https:\/\/dova-s.jp\/bgm\/play14548.html\" target=\"_blank\" rel=\"noopener\">DOVA-SYNDROME\uff1a at Will<\/a><\/p>\n<p>\u3067\u306f\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\u3068\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fBGM \u3092<code>ffmpeg<\/code>\u3067\u5408\u6210\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><strong>merge_audio.sh<\/strong><\/p>\n<pre><strong>#!\/bin\/sh<\/strong>\r\n\r\n<strong># \u97f3\u58f0\u306e\u9577\u3055\uff08\u79d2\u3092\u53d6\u5f97\uff09<\/strong>\r\n<strong>filename='introduction_speech.mp3'<\/strong>\r\n<strong>duration=$(ffprobe -i $filename -show_format -v quiet | sed -n 's\/duration=\/\/p')<\/strong>\r\n<strong>fade_out_start=$((${duration%.*} + 2))<\/strong>\r\n\r\n<strong># \u97f3\u58f0\u3068BGM\u3092\u5408\u6210<\/strong>\r\n<strong>ffmpeg \\<\/strong>\r\n<strong>-i introduction_speech.mp3 \\<\/strong>\r\n<strong>-i at_Will.mp3 \\<\/strong>\r\n<strong>-filter_complex \\<\/strong>\r\n<strong>   \"[0]volume=6,adelay=1500|1500,apad=pad_dur=3 [fg]; \\<\/strong>\r\n<strong>    [1]volume=1,afade=t=out:st=${fade_out_start}:d=3 [bg]; \\<\/strong>\r\n<strong>    [fg][bg] amerge=inputs=2\" \\<\/strong>\r\n<strong>-y introduction_speech_with_bgm.mp3<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u306f\uff12\u3064\u306e\u97f3\u58f0\u3092\u5408\u6210\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u4ee5\u4e0b\uff12\u3064\u306e\u30a8\u30d5\u30a7\u30af\u30c8\u3082\u3064\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u97f3\u58f0\u3092\u751f\u6210\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u30923\u79d2\u9045\u3089\u305b\u308b<\/li>\n<li>\u5408\u6210\u3055\u308c\u305f\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306f\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\u3059\u308b<\/li>\n<\/ul>\n<p>\u3053\u308c\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u97f3\u58f0 + BGM\u306e\u5408\u6210\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre><strong>import os<\/strong>\r\n\r\n<strong>command = 'bash merge_audio.sh'<\/strong>\r\n<strong>os.system(command)<\/strong><\/pre>\n<p>\u203b \u3082\u3061\u308d\u3093\u3001\u666e\u901a\u306b<code>sh<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3057\u3066\u3082OK\u3067\u3059\u3002<\/p>\n<h1>\u5546\u54c1\u753b\u50cf\u3068\u5408\u6210\u3055\u308c\u305f\u97f3\u58f0 + BGM\u3067\u52d5\u753b\u3092\u3064\u304f\u308b<\/h1>\n<p>\u305d\u308c\u3067\u306f\u6700\u7d42\u6bb5\u968e\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\uff12\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u5546\u54c1\u7d39\u4ecb\u52d5\u753b\u3092\u3064\u304f\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u97f3\u58f0 + BGM \u304c\u5408\u6210\u3055\u308c\u305f\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb<\/li>\n<li>\u5546\u54c1\u753b\u50cf<\/li>\n<\/ul>\n<p><strong>generate_video.sh<\/strong><\/p>\n<pre><strong>#!\/bin\/sh<\/strong>\r\n\r\n<strong>ffmpeg \\<\/strong>\r\n<strong>-y \\<\/strong>\r\n<strong>-loop 1 \\<\/strong>\r\n<strong>-i muffin.jpg \\<\/strong>\r\n<strong>-i introduction_speech_with_bgm.mp3 \\<\/strong>\r\n<strong>-s 1280:720 \\<\/strong>\r\n<strong>-vf \"scale=-2:10*ih,zoompan=z='zoom+0.0005':d=1000:x='iw\/2-(iw\/zoom\/2)':y='ih\/2-(ih\/zoom\/2)'\" \\<\/strong>\r\n<strong>-shortest \\<\/strong>\r\n<strong>introduction.mp4<\/strong><\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u3084\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u753b\u50cf\u3068\u97f3\u58f0\u3092\u304f\u3063\u3064\u3051\u308b\u4f5c\u696d\u3082\u305d\u3046\u3067\u3059\u304c\u3001\u753b\u50cf\u306e\u30ba\u30fc\u30e0\u30a4\u30f3\u3082\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u52d5\u753b\u306e\u4f5c\u6210\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre><strong>command = 'bash generate_video.sh'<\/strong>\r\n<strong>os.system(command)<\/strong><\/pre>\n<p>\u3053\u308c\u3067\u30b3\u30fc\u30c9\u306f\u5168\u3066\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h1>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b\uff1a\u5b9f\u969b\u306e\u52d5\u753b\u3042\u308a\uff01<\/h1>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u6700\u521d\u304b\u3089\u6700\u5f8c\u307e\u3067\u4e00\u6c17\u306b\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<\/p>\n<p><strong>web_to_video.py<\/strong><\/p>\n<pre><strong>import os<\/strong>\r\n<strong>import text_to_audio as audio<\/strong>\r\n\r\n<strong># \u30c6\u30ad\u30b9\u30c8 \u2192 \u97f3\u58f0\u5316<\/strong>\r\n<strong>text = \"\"\"<\/strong>\r\n<strong>&lt;speak&gt;<\/strong>\r\n<strong>    \u62b9\u8336\u30de\u30fc\u30d6\u30eb\u30c1\u30e7\u30b3\u30de\u30d5\u30a3\u30f3\u3002<\/strong>\r\n<strong>    &lt;break time=\"1s\"\/&gt;<\/strong>\r\n<strong>    \u4eba\u6c17\u306e\u62b9\u8336\u30b7\u30ea\u30fc\u30ba\u306e\u4e2d\u3067\u3082\u304a\u5b50\u69d8\u306b\u4eba\u6c17\u306e\u30de\u30d5\u30a3\u30f3\u3067\u3059\u3002\u751f\u5730\u306b\u306f\u62b9\u8336\u3068\u30db\u30ef\u30a4\u30c8\u30c1\u30e7\u30b3\u3092\u7df4\u308a\u8fbc\u307f\u3001\u3057\u3063\u3068\u308a\u3057\u305f\u98df\u611f\u306b\u3057\u307e\u3057\u305f\u3002\u30c8\u30c3\u30d7\u30b3\u30fc\u30c8\u306f\u898b\u305f\u76ee\u3082\u304b\u308f\u3044\u304f\u3001\u3064\u3044\u304b\u3076\u308a\u3064\u304d\u305f\u304f\u306a\u308b\u30de\u30d5\u30a3\u30f3\u3067\u3059\u3002<\/strong>\r\n<strong>&lt;\/speak&gt;<\/strong>\r\n<strong>\"\"\"<\/strong>\r\n<strong>output_path = 'introduction_speech.mp3'<\/strong>\r\n<strong>voice_id = VOICE_ID = 'Mizuki' # \u3082\u3057\u304f\u306f `Takumi`<\/strong>\r\n<strong>audio.generate(text, output_path, voice_id)<\/strong>\r\n\r\n<strong># \u97f3\u58f0\u3068BGM\u5408\u6210<\/strong>\r\n<strong>command = 'bash merge_audio.sh'<\/strong>\r\n<strong>os.system(command)<\/strong>\r\n\r\n<strong># \u52d5\u753b\u3092\u4f5c\u6210<\/strong>\r\n<strong>command = 'bash generate_video.sh'<\/strong>\r\n<strong>os.system(command)<\/strong><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>python3 web_to_video.py<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\uff08\u7d0410\u79d2\u5f8c\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9179\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_4.png\" alt=\"\" width=\"607\" height=\"319\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_4.png 607w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/05\/web_to_video_4-300x158.png 300w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/p>\n<p>\u3046\u307e\u304f\u305d\u308c\u305e\u308c\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u6210\u529f\u3067\u3059\u3002\ud83d\ude0a\u2728<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u5b9f\u969b\u306b\u4f5c\u6210\u3057\u305f\u52d5\u753b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u2193\u3000\u2193\u3000\u2193<\/p>\n<p><iframe loading=\"lazy\" title=\"Amazon Polly + ffmpeg \u3067\u5546\u54c1\u306e\u7d39\u4ecb\u52d5\u753b\u3092\u3064\u304f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\" width=\"525\" height=\"295\" src=\"https:\/\/www.youtube.com\/embed\/krSp1uwP2GA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h1>\u3061\u306a\u307f\u306b\uff1a\u6587\u7ae0\u306f\u3001\u307b\u3093\u306e\u5c11\u3057\u5909\u66f4\u3057\u307e\u3057\u305f<\/h1>\n<p>\u3069\u3046\u3084\u3089<code>Amazon Polly<\/code>\u306e\u65e5\u672c\u8a9e\u5316\u306f\u300c<strong>\u30cb\u30e5\u30fc\u30e9\u30eb<\/strong>\u300d\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4f7f\u3048\u305a\u300c\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u300d\u3057\u304b\u306a\u304b\u3063\u305f\u305f\u3081\uff082021.05.23\u73fe\u5728\uff09\u3001\u6d41\u66a2\u306a\u65e5\u672c\u8a9e\u97f3\u58f0\u306b\u306f\u306a\u3089\u306a\u3044\u90e8\u5206\u304c\u3042\u308a\u307e\u3057\u305f\u3002\uff08\u30cb\u30e5\u30fc\u30e9\u30eb\u306f\u82f1\u8a9e\u306a\u3069\u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\uff09<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5546\u54c1\u7d39\u4ecb\u306e\u30c6\u30ad\u30b9\u30c8\u306b\u306f\u8aad\u70b9\u3092\u6253\u3064\u306a\u3069\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u6587\u7ae0\u304b\u3089\u306f\u5c11\u3057\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30cb\u30e5\u30fc\u30e9\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u6599\u91d1\u304c\u5c11\u3057\u9ad8\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\uff08100\u4e07\u6587\u5b57\u30d5\u30eb\u306b\u4f7f\u3063\u3066\u3082\u3001\u305f\u3063\u305f16\u30c9\u30eb\u3068\u8003\u3048\u308b\u3068\u5b89\u3044\u3067\u3059\u3051\u3069\u306d\ud83d\ude02\uff09<\/p>\n<ul>\n<li>\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\uff1a 100\u4e07\u6587\u5b57\uff084.00 USD\uff09<\/li>\n<li>\u30cb\u30e5\u30fc\u30e9\u30eb\uff1a 100\u4e07\u6587\u5b57\uff0816.00 USD\uff09<\/li>\n<\/ul>\n<p>\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\ud83d\udcdd \u53c2\u8003\u30da\u30fc\u30b8\uff1a<\/strong>\u00a0<a href=\"https:\/\/aws.amazon.com\/jp\/polly\/pricing\/\" target=\"_blank\" rel=\"noopener\">Amazon Polly \u6599\u91d1<\/a><\/p>\n<h1>\u4f01\u696d\u69d8\u3078\u306e\u3054\u63d0\u6848<\/h1>\n<p>\u4eca\u56de\u306e\u6280\u8853\u3092\u4f7f\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u81ea\u52d5\u5316\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5168\u5546\u54c1\u30c7\u30fc\u30bf\u304b\u3089\u52d5\u753b\u3092\u81ea\u52d5\u3067\u4f5c\u6210\u3057\u3001YouTube\u3078\u81ea\u52d5\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\uff06\u500b\u5225\u30da\u30fc\u30b8\u3067\u52d5\u753b\u304c\u898b\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<li>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5546\u54c1\u540d\u3092\u542b\u3081\u3066\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u97f3\u58f0\u5316\u3057\u3001\u305d\u306e\u307e\u307e\u793e\u5185\u3084\u5de5\u5834\u5185\u3078\u30a2\u30ca\u30a6\u30f3\u30b9\u3059\u308b\u3002<\/li>\n<li>\u30b3\u30e1\u30f3\u30c8\u3092\u3064\u3051\u305f\u753b\u50cf\u3092\u8907\u6570\u7528\u610f\u3057\u3001\u305d\u308c\u3092\u3064\u306a\u304e\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u4f5c\u696d\u3054\u3068\u306e\u300c\u624b\u9806\u52d5\u753b\u300d\u3092\u3064\u304f\u308a\u6559\u80b2\u7528\u306b\u3059\u308b<\/li>\n<li>\u30ea\u30af\u30eb\u30fc\u30c8\u7528\u306b\u4f1a\u793e\u6848\u5185\u52d5\u753b\u3092\u3064\u304f\u308b\uff08\u5c11\u3057\u767a\u97f3\u304c\u305f\u3069\u305f\u3069\u3057\u3044\u90e8\u5206\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u300c\u3053\u306e\u52d5\u753b\u306fAI\u3067\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u300d\u3068\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u3067\u6700\u5148\u7aef\u6280\u8853\u3092\u53d6\u308a\u5165\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u30a2\u30d4\u30fc\u30eb\u3059\u308b\uff09<\/li>\n<li>\u3053\u308c\u307e\u3067 PowerPoint \u3092\u4f7f\u3063\u3066\u30d7\u30ec\u30bc\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u3057\u3066\u3044\u305f\u3082\u306e\u3092\u52d5\u753b\u5316\u3057\u3001\u793e\u54e1\u3055\u3093\u305f\u3061\u306e\u4f5c\u696d\u3092\u6e1b\u3089\u3059<\/li>\n<\/ul>\n<p>\u3082\u3057\u4f55\u304b\u958b\u767a\u3057\u305f\u3044\u3082\u306e\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u3001\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304b\u3089\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Python<\/code>\u3092 + <code>Shell Script<\/code>\u4f7f\u3063\u3066\u5546\u54c1\u30da\u30fc\u30b8\u3092\u52d5\u753b\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u5185\u5bb9\u7684\u306b\u30d0\u30e9\u30a8\u30c6\u30a3\u691c\u8a3c\u756a\u7d44\u306e\u30ce\u30ea\u3060\u3063\u305f\u306e\u3067\u3068\u3066\u3082\u697d\u3057\u304f\u4f5c\u696d\u304c\u3067\u304d\u307e\u3057\u305f\ud83d\udc4d<\/p>\n<p>\u306a\u304a\u3001\u4e45\u3057\u3076\u308a\u306b<code>Python<\/code>\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u3084\u306f\u308a\u30b7\u30f3\u30d7\u30eb\u3067\u3044\u3044\u3067\u3059\u306d\u3002<br \/>\n\u305d\u308c\u307b\u3069\u66f8\u304d\u65b9\u306f\u5fd8\u308c\u3066\u306f\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff08\u30cb\u30c3\u30b3\u30ea\uff09<\/p>\n<p>\u9006\u306b\u3001<code>Shell Script<\/code>\u306f\u3001\u4ee3\u5165\u306e\u3068\u304d\u306e<code>\uff1d<\/code>\u306e\u5de6\u53f3\u306b\u30b9\u30da\u30fc\u30b9\u304c\u3042\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306a\u3069\u3001\u30af\u30bb\u304c\u5f37\u3044\u90e8\u5206\u3092\u5168\u304f\u899a\u3048\u3066\u304a\u3089\u305a\u82e6\u52b4\u3057\u307e\u3057\u305f\u3002\u3002\u3002\ud83d\ude2b<\/p>\n<p>\u305f\u307e\u306b\u5168\u304f\u9055\u3046\u8a00\u8a9e\u3092\u89e6\u3063\u3066\u307f\u308b\u306e\u3082\u3001\u305d\u306e\u8a00\u8a9e\u306e\u300c\u30ce\u30ea\u300d\u307f\u305f\u3044\u306a\u3082\u306e\u306f\u305d\u308c\u305e\u308c\u9055\u3046\u306e\u3067\u3001\u304d\u3063\u3068\u30e1\u30a4\u30f3\u8a00\u8a9e\u306e\u305f\u3081\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u3082\u6311\u6226\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\u2757<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3566 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1.png\" alt=\"\" width=\"306\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1.png 306w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1-287x300.png 287w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/>\u300cGic\u306f\u30b7\u30d5\u30a9\u30f3\u3082<br \/>\n\u30a6\u30de\u30a6\u30de\u3067\u3057\u305f\ud83d\udc4d\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u3053\u3053\u306e\u3068\u3053\u308d\u51fa\u9045\u308c\u3066\u3057\u307e\u3063\u305f\u611f\u304c\u3042\u308bAWS\u3092\u4f53\u9a13\u3059\u308b\u305f\u3081\u306b\u3044\u304f\u3064\u304b\u8a18\u4e8b\u3092\u516c\u958b\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3089\u306f\u5168\u3066Laravel\u3067\u306e\u958b\u767a\u3067\u3057\u305f\u3002 \u305f\u3060\u3001\u305f\u307e\u306b\u306f &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=9174\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Amazon Polly \u3067\u5546\u54c1\u30c6\u30ad\u30b9\u30c8\u3092\u97f3\u58f0\u5316 \u2192 \u7d39\u4ecb\u52d5\u753b\u3092\u3064\u304f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":9182,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[233,39],"tags":[138],"class_list":["post-9174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","category-python","tag-138"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/9174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9174"}],"version-history":[{"count":4,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/9174\/revisions"}],"predecessor-version":[{"id":9184,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/9174\/revisions\/9184"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/9182"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}