Generate an image on emaki
generate_imageCreate an image from a text prompt and get its URL back, using your emaki credits. Use the result as a first frame for video generation.
Instructions
Generate an image from a text prompt on emaki.ai and return its URL. Defaults to Nano Banana 2 Lite, the lowest-cost model; a good way to make a first frame for generate_video. Runs on your emaki credits.
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 |
|---|---|---|---|
| wait | No | Block until the image is ready. Default true. | |
| model | No | Default nano_banana_2_lite. | |
| prompt | Yes | What the image should show. | |
| quality | No | 'basic', 'high' or 'ultra' (seedream_5_lite). | |
| resolution | No | '1K', '2K' or '4K' (nano_banana_2 and gpt_image_2). | |
| aspect_ratio | No | e.g. '1:1', '16:9', '9:16', '4:3', '3:4', '2:3', '3:2'. |