Gemini 3.1 Flash Image Preview 소개
Gemini 3.1 Flash Image Preview (gemini-3.1-flash-image-preview) is a speed-first image model for fast generation and reference-image editing. It is available in Global and CN regions and is submitted through POST /v1/generations.
Pick it for quick ideation, concept images or batch previews: it supports resolutions from 0.5K to 4K and very wide or very tall aspect ratios.
주요 기능
0.5K to 4K resolution
resolution accepts 0.5K, 1K (default), 2K and 4K. 0.5K suits testing and previews; raise it for final assets.
Ultra-wide and ultra-tall ratios
aspect_ratio defaults to 1:1 and accepts 21:9, 16:9, 3:2, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16, 8:1, 4:1, 1:4, 4:3 and 1:8.
Reference-image editing
Pass reference image URLs in reference_images to modify existing pictures.
Multiple images per request
Use n to set how many images to generate; the default is 1.
사용 사례
- Fast ideation and concept validation
- Low-resolution batch previews
- Banners and strips in ultra-wide or ultra-tall ratios
- Quick reference-based edits
네 단계로 시작하기
- 콘솔에서 API 키를 만드세요.
- API 탭에서 모델을 선택하고 파라미터를 확인하세요.
- 파라미터를 입력하고 견적 엔드포인트로 비용을 확인하세요.
- 요청을 제출한 후 작업을 폴링하거나 웹훅으로 결과를 받으세요.
프롬프트 작성
[Subject] + [Composition] + [Lighting] + [Style]- Start with the subject, then add composition, lighting and style; keep sentences short.
- For ultra-wide or ultra-tall ratios, describe how elements are laid out, for example left to right.
- For edits, say what must stay unchanged before describing the change.
- This model has no quality field; do not pass GPT Image requests through unchanged.
예시 프롬프트
- A clean product concept image, soft studio lighting
- A horizontal mountain panorama illustration that shifts from dawn on the left to dusk on the right
- Keep the cup shape unchanged and replace the background with a fresh mint green
FAQ
Does it support quality?⌄
No. Control output detail with resolution.
When should I use 0.5K?⌄
For testing and previews. For final assets, choose 1K, 2K or 4K based on the detail you need.
How is it billed?⌄
The Price tab lists every tier. Call POST /v1/quote with the same parameters to estimate credits before submitting. API calls only spend purchased permanent credit packs and admin-adjusted credits.
Is the request synchronous?⌄
No. Creating a task returns a task_id; poll GET /v1/tasks/{task_id} or wait for a webhook to get the result.


