Generate an image with gemini-3.1-flash-lite-image
Gemini 3.1 Flash Lite Image
Gemini 3.1 Flash Lite Image examples
Generate and edit 1K images synchronously or asynchronously with Nano Banana 2 Lite on YingTu.
POST
Generate an image with gemini-3.1-flash-lite-image
Create a 1K image
Queue the same job
Change the method suffix to:asyncGenerateContent. In live verification the
submit returned queued, and the task completed after four polls with the same
1K PNG response shape under result.
inlineData.
Test this model online
The OpenAPI panel on this page is fixed togemini-3.1-flash-lite-image:generateContent and prefills the valid 1K body.
Enter a development key and use Try it without navigating elsewhere.
Authorizations
YingTu API key.
Body
application/json
Response
Complete Gemini response
The model version that produced the response.
Example:
"gemini-3.1-flash-lite-image"
Provider response identifier.
Example:
"response_example"
Creation time when supplied by the selected model channel.