Google Gemini API形式を使用してコンテンツを生成します
gemini-2.5-pro、gemini-2.5-flash)。?key=YOUR_API_KEY クエリパラメータx-goog-api-key: YOUR_API_KEY ヘッダーAuthorization: Bearer YOUR_API_KEY ヘッダーrole (string): user または modelparts (array): コンテンツパーツ(text または inline data)temperature (number): サンプリング温度topP (number): 核サンプリング(Nucleus sampling)確率topK (integer): Top-KサンプリングmaxOutputTokens (integer): 最大出力トークン数stopSequences (array): 停止シーケンス