{
"contents": [
{
"parts": [
{
"text": "A kawaii-style sticker of a happy red panda wearing a tiny bamboo hat. It'smunching on a green bamboo leaf. The design features bold, clean outlines,simple cel-shading, and a vibrant color palette. The background must be white."
}
]
}
],
"generationConfig": {
"imageConfig": {
"aspectRatio": "16:9",
"image_size": "1K"
}
}
}curl --location -g --request POST 'http://api.example.com/v1beta/models/gemini-3-pro-image-preview:streamGenerateContent?alt=sse' \
--header 'x-goog-api-key: sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"parts": [
{
"text": "A kawaii-style sticker of a happy red panda wearing a tiny bamboo hat. It'\''smunching on a green bamboo leaf. The design features bold, clean outlines,simple cel-shading, and a vibrant color palette. The background must be white."
}
]
}
],
"generationConfig": {
"imageConfig": {
"aspectRatio": "16:9",
"image_size": "1K"
}
}
}'{}