shridharathi/nano-banana-aspect-ratio

Nano banana with aspect ratio selection

Public
2K runs

Run shridharathi/nano-banana-aspect-ratio with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text description of the image to generate or edit
input_images
array
[]
Optional input images to transform, edit, or use as reference
aspect_ratio
None
16:9
Target aspect ratio for the final output
output_format
None
jpg
Output image format
reframe_prompt
string
Optional prompt to guide the reframing generation (leave empty for automatic)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/F7do0gZeVQVjLis4vtqa3aGDl87wYPNcTcBnQdtCJxjnGynKA/tmp7ljz_5hp.jpg'