Skip to main content
Use POST /v1/images/generate when you want to create a new image from a description. No uploaded photo is required.
The omitted settings default to Nano Banana 2, standard quality, and one output image. This creates clothing from your description. To feature a specific product, include its reference photos. Save jobs[0].id, then check progress. When the status is completed, use result.url to display or download the image. Stop polling on failed or policy_blocked and read error.message.

Structure your directions

Use model_text and outfit_text for person and clothing descriptions. Put scene, lighting, pose, and composition directions in prompt:
Submit this body to the same generation endpoint. If you need to preserve a specific person from a photo, use virtual try-on. Generate with a product → · Choose output settings →