Back to models

Gemini 3.1 Flash Image Preview

ImageImage to image
fal-ai/gemini-3.1-flash-image-preview/editView on fal.ai

Parameters

Dictation ready.

The prompt for image editing.

The URLs of the images to use for image-to-image generation or image editing. Optional when at least one of `video_url`, `audio_url`, or `pdf_url` is provided.

Optional video to use as input context. Accepts an http(s)/data URL to a video file (downloaded and sent inline, max 15MB) or a YouTube URL (passed through to the model without downloading).

Optional audio file to use as input context. Accepts an http(s)/data URL (downloaded and sent inline, max 15MB).

The number of images to generate.

The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8.

Result

Run the model to see the result here.