Text to Image Generation
Nano Banana
🍌 Image Generation
Generate images from text prompts using Gemini Nano-Banana model
POST
Text to Image Generation
Generate images from text prompts using the Gemini Nano-Banana model.Documentation Index
Fetch the complete documentation index at: https://mulerun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Aspect Ratio
Theaspect_ratio parameter allows you to specify the desired aspect ratio for the generated image. Different aspect ratios are suitable for different use cases.
Supported Aspect Ratios and Resolutions
| Aspect Ratio | Resolution |
|---|---|
| 1:1 | 1024×1024 |
| 2:3 | 832×1248 |
| 3:2 | 1248×832 |
| 3:4 | 864×1184 |
| 4:3 | 1184×864 |
| 4:5 | 896×1152 |
| 5:4 | 1152×896 |
| 9:16 | 768×1344 |
| 16:9 | 1344×768 |
| 21:9 | 1536×672 |
aspect_ratio parameter is optional. If not specified, the default aspect ratio will be used.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
202 - application/json
Task created successfully