GooglePaidOperational
Gemini 3.1 Flash Image Preview 2k
API model name: gemini-3.1-flash-image-preview-2k
Gemini 3.1 Flash Image Preview 2k is Google's image generation model, served on the Api.Airforce unified API. Capabilities include Reasoning. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Resolutions: 1:1, 16:9, 9:16
Qualities: standard
Specifications
- Provider
- Type
- image generation model
Capabilities
Reasoning
What is Gemini 3.1 Flash Image Preview 2k used for?
- Image generation — marketing visuals, concept art, product shots and illustrations.
Related models
[SP]gemini 2.5 ProGoogle · $3.97 / 1M[SP]gemini 3.1 Pro PreviewGoogle · $3.97 / 1M[SP]gemini 3.5 FlashGoogle · $13.27 / 1M[SP]gemini 3.6 FlashGoogle · $3.97 / 1MGemini 2.0 FlashGoogle · $0.13 / 1MGemini 2.0 Flash 001Google · $0.13 / 1MGemini 2.0 Flash LiteGoogle · $0.09 / 1MGemini 2.0 Flash Lite 001Google · $57.41 / 1MGemini 2.5 Computer Use Preview 10Google · $57.41 / 1MGemini 2.5 FlashGoogle · $0.53 / 1MGemini 2.5 Flash Image PreviewGoogle · $0.07 / 1MGemini 2.5 Flash Image TokenGoogle · $0.33 / 1M
Gemini 3.1 Flash Image Preview 2k — frequently asked questions
- How much does Gemini 3.1 Flash Image Preview 2k cost?
- Gemini 3.1 Flash Image Preview 2k is billed per generation rather than per token. See the pricing page for the current rate.
- What can Gemini 3.1 Flash Image Preview 2k do?
- Gemini 3.1 Flash Image Preview 2k supports Reasoning.
- Is Gemini 3.1 Flash Image Preview 2k free to use?
- Gemini 3.1 Flash Image Preview 2k is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Gemini 3.1 Flash Image Preview 2k via the API?
- Gemini 3.1 Flash Image Preview 2k is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID gemini-3.1-flash-image-preview-2k with your Api.Airforce API key.
- Who makes Gemini 3.1 Flash Image Preview 2k?
- Gemini 3.1 Flash Image Preview 2k is Google's image generation model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Gemini 3.1 Flash Image Preview 2k via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass gemini-3.1-flash-image-preview-2k as the model.
cURL
curl https://api.airforce/v1/images/generations \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-image-preview-2k",
"prompt": "a red panda coding"
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
img = client.images.generate(model="gemini-3.1-flash-image-preview-2k", prompt="a red panda coding")
print(img.data[0].url)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const img = await client.images.generate({ model: "gemini-3.1-flash-image-preview-2k", prompt: "a red panda coding" });
console.log(img.data[0].url);