On this page
01
Use cases
What this model is useful for
Create a cover without baked-in text
Describe the composition and reserve clear space for the headline. Add the headline in a design editor so typography, language and accessibility remain under your control.
Replace a product-photo background
Attach your own source image and list details that must remain unchanged: shape, color, handle and angle. Present this as a working workflow only after the CLODEx editing route is verified.
Produce variants of one idea
Change one variable per run, such as lighting or background, and preserve each setup. This makes differences understandable instead of reducing selection to a random attractive image.
02
Examples
Prompts you can try
A sample brief — add your own inputs. This page does not generate content or charge your balance.
Prompt for your own evaluation — no image or run cost has been saved yet.
Article cover for a home workshop
Separate text-to-image run. After generation, preserve the original file, quality, size and actual charge.
Create an article cover about a home workshop: a wooden table, a small lamp and neatly arranged tools. Keep the main objects on the right and leave the left third clear for a headline. Warm natural light. No text or logos.Editing evaluation task — this mode still needs to be verified for the CLODEx route.
Replace the background of a mug photo
Use an original photo you have permission to edit. Show source and output together; do not use the first example output as this example’s input.
Use the attached photograph of a ceramic mug. Replace only the background with a bright kitchen by a window. Preserve the handle shape, glaze color and camera angle. Add no text.Make the prompt your own
- Say where the image will be used: a square post, vertical story or wide cover.
- Change one condition at a time, such as lighting, to make versions easier to compare.
How to check the result
- The cover leaves usable headline space on the left and contains no generated text or logos.
- The mug keeps its handle shape, glaze color and original angle.
- The source photo and both outputs have clear provenance and usage rights.
- Size, quality, post-processing and cost come from actual runs rather than fabricated data.
03
Pricing / USD
CLODEx public pricing
Rates come from CLODEx public pricing for the available quality modes. Record a specific example cost only after a real run with preserved settings.
Full pricing details04
Get started
How to get started
Select GPT Image 2
Open the CLODEx image workspace and select the exact gpt-image-2 ID. Confirm access for your key.
Prepare a prompt or source image
A new scene starts with a text prompt. Editing requires an authorized source image and a verified upload workflow.
Review settings and output
Review quality and price before submitting. Afterward, preserve the original output and inspect the details that mattered in the prompt.
One API for your application.
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":"Create an article cover about a home workshop: a wooden table, a small lamp and neatly arranged tools. Keep the main objects on the right and leave the left third clear for a headline. Warm natural light. No text or logos.","stream":true}
CLODEX_JSONKeep 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.
How to get an API key05
Specifications
Capabilities and limitations
- Model ID
gpt-image-2- API protocols
- Images API / OpenAI-compatible API
- Quality
- Automatic / 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.
Model and integration
Generation and editing are different workflows
A new scene starts with a text prompt. Editing an existing photo needs a source file and a supported editing route; one JSON example should not be presented as both workflows.
What the CLODEx page confirms
The page receives available modes and prices from the public CLODEx catalog. Upstream documentation describes the model but does not replace verification of our integration.
What to consider
Text and logos need review
Do not rely on the model for exact typography or brand marks. Add critical text and logos in a design editor.
Editing does not guarantee identity
Even with a careful prompt, proportions and fine details may change. Compare the source and output side by side.
Upstream and CLODEx capabilities may differ
A feature in OpenAI documentation does not prove that every parameter is available through the current CLODEx route.
Before you submit
Review every generated image: small text, logos, hands and product details may change. For editing, use an asset you have permission to use and confirm that the mode is supported in CLODEx.
06
Related models
Models to compare
Nano Banana 2
nano-banana-2Use the same source and two matching tasks. Compare detail preservation, available modes and actual cost rather than a generic marketing score.
07
FAQ
Model FAQ
Can it create images from text alone?
Yes. A text prompt is the basic workflow for a new scene. Check sizes, quality and output format against the current CLODEx route.
Can it edit an existing photo?
The upstream model supports editing, but the CLODEx upload workflow and parameters must be verified. Use only authorized source images.
Why are there no finished images in the guide?
No attributable outputs with preserved settings have been saved yet. The guide shows tasks for future runs rather than fabricating evidence.
How is the price calculated?
The public page shows CLODEx rates for available quality modes. Final cost depends on selected settings and the account rate.
Will text in the image be exact?
Do not rely on error-free typography. Add important headlines, prices or legal copy in a conventional design editor.
08