このAPIは、X(旧Twitter)の投稿内容に基づいてAI画像を生成し、Cloudinaryに保存してURLを返します。
使用方法:
POST /.netlify/functions/generate-image Content-Type: application/json { "tweetText": "投稿内容" }