gpt-image-1.5
Provided by OpenAI · Image model
Parameters
| Input modalities | text, image |
|---|---|
| Output modalities | image |
Official pricing
| Input | $5/M |
|---|---|
| Output | $10/M |
| Cache read | $1.25/M |
Tiers
| 低 1K | $0.009 |
|---|---|
| 中 1K | $0.034 |
| 高 1K | $0.133 |
| 低 1.5K | $0.013 |
| 中 1.5K | $0.05 |
| 高 1.5K | $0.2 |
Call example
curl https://api.openai.com/v1/images/generations -H "Authorization: Bearer $OPENAI_API_KEY" -H "Content-Type: application/json" -d '{"model":"gpt-image-1.5","prompt":"a red fox in a snowy forest","size":"1024x1024","quality":"medium"}'