generate_image
Create images from natural language prompts using Fal AI's nano-banana-pro model. Set aspect ratio, image count, and output format to match your needs.
Instructions
Fal AI (fal-ai/nano-banana-pro) を使用して画像を生成します。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | 生成する画像のプロンプト (英語推奨) | |
| num_images | No | 生成する画像の枚数 | |
| aspect_ratio | No | アスペクト比 (例: '1:1', '16:9') | 1:1 |
| output_format | No | 出力フォーマット (例: 'png', 'jpeg') | png |