OpenAIPaidOperational
Chatgpt Image
API model name: chatgpt-image
Chatgpt Image is OpenAI's image generation model, served on the Api.Airforce unified API. Access it through the OpenAI-compatible API with one key, alongside 65+ other models on Api.Airforce.
Pricing
Billed per generation — see the pricing page for current rates.
Specifications
- Provider
- OpenAI
- Type
- image generation model
What is Chatgpt Image used for?
- Image generation — marketing visuals, concept art, product shots and illustrations.
Related models
Dall E 2OpenAI · $10.00 / 1MDall E 3OpenAI · $20.00 / 1MGpt 3.5OpenAIGpt 3.5 Turbo 16kOpenAIGpt 4OpenAI · $6.42 / 1MGpt 4 0125OpenAI · $2.13 / 1MGpt 4 1106OpenAI · $2.13 / 1MGpt 4 32kOpenAIGpt 4 AllOpenAI · $5.13 / 1MGpt 4 TurboOpenAI · $2.13 / 1MGpt 4 VisionOpenAI · $2.13 / 1MGpt 4.1OpenAI · $0.42 / 1M
Chatgpt Image — frequently asked questions
- How much does Chatgpt Image cost?
- Chatgpt Image is billed per generation rather than per token. See the pricing page for the current rate.
- What can Chatgpt Image do?
- Chatgpt Image is OpenAI's image generation model, accessible through the Api.Airforce API.
- Is Chatgpt Image free to use?
- Chatgpt Image is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Chatgpt Image via the API?
- Chatgpt Image is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID chatgpt-image with your Api.Airforce API key.
- Who makes Chatgpt Image?
- Chatgpt Image is OpenAI's image generation model, served through the unified Api.Airforce gateway alongside 65+ other models.
Loading live metrics…
Loading live metrics…
Use Chatgpt Image via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass chatgpt-image as the model.
cURL
curl https://api.airforce/v1/images/generations \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chatgpt-image",
"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="chatgpt-image", 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: "chatgpt-image", prompt: "a red panda coding" });
console.log(img.data[0].url);