Generate and edit images using Google's Nano Banana Pro model via the Replicate API.
Run the generation script:
uv run --with replicate python {baseDir}/generate.py --prompt "
--prompt: The image description (required)--aspect-ratio: Ratio like 1:1, 4:3, 16:9 (default: 1:1)--output: Output file path (default: generated_image.png)google/nano-banana-pro model. Never fall back to other models like google/nano-banana or any alternative. If the model is unavailable or rate-limited, report the error to the user and stop.共 1 个版本