GoogleFree
Imagen 4
API model name: imagen-4
Imagen 4 is Google's image generation model, served on the Api.Airforce unified API. It is available on the free tier at no per-token cost. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Type
- image generation model
What is Imagen 4 used for?
- Image generation — marketing visuals, concept art, product shots and illustrations.
Related models
Gemini 2.5 FlashGoogle · $0.40 / 1MGemini 2.5 ProGoogle · $0.70 / 1MGemini 3 FlashGoogle · $0.40 / 1MGemini 3 ProGoogle · $0.90 / 1MGemini 3.1 Flash LiteGoogle · $0.14 / 1MGemini 3.1 ProGoogle · $1.00 / 1MGemini 3.1 Pro Preview CustomtoolsGoogle · $1.77 / 1MGemini 3.5 FlashGoogle · $1.20 / 1MGemma3 270mGoogle · FreeImagen 3Google · FreeNano Banana 2Google · $30.00 / 1MNano Banana FlashGoogle · $20.00 / 1M
Imagen 4 — frequently asked questions
- How much does Imagen 4 cost?
- Imagen 4 is available on the free tier at no token cost — create an API key and start building. Paid plans add higher rate limits.
- What can Imagen 4 do?
- Imagen 4 is Google's image generation model, accessible through the Api.Airforce API.
- Is Imagen 4 free to use?
- Yes — Imagen 4 is on the free tier. You can use it with an Api.Airforce API key at no cost.
- How do I use Imagen 4 via the API?
- Imagen 4 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID imagen-4 with your Api.Airforce API key.
- Who makes Imagen 4?
- Imagen 4 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 Imagen 4 via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass imagen-4 as the model.
cURL
curl https://api.airforce/v1/images/generations \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imagen-4",
"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="imagen-4", 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: "imagen-4", prompt: "a red panda coding" });
console.log(img.data[0].url);