Images / API

GPT Image 2 API

GPT Image 2 in CLODEx: image generation with quality controls. Compare low, medium, high and auto pricing, prepare a brief and connect the streaming Images API.

gpt-image-2openai

In the public catalog A catalog listing is not a live availability guarantee. Check /v1/models for access with your API key.

01 / YOUR BRIEF

Start with a focused prompt

Product photograph of a green glass bottle on warm limestone. Soft daylight from the left, a realistic shadow and empty space on the right for copy. No text or logos.

A sample brief — add your own inputs. This page does not generate content or charge your balance.

02 / USE CASES

Put the model to work

Product visuals

Specify material, angle, lighting and background separately. Reserve space for a headline instead of relying on generated typography.

Editorial illustrations

Describe one main idea and the visual hierarchy. Inspect details after generation and adapt the result to the publication's actual dimensions.

03 / SPECIFICATIONS

What the CLODEx route supports

Model ID
gpt-image-2
Protocols
image-generation, openai
Quality
auto / low / medium / high
Public Images API
stream=true, partial_images=1

Only parameters declared by the integration catalog are shown. An omitted parameter is not a promise of support.

04 / DEVELOPERS

One endpoint. Your application.

cURL · GPT Image 2
curl --fail-with-body --no-buffer 'https://clodex.xyz/v1/images/generations' \
  -H "Authorization: Bearer $CLODEX_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'CLODEX_JSON'
{"model":"gpt-image-2","n":1,"partial_images":1,"prompt":"Product photograph of a green glass bottle on warm limestone. Soft daylight from the left, a realistic shadow and empty space on the right for copy. No text or logos.","stream":true}
CLODEX_JSON

Keep your key on the server, never in the browser. A generation example uses your balance only when you run it yourself. Check model access and parameters before submitting.

Documentation ↗

Before you submit

This model's public Images API requires stream=true. Read until the final event: a partial image is not a completed generation. Use reference assets you have permission to use. Check text, logos and fine details in the result. Editing and transparency support depend on the specific route.

05 / FAQ

Model FAQ

How do I start using GPT Image 2 in CLODEx?

Sign in to CLODEx, check model access for your key and choose the workspace or API. Reading this page does not submit a model request.

How much does a GPT Image 2 request cost?

Public rates appear in the pricing section. Check the unit: total tokens, separate input and output tokens, per image or a parameter-based video quote. Confirm your account rate in the dashboard.

What if a request does not finish?

Keep the request ID and check the request log. For asynchronous generation, check the existing job's status first. If the cause remains unclear, contact support with the ID, never the API key. Resubmitting may create another paid job.