Get Started
Integrate this model into your application with a few lines of code.
You need an API key to use this model.
Example request
A complete request you can copy and run in your language of choice.
# Synchronous: one POST returns the image inline, as base64 JPEG bytes.
# The envelope is {id, status, usage, created, updated, service_tier, steps, ...}
# — NOT data[].b64_json. steps[] composition varies (the signature step is
# optional, thinking models add a thought step), so take the first data part.
curl -s https://api.nunchux.ai/v1/google/v1beta/interactions \
-H "Authorization: Bearer $NUNCHUX_API_KEY" \
-H "Content-Type: application/json" \
-H "User-Agent: YourApp/1.0" \
-d '{
"model": "gemini-3-pro-image",
"input": [
{
"type": "text",
"text": "A nostalgic film photo taken of a 4 year old boy playing on the beach, making sandcastles with a bucket, candid, feels like a memory, framed unconventionally like through someones eyes rather than looking like a posed photo, greens and overexposure from the film camera"
}
],
"response_format": {
"type": "image",
"image_size": "1K",
"aspect_ratio": "1:1"
}
}' | jq -r '[.steps[].content[]? | select(.data)][0].data' | base64 -d > output.jpg