gemini-3.1-flash-lite-image API gambar AI
Google menyediakan gemini-3.1-flash-lite-image untuk pembuatan gambar. Flatkey merutekannya melalui /v1/images/generations. $0.25/$1.5 per 1M tokens.
Keluaran
Pratinjau
Ringkasan permintaan
- Titik akhir API
- POST /v1beta/models/gemini-3.1-flash-lite-image:generateContent
- ID model
- gemini-3.1-flash-lite-image
- Rasio aspek
- 1:1
- Resolusi
- 1K
Hanya pratinjau. Masuk untuk mengirim permintaan ini ke Flatkey.
{
"model": "gemini-3.1-flash-lite-image",
"contents": [
{
"role": "user",
"parts": [
{
"text": "Creative direction: Create a 10-by-10 numbered storyboard contact sheet containing 100 panels from a period Chinese drama. Show recurring male and female characters in historical robes across courtyards, interiors, markets, meals, letters, costume changes, and night scenes. Keep faces, wardrobe continuity, props, and screen direction consistent from panel to panel; use warm lantern light, varied shot sizes, and small readable panel numbers.\n\nComposition, material and finish: Use exactly ten rows and ten columns with uniform gutters and sequential panel numbers 1–100. Organize each row as a readable scene progression; alternate wide, medium and detail views without changing character identity. Keep garments tied to each scene and preserve eyelines between adjacent shots. Prioritize readable silhouettes at contact-sheet scale; avoid merged panels, repeated numbers, modern props and watermarks."
}
]
}
],
"generationConfig": {
"responseModalities": [
"TEXT",
"IMAGE"
],
"imageConfig": {
"aspectRatio": "1:1",
"imageSize": "1K"
}
}
}Performa API
gemini-3.1-flash-lite-image Keandalan dan ketersediaan API
Telemetri permintaan Flatkey untuk gemini-3.1-flash-lite-image akan tampil di sini jika trafik produksi sudah mencukupi.
Aktivitas API
gemini-3.1-flash-lite-image Penggunaan dan aktivitas permintaan API
Pantau volume permintaan dan aktivitas inferensi berhasil untuk gemini-3.1-flash-lite-image pada periode pelaporan terbaru.
gemini-3.1-flash-lite-image harga
gemini-3.1-flash-lite-image Harga dan penagihan API
Harga di bawah dihitung dari data harga Flatkey untuk model ini dan grup terlihat yang saat ini dikembalikan oleh API harga kami.
Tambah kredit
Gunakan saldo dan kunci API Flatkey yang sama untuk model gambar, video, audio, dan teks.
- Jenis model
- Teks menjadi gambar
- API
- /v1beta/models/gemini-3.1-flash-lite-image:generateContent
- Dasar penagihan
- 1M tokens
- Keluaran
- 1
gemini-3.1-flash-lite-image generator gambar AI dan API: kemampuan utama
Rute gemini-3.1-flash-lite-image dari Google mendukung teks · gambar. Kategori katalog: Marketing.
gemini-3.1-flash-lite-image untuk pembuatan gambar
Ubah brief tertulis menjadi output pembuatan gambar melalui /v1/images/generations.
Alur kerja referensi gemini-3.1-flash-lite-image
Gunakan referensi yang ada saat rute gemini-3.1-flash-lite-image menerima media atau konteks referensi.
Varian siap kanal gemini-3.1-flash-lite-image
Adaptasikan satu konsep menjadi varian yang dibutuhkan toko, kampanye, atau pipeline konten.
Serah-terima produksi gemini-3.1-flash-lite-image
Pindahkan hasil yang disetujui dari eksplorasi prompt ke alur generasi Flatkey yang dapat diulang.
Bandingkan
gemini-3.1-flash-lite-image Perbandingan API: kemampuan dan akses
Bandingkan fakta katalog gemini-3.1-flash-lite-image dengan acuan generasi sebelumnya sebelum mengubah integrasi.
| Kemampuan | Generasi sebelumnya | gemini-3.1-flash-lite-image |
|---|---|---|
| Penyedia | Belum diverifikasi dalam snapshot katalog ini | |
| Modalitas | Belum diverifikasi dalam snapshot katalog ini | teks · gambar |
| Konteks | Belum diverifikasi dalam snapshot katalog ini | Katalog tidak mencantumkan jendela konteks |
| Titik akhir API | Belum diverifikasi dalam snapshot katalog ini | /v1/images/generations |
| Penagihan | Belum diverifikasi dalam snapshot katalog ini | $0.25/$1.5 per 1M tokens |
Pilih permintaan yang tepat sebelum integrasi
Periksa alur yang didukung, biaya saat ini, dan kontrak parameter Flatkey.
Dihitung dari konfigurasi saat ini dan tarif katalog jika harga unit tetap tersedia.
- Konfigurasi saat ini
- 1×
- Tarif langsung
- $0.03
- Estimasi permintaan
- Harga berdasarkan penggunaan
Biaya akhir mengikuti permintaan dan grup akun; harga token atau bertingkat tidak dapat dijadikan satu angka tetap.
Alur dan Model ID
Gunakan hanya alur yang tersedia. Flatkey mempertahankan satu ID publik dan body memilih jenis input.
Teks ke gambar
Buat gambar baru dari teks.
- ID model
gemini-3.1-flash-lite-image- Endpoint
/v1beta/models/gemini-3.1-flash-lite-image:generateContent
Gambar berpanduan referensi
Gunakan referensi untuk edit atau variasi.
- ID model
gemini-3.1-flash-lite-image- Endpoint
/v1beta/models/gemini-3.1-flash-lite-image:generateContent
Kompatibilitas parameter
Nilai berasal dari konfigurasi yang sama dengan Playground.
aspect_ratioRasio aspek1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9
Default: 1:1image_sizeUkuran1K · 2K · 4K
Default: 1KimageBatas referensi4 file
Endpoint: /v1beta/models/gemini-3.1-flash-lite-image:generateContentDari tes pertama ke produksi
Gunakan kontrak yang sama di Playground dan API serta tangani validasi, saldo, status, dan hasil.
Siklus permintaan
- 1
Validasi model, prompt, referensi, dan output.
- 2
Kirim permintaan gambar.
- 3
Baca hasil atau tugas asinkron.
- 4
Simpan file dan metadata.
Pemeriksaan produksi
Blokir nilai dan referensi yang tidak didukung.
Tangani kunci, saldo, limit, dan harga grup terpisah.
Tunjukkan prompt atau aset yang harus diganti.
Simpan task ID, batasi percobaan, dan jangan anggap timeout berhasil.
Pustaka prompt
Contoh prompt gemini-3.1-flash-lite-image untuk pembuatan gambar
Mulai dengan prompt gemini-3.1-flash-lite-image untuk pembuatan gambar, lalu sesuaikan kolom permintaan yang terlihat di playground.
Dibuat dengan Image 2
Scene: A 16:9 whimsical game UI shows a small white robot standing in a floating-island garden while holding a green plant blaster or seed tool. A circular equipment wheel surrounds the selected tool, with tiny garden plots, paths, clouds, and floating terrain behind. Lock the robot pose, tool shape, wheel position, and bright pastel lighting for an equipment-switch frame. No readable words, logos, invented stats, or watermark. Composition and rendering: Deliver one 16:9 game-interface keyframe. Separate the character, held equipment and HUD into clear depth layers; keep slot spacing and icon scale consistent, with the selected item visually dominant. Preserve the scene-specific game art style. Let material edges catch the existing light without letting interface glow obscure the silhouette. Keep all equipment fully inside the frame. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
Dibuat dengan Image 2
Scene: An aerial broadcast-style road-race frame follows a cyclist and a motorcycle on a winding coastal road above blue water and steep cliffs. Leave an abstract lower-third area free of readable text and keep the road curve, vehicle spacing, sea horizon, and sun direction consistent. No real teams, athletes, logos, or watermark. Composition and rendering: Deliver one 16:9 broadcast still at the decisive instant. Use coherent perspective for the playing surface and equipment, readable separation between competitors, and a softer crowd behind the action. Keep the principal subject sharp, with directional blur limited to fast extremities and spray. Preserve the specified broadcast angle and reserve overlay areas clear of the action. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
Dibuat dengan Image 2
Scene: A tall matte black bottle stands on a sunlit mountain rock with a hazy valley and layered peaks behind it. Use a warm sunrise rim on the right and soft atmospheric depth while preserving the plain cap, bottle silhouette, rock texture, and empty sky for later copy. No readable branding, extra products, hands, or watermark. Composition and rendering: Deliver one 16:9 commercial product still. Keep the complete product silhouette inside generous crop-safe margins. Resolve edges, seams and material transitions precisely; shape highlights to describe volume without clipping bright surfaces or crushing dark details. Align reflections with the object and light source. Retain the stated camera angle and existing negative space; add no decorative props. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
Dibuat dengan Image 2
Scene: At sunset on a sea cliff, a lone traveler stands in silhouette holding a helmet while a red warning flag fills the near right foreground. The ocean, distant headland, lighthouse, and orange-to-blue sky form a wide establishing frame. Keep the traveler orientation, flag motion direction, horizon, and light transition stable for storyboard use. No readable signs, logos, or watermark. Composition and rendering: Deliver one 16:9 storyboard keyframe, not a collage or an action sequence. Separate foreground, character plane and background through the existing light and atmospheric depth. Keep the stated pose and eyelines readable, and retain environmental landmarks for continuity. Match the described photographic, illustrated or puppet medium; give fabric and surfaces texture appropriate to that medium. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
Dibuat dengan Image 2
Scene: In a mint laundry room, a surprised man in a coral sweatshirt leans back as a turquoise laundry basket throws a colorful cloud of striped socks into the air. Washing machines, folded towels, and clean daylight establish the setting. Preserve the basket tilt, sock trajectories, body pose, and safe spacing for a physical-comedy frame; no injury, readable text, logos, or watermark. Composition and rendering: Deliver one 16:9 physical-comedy still at the described instant. Make the cause of the gag readable through body balance, grip and object spacing. Separate the reaction from the airborne props; retain believable gravity and contact points. Keep the face and important props sharp, with only restrained directional blur on fast edges. Preserve the stated lighting and room or stage layout. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
Scene: A lightly colorized vintage schoolyard photograph shows children in period sweaters and skirts playing jump rope in front of a brick building. Restore the worn border, faded colors, rope arc, clothing details, and original wide framing without introducing modern objects. No readable signs, logos, captions, or watermark. Composition and restoration: Deliver one 16:9 archival-style still. Preserve the original framing, period-specific construction and restrained tonal range; retain monochrome, sepia or faded color as described. Recover modest detail in faces, clothing and architecture without synthetic sharpening. Keep fine grain and authentic aging consistent across the frame; repair damage without replacing historical features. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.
Mengapa API gemini-3.1-flash-lite-image
Mengapa menggunakan gemini-3.1-flash-lite-image melalui Flatkey?
Gunakan satu gateway untuk gemini-3.1-flash-lite-image, kontrol akun, dan seluruh katalog model lainnya.
gemini-3.1-flash-lite-image dalam satu API
Pertahankan model ID dan endpoint gemini-3.1-flash-lite-image secara eksplisit dengan kunci Flatkey yang sama untuk workload lain.
Harga katalog live
Lihat dimensi penagihan gemini-3.1-flash-lite-image sebelum mengirim permintaan, lalu konfirmasi estimasi akhir di akun.
Serah-terima model praktis
Uji prompt gemini-3.1-flash-lite-image di playground publik dan bawa pengaturan yang sama ke integrasi terautentikasi.
Kontrol penggunaan dan rute
Pusatkan kunci, kuota, dan rute gemini-3.1-flash-lite-image tanpa mengubah alur kerja aplikasi terhadap penyedia.
API
gemini-3.1-flash-lite-image API
Empat cara dengan key dan katalog yang sama. Pilih satu untuk melihat contoh yang dapat dijalankan.
curl https://router.flatkey.ai/v1beta/models/gemini-3.1-flash-lite-image:generateContent \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"gemini-3.1-flash-lite-image","contents":[{"role":"user","parts":[{"text":"Buat gambar produk berkualitas tinggi dengan gemini-3.1-flash-lite-image: komposisi bersih, pencahayaan presisi, fokus kuat pada subjek, dan detail realistis."}]}],"generationConfig":{"responseModalities":["TEXT","IMAGE"],"imageConfig":{"aspectRatio":"1:1","imageSize":"1K"}}}'
Pertanyaan umum
gemini-3.1-flash-lite-image API
pertanyaan harga, fitur, dan penggunaan
Jawaban tentang harga, kemampuan, endpoint, dan batas katalog gemini-3.1-flash-lite-image.





