
5分間LTで時間オーバーしてしまったのでマツケンサンバを踊りました
2025/01/16(木)に開催された、JAWS-UG OSAKA主催の「JAWS-UG大阪 re:Invent re:Cap LT大会 サンバが始まったら強制終了」にて5分間LT枠で登壇しました。
サンバを踊った理由
私は、Amazon Nova Reelについて発表しました。
新年早々なのでタイトルは「Amazon Nova Reelの可能性」にしました。
LT資料の表紙は、Amazon Nova Canvasという画像生成AIで作成しました。マツケンサンバ→殿様→侍という連想です。プロンプトに大阪城を背景にいれて、と書いて出力しました。手軽にキャッチーな画像が作れるので、しばらくはこの手法を続けていくと思います。
当日の模様はハッシュタグ「#jawsugosaka」で検索してください。
「JAWS-UG大阪 re:Invent re:Cap LT大会 サンバが始まったら強制終了」勝手にまとめをkazzpapa3さんが作成くださっていました。ありがとうございます。
5分手前で終われるつもりでしたが、あんなに大勢の方が見てくださる状況ではやはりあがってしまって、経過時間が表示されるモニターを見る余裕がありませんでした。結果、サンバ隊の方々にストップしていただく事になってしまいました。反省です。
コンテンツフィルターでもエラー扱い。たしかに。これはUXが悪いなぁ🧐
— k.masachika (@mkdev_10) January 16, 2025
#jawsugosaka pic.twitter.com/diwTNIbQP7
MBS様のスタジオセットで開催されたこともあって当日はIT系勉強会イベントではない煌びやかな雰囲気でした。
サンバ隊の皆様、本当にお疲れさまでした。
今日は最高な #reInvent recap回になりました!!!!みなさんありがとうございました👏👏👏#jawsugosaka では楽しく学べる技術勉強会を今年もはりきって開催していきます🫡どうぞよろしくお願いします!!! pic.twitter.com/h7XhmVx6yV
— Hiromi Ito🌏🇯🇵✈︎🇪🇸✈︎🇵🇪 (@hiro_baila) January 16, 2025
イベント終わってから、ラスベガスのお土産をいただきました。次回のAWS re:Invent 2025では私がお土産をお渡しできる立場になれるよう新年2025年は頑張っていく所存です。
懇親会でも、皆様とお話できて楽しかったです。
JAWS-UG OSAKA運営メンバーの皆様、LTの時間制限でサンバはナイスアイディアでした。強制終了されても残念感がありませんでした。
本当にありがとうございました。
Amazon Qに調べてもらう
発表を待っている間に、「今回Amazon Nova Reelで動画生成できなった件でAWSサポート様に助けてもらったけど、Amazon Qはどこまで出来るんだろう」という疑問が浮かびました。
そこで今回試してみました。

国民的猫型ロボットの画像を規定サイズで作ってアップしました。
プロンプトはA robot cat does the twist danceにしました。「実行」ボタンクリック時はコンテンツチェックはされないみたいで、動画生成が実行され約5分待ちます。

ここからAmazon Qに問い合わせました。
Amazon Nova Reelで動画を生成したら、Failedになり動画作成が失敗しました。Job IDはm099a4elcmpyです。原因を教えてください。
When I generate a video with Amazon Nova Reel, the video creation failed with the error "Failed." The Job ID is m099a4elcmpy. What is the reason?

