Get API

Gemini 3.1 Flash Image Edit Image

Gemini 3.1 Flash Image Edit Image is available in the Business API catalog.

google/gemini-3.1-flash-image/image-to-image

Examples

representative generations · starting points to seed the playground

Combine the two references: place the woman in the sculptural red vinyl trench from the first image inside the pistachio gondola cabin from the second image, seated composed on the wooden bench before the big front window with the foggy peaks and cables behind her — the red vinyl the only saturated mass in the pale cabin, its sheen catching the window light. Keep her identity and the coat's sculpted collar exactly. Slightly desaturated, low contrast, fine film grain, matte. No other people, no text.

Combine the references: the red cello case stands upright in the middle of the misty pine forest path, alone, its gloss catching the soft green light, fern fronds at its base — the single saturated object in the fog. Match the forest's cool light on the shell. No people, no text.

Combine the references: the white horse stands in profile among the lavender rows at blue hour, luminous against the violet dusk, the lone oak behind it, first stars above. Keep the horse's exact form; match the fading light so its coat holds the last glow. No people, no text.

Treat the first image as the base composition and the second image as the new facial identity. Replace only the main person’s identity and facial features while preserving the base pose, gaze direction, crop, body proportions, environment, and object layout. Reconcile skin tone and hair naturally with the base lighting. Keep the Pika art direction: soft colors, soft light, soft edges, slightly desaturated but still colorful, low contrast, subtle film grain, clean playful composition. Do not copy any logo, watermark, or readable text.

EDIT GOAL: Replace the neutral portrait backdrop with the stepped pastel-pink courtyard, blue sky, and one small potted tree from the second image. Preserve the subject’s exact identity, pose, hard-edged sun patch, wardrobe, crop, and restrained color response. PRESERVATION BRIEF FOR THE FIRST PROVIDED IMAGE: Portrait of a young woman with short, dark wavy hair swept back and slightly damp-looking, a few loose curls framing her face near the ears. She sits leaning forward, chin resting on her stacked hands, elbows propped on her knees, wearing a sleeveless black top with a high, structured neckline. Her gaze is direct and calm, meeting the camera with a relaxed, confident expression, lips softly parted with a natural glossy sheen. Skin has a dewy, luminous finish with visible pores and subtle natural texture, cheeks catching warm highlights. Background is a plain, softly lit gray-white wall with a blurred pale chair shape visible behind her right shoulder, keeping the environment minimal with only one implied prop. Camera positioned at eye level, slightly below, shooting with an 85mm-equivalent lens, shallow depth of field isolating the face and hands while the shoulders and background fall into soft blur. Lighting comes from the upper left, soft yet directional, casting a gentle shadow across the right side of the face and creating warm highlights on the cheek, nose bridge, and knuckles; shadow density is moderate, preserving detail in darker tones. Color palette is warm neutral—skin tones in soft peach and gold, hair in deep near-black brown, top in matte black, background in cool dove gray—creating gentle contrast between warm subject and cool backdrop. Grading resembles analog film: slightly faded blacks, soft highlight rolloff, subtle halation around bright edges, fine authentic grain, and faint scan noise texture giving an organic, tactile, cinematic quality. Composition centers the face in the upper two-thirds, with hands and forearms forming a strong diagonal anchor in the lower frame, framed as a vertical medium close-up portrait. Use the second provided image only for the named object, ingredient, background, face, or character. Preserve everything in the first image that the edit goal does not explicitly change. Keep the approved Pika art direction: softer colors, softer lighting, softer lines, restrained saturation while retaining color, low contrast, delicate film grain or tactile print texture, clean negative space, and one witty but controlled visual idea. Avoid glossy HDR, hard digital sharpness, clutter, logos, watermarks, and copied brand wording.

Per-model pricing

Transparent, usage-based rates for every Google model.

Gemini Omni Flash

Video

Text to Video

Video output$17.50 / 1M tok
Input$1.50 / 1M tok
Output$9 / 1M tok

Image to Video

Video output$17.50 / 1M tok
Input$1.50 / 1M tok
Output$9 / 1M tok

Reference to Video

Video output$17.50 / 1M tok
Input$1.50 / 1M tok
Output$9 / 1M tok

Video to Video

Video output$17.50 / 1M tok
Input$1.50 / 1M tok
Output$9 / 1M tok

Veo 3.1

Video

Text to Video

720pno audio$0.20 / sec
1080pno audio$0.20 / sec
720pwith audio$0.40 / sec
1080pwith audio$0.40 / sec
4kno audio$0.40 / sec
4kwith audio$0.60 / sec

Video Extension

no audio$0.20 / sec
with audio$0.40 / sec

Veo 3.1 Fast

Video

Text to Video

720pno audio$0.08 / sec
720pwith audio$0.10 / sec
1080pno audio$0.10 / sec
1080pwith audio$0.12 / sec
4kno audio$0.25 / sec
4kwith audio$0.30 / sec

Video Extension

no audio$0.08 / sec
with audio$0.10 / sec

Veo 3.1 Lite

Video

Image to Video

720pno audio$0.03 / sec
720pwith audio$0.05 / sec
1080pno audio$0.05 / sec
1080pwith audio$0.08 / sec

Nano Banana Pro

Image

Image to Image

Image output$120 / 1M tok
Input$2 / 1M tok
Output$12 / 1M tok

Text to Image

Image output$120 / 1M tok
Input$2 / 1M tok
Output$12 / 1M tok

Nano Banana 2

Image

Image to ImageCurrent

Image output$60 / 1M tok
Input$0.50 / 1M tok
Output$3 / 1M tok

Text to Image

Image output$60 / 1M tok
Input$0.50 / 1M tok
Output$3 / 1M tok

Nano Banana 2 Lite

Image

Image to Image

Image output$30 / 1M tok
Input$0.25 / 1M tok
Output$1.50 / 1M tok

Text to Image

Image output$30 / 1M tok
Input$0.25 / 1M tok
Output$1.50 / 1M tok

Lyria 3 Pro

Audio • Text to Audio

$0.064 / request

Lyria 3

Audio • Text to Audio

$0.032 / request

Lyria 2

Audio • Music

$0.048 / request

Gemini 3.6 Flash

LLM

Input$1.20 / 1M tok
Output$6 / 1M tok
Cached input$0.12 / 1M tok

Gemini 3.5 Flash-Lite

LLM

Input$0.24 / 1M tok
Output$2 / 1M tok
Cached input$0.024 / 1M tok

Gemini 3.1 Pro

LLM

Input$1.60 / 1M tok
Output$9.60 / 1M tok
Cached input$0.16 / 1M tok