Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions features/image-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Image generation is available through three distinct paths:

| Provider | API / Method | Models | Template Type |
|----------|-------------|--------|---------------|
| **OpenAI** | Images API | `dall-e-2`, `dall-e-3`, `gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5` | Completion |
| **OpenAI** | Images API | `dall-e-2`, `dall-e-3`, `gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2` | Completion |
| **OpenAI** | Responses API (`image_generation` tool) | `gpt-5`, `gpt-5.4`, `gpt-5.2`, `gpt-5-nano`, `gpt-4.1`, and [other supported models](https://developers.openai.com/api/docs/guides/tools-image-generation#supported-models) | Chat |
| **OpenAI Azure** | Images API | Same as OpenAI (depends on Azure deployment) | Completion |
| **OpenAI Azure** | Responses API (`image_generation` tool) | Same as OpenAI Responses API | Chat |
Expand Down Expand Up @@ -95,7 +95,7 @@ for (const item of content) {

### Pricing

GPT Image models (`gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`) use **token-based pricing** — cost is calculated from input and output tokens, just like text models. PromptLayer automatically tracks these tokens and calculates cost.
GPT Image models (`gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`) use **token-based pricing** — cost is calculated from input and output tokens, just like text models. PromptLayer automatically tracks these tokens and calculates cost.

DALL-E models (`dall-e-2`, `dall-e-3`) use **per-image pricing** based on the image size and model. PromptLayer tracks this automatically.

Expand Down
2 changes: 1 addition & 1 deletion features/supported-providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Below is the list of LLM providers supported in PromptLayer along with key capab

- Chat Completions, Responses API, and Images API are all supported.
- Function/Tool Calling (including built-in Responses API tools: Web Search, File Search, Image Generation) — see [Tool Calling](/features/prompt-registry/tool-calling).
- **Image Generation** via three paths: Images API (`dall-e-2`, `dall-e-3`, `gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`), Responses API `image_generation` tool, and GPT Image models — see [Image Generation](/features/image-generation).
- **Image Generation** via three paths: Images API (`dall-e-2`, `dall-e-3`, `gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`, `gpt-image-2`), Responses API `image_generation` tool, and GPT Image models — see [Image Generation](/features/image-generation).
- JSON mode / structured outputs.
- Vision models (e.g., `gpt-4-vision`) — see [FAQ: multimodal](/features/faq#does-promptlayer-support-multi-modal-image-models-like-gpt-4-vision).
- Streaming via SDK (Python/JS).
Expand Down
Loading