Nano Banana
Generate or edit one image from text and up to three public HTTPS reference images, with configurable aspect ratio and output format.
Supported modes
Async flow: Create the task, save data.id, then poll the Task with GET /v1/tasks/{task_id}. On succeeded, read data.output.media. On failed, read data.error_code and data.error_message, then follow the error and retry policy.
Using a local file? upload a local input first and pass the returned data.url.
認証
Send your API key as Authorization: Bearer <BEATAPI_API_KEY>.
ヘッダー
リクエスト
Must be nano-banana.
Generation or image-editing instructions.
Public HTTPS reference-image URLs in PNG, JPEG or WebP; each link is checked when the task is created, and one that is not such an image (an error page, a GIF, a 404) is refused with 400. Omit for text-to-image.