To help troubleshoot your Amazon Nova Reel video creation issue, I'd like to check the AWS Elemental MediaConvert service metrics. Can you please provide the following information:The AWS region where you're using Amazon Nova Reel (e.g., us-east-1, eu-west-1).
The approximate time when you attempted to create the video that failed (please provide the date and time, and specify if it's in UTC or your local time zone).
If you have any specific error message or code besides "Failed," please share it.
This information will help me investigate the issue more effectively.
Amazon Nova Reel のビデオ作成に関する問題のトラブルシューティングに役立てるため、AWS Elemental MediaConvert サービスのメトリクスを確認したいと思います。次の情報をご提供ください。
Amazon Nova Reel を使用している AWS リージョン (例: us-east-1、eu-west-1)。
失敗したビデオの作成を試みたおおよその時間 (日時と、UTC かローカル タイム ゾーンかを指定してください)。
「失敗」以外の具体的なエラー メッセージやコードがある場合は、ぜひ共有してください。
この情報は、問題をより効果的に調査するのに役立ちます。
「Amazon Bedrockのプレイグランドで動画生成しました。Failed.以外のエラーメッセージは表示されていません。」を含めて、Amazon Qのチャットに追記ました。
us-east-1
2025/01/18 6:26:32 JST
I created a video on Amazon Bedrock Playground. No error messages were displayed other than "Failed."

I'm going to look for metric anomalies in the "AWS/MediaConvert" namespace and perform a health check on the MediaConvert service for the time window between 2025-01-18T21:11:32 and 2025-01-18T21:41:32 (UTC). This time window covers 15 minutes before and after your specified time, converted to UTC. Do you want me to proceed?

aws bedrock-runtime get-async-invoke --invocation-arnコマンドを使って、なぜ失敗したのか調べてください。

Certainly! To investigate why your video creation failed, we can use the AWS CLI command you mentioned. Here's how to proceed:
1. Open your terminal or command prompt.
2. Ensure you have the AWS CLI installed and configured with the appropriate credentials for the us-east-1 region.
3. Run the following command, replacing `<INVOCATION_ARN>` with the actual ARN of your invocation:
```
aws bedrock-runtime get-async-invoke --invocation-arn <INVOCATION_ARN>
```
4. The command should return a JSON response with details about the invocation, including its status and any failure messages.
5. Look for the "failureMessage" field in the response. This should provide more information about why the video creation failed.
6. If you don't see a "failureMessage" or if it's not descriptive enough, check the "status" field to confirm that it shows "Failed".
If you're unable to find the invocation ARN or if you need more information, you can try listing recent invocations:
1. Run the following command:
```
aws bedrock-runtime list-async-invokes --model-id amazon.nova-reel-v1:0
```
2. This will return a list of recent invocations. Look for the one with the Job ID m099a4elcmpy.
3. Once you find the correct invocation, use its ARN in the get-async-invoke command as described earlier.
If you're still unable to determine the cause of the failure, consider the following:
- Check if your input parameters (like text prompt, duration, or image dimensions) are within the supported ranges.
- Ensure your AWS role has the necessary permissions for Amazon Bedrock and Amazon S3.
- Verify that your S3 bucket for output is correctly configured and accessible.
If the problem persists, I recommend reaching out to AWS Support for further assistance. They can provide more detailed insights into the specific error you're encountering.
Remember to review and adjust any permissions or configurations based on the principle of least privilege, ensuring you grant only the necessary access for your video generation tasks.
Sources
[1] [Video generation access and usage - Amazon Nova] (https://docs.aws.amazon.com/nova/latest/userguide/video-gen-access.html)
[3] [Code examples - Amazon Nova] (https://docs.aws.amazon.com/nova/latest/userguide/video-gen-code-examples.html)
[6] [Error handling - Amazon Nova] (https://docs.aws.amazon.com/nova/latest/userguide/video-gen-errors.html)
まだちょっと、かゆいところに手が届くサポートAIには育っていないようです。Amazon Qが日本語対応して、相談の仕方になれたらもしかしたら解決できるのでしょうか。

The generated content has been blocked by our content filters.
$ aws bedrock-runtime get-async-invoke --invocation-arn arn:aws:bedrock:us-east-1:<アカウント ID>:async-invoke/<Job ID>

コンテンツフィルターが発動したのかどうか、Amazon Bedrockのプレイグランド上で表示されるようにフィードバックを送りました。この記事を読んだ方も、もしよければ送ってくださると改善が早くなると思います。
ラスベガスのお土産
ラスベガスで開催されたAWS re:Invent 2024に参加された方から、ニット帽、Amazon Connectチョコレート、飛行機で使う袋を頂きました。ありがとうございました。
今年2025年12月の際は、私が皆さんにお土産を渡せる立場になれるよう頑張っていきます。




