Skip to main content
POST
Submit Nano Banana 2 Lite task

Submit task

prompt is required. Omit image_urls for text-to-image, or provide up to 10 public HTTP(S) image URLs. This Lite model does not accept resolution or output_format.
If omitted, aspect_ratio defaults to auto.

Authorizations

Authorization
string
header
required

Wizzx API key. This is not a JWT.

Body

application/json
prompt
string
required

Required prompt. The gateway enforces a 20000-byte UTF-8 limit.

Minimum string length: 1
image_urls
string<uri>[]
Maximum array length: 10

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
aspect_ratio
enum<string>
default:auto
Available options:
1:1,
1:4,
1:8,
2:3,
3:2,
3:4,
4:1,
4:3,
4:5,
5:4,
8:1,
9:16,
16:9,
21:9,
auto

Response

Task accepted

code
enum<integer>
required
Available options:
0
message
string
required
Example:

"success"

data
object
required
request_id
string<uuid>
required