Create or edit an image
create_imageGenerate a new image from text, or edit photo(s) following instructions (change background, outfit, style, lighting, combine several photos). Uses Nano Banana 2 at 1K. Costs credits. Usually returns the image directly; if status is pending, call get_image later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The image to create, or the edit to make to the photo(s). | |
| image_urls | No | Photos to edit or combine. Omit to generate from text only. | |
| aspect_ratio | No | auto (default) keeps the input photo's shape. |