> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT Image 2 API

> GPT Image 2 API on Venice: image generation and image editing up to 4K, from $0.27 per image. Anonymized access without your identity.

> [accordion] Plain-text specification
>
> ## GPT Image 2 API
>
> GPT Image 2 is an image generation and image editing model by OpenAI, available on the Venice API as `gpt-image-2`. Requests are anonymized, so the provider never sees your identity.
>
> ### GPT Image 2 API pricing
>
> | Model ID | Variant | Privacy | Price |
> | - | - | - | - |
> | `gpt-image-2` | Generate | Anonymized | \$0.27 / image |
> | `gpt-image-2-edit` | Edit | Anonymized | \$0.34 / edit |
>
> ### GPT Image 2 specifications
>
> | Spec | Value |
> | - | - |
> | Provider | OpenAI |
> | Released | Apr 21, 2026 |
> | Privacy | Anonymized |
> | Status | Stable |
> | Resolutions | 1K, 2K, 4K |
> | Aspect ratios | 1:1, 3:2, 16:9, 21:9, 9:16, 2:3, 3:4, 4:5 |
> | Prompt limit | 10,000 characters |
>
> ### How to use the GPT Image 2 API
>
> Send requests to `POST https://api.venice.ai/api/v1/image/generate` with `"model": "gpt-image-2"` and your API key.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/image/generate \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "gpt-image-2",
>     "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
>     "resolution": "1K",
>     "aspect_ratio": "1:1"
>   }'
> ```
>
> ### Related models
>
> * [GPT Image 1.5 API](https://docs.venice.ai/models/gpt-image-1-5.md): \$0.26 / image
> * [Recraft V4 Pro API](https://docs.venice.ai/models/recraft-v4-pro.md): \$0.29 / image
> * [Ideogram V4.5 API](https://docs.venice.ai/models/ideogram-v4-5.md): \$0.26 / image
> * [Nano Banana Pro API](https://docs.venice.ai/models/nano-banana-pro.md): \$0.18 / image


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.