Skip to main content
Orux AIOruxAI
Developer docsAPI reference

Google / Image

nano-banana-2.1

Generate images from a description for product visuals and creative illustration.

POSThttps://orux.top/api/v1/tasks

Authorization

Pass your Orux API key in the request header. Keep keys on your server.

  • Authorization: Bearer YOUR_API_KEY
  • Content-Type: application/json

Request body

model: nano-banana-2.1. Place model parameters inside input.

Examples use configured defaults. Replace placeholders in angle brackets with actual values.

Parameters

Fields accepted in the request body for this model.

prompttext
Required

Describe the subject, scene, style and lighting. Generates one image.

Length: ≤ 20000
image_urlsimage URL[]
Optional

Upload reference images to edit or combine; leave empty to generate from text.

Count: ≤ 10
resolutionenum
Required
Values: 1K / 2K / 4KDefault: 1K
aspect_ratioenum
Required

Auto lets the model choose the aspect ratio.

Values: Auto / 1:1 / 2:3 / 3:2 / 1:4 / 4:1 / 3:4 / 4:3 / 4:5 / 5:4 / 1:8 / 8:1 / 9:16 / 16:9 / 21:9Default: auto

Response examples

Illustrative response structures. Actual content depends on the request.

Retrieve the result

Save task_id and poll the task endpoint. An accepted task has not yet finished generating.

Open playground