Inputlive schema
Generate images from a text description, or upload reference images and say in the prompt what "reference image 1" and "reference image 2" are for, to edit, replace backgrounds or compose several images.
View docsOpenAI GPT Image 2 Economy is DreamTo's economy route to the model behind ChatGPT Images 2.0: text-to-image, multi-reference editing and mask inpainting, with high-fidelity inputs and stronger multilingual text. Long edge up to 3840 px, aspect ratio up to 3:1. OpenAI plans to retire its API on February 10, 2027.
Generate images from a text description, or upload reference images and say in the prompt what "reference image 1" and "reference image 2" are for, to edit, replace backgrounds or compose several images.
View docs
Choose an example to fill the prompt and reference materials.
Hourly success rate of all completed requests to this site.
This model is priced by the usage dimensions listed here. Compare all pricing.
Prices are shown in USD. Charges depend on the model and your actual usage.
| Spec | Billing item | Our priceCurrent price | Official price | Savings |
|---|---|---|---|---|
| 4K | Per request | $0.012/request | $0.413/request | 97% cheaper than official |
| 2K | Per request | $0.008/request | $0.234/request | 97% cheaper than official |
| 1K | Per request | $0.004/request | $0.219/request | 98% cheaper than official |
README
GPT Image 2 Economy is DreamTo's economy route to OpenAI GPT Image 2: edits with up to 16 reference images, mask inpainting, high-fidelity inputs and stronger multilingual text, long edge up to 3840 px. Text-to-image and image-to-image modes; OpenAI retires the API on February 10, 2027.
| Parameter | Required | Description |
|---|---|---|
modelstring | Required | Model ID to call. Use gpt-image-2-economy. |
promptstring | Required | Text description of what to generate. |
sizestring | Optional | Output image size. Default: auto. |
qualityenum | Optional | Output quality level. Options: auto, low, medium, high. Default: auto. |
output_formatenum | Optional | Output Format Options: png, jpeg, webp. |
backgroundenum | Optional | Background Options: auto, transparent, opaque. |
ninteger | Optional | Number of outputs to generate. |
userstring | Optional | End-User ID |
response_formatenum | Optional | Format of the returned result, such as a URL or base64 data. Options: base64, b64_json, url. |
output_compressioninteger | Optional | Output Compression Quality |
streamboolean | Optional | Stream the reply as server-sent events. |
partial_imagesinteger | Optional | Partial Images |
moderationenum | Optional | Moderation Strength Options: auto, low. |
imagearray | Optional | Reference image to guide the result. |
safety_identifierstring | Optional | Safety Tracking ID |
reference_imagesarray | Optional | Reference Images |
The model reads a prompt like a creative brief. Name the subject first, then add the details that matter.
Who or what is in the image, and what it is doing.
Photo, 3D render, watercolor or flat illustration. For photographic looks, name a lens or film stock.
Framing and viewpoint: close-up, wide shot, overhead, centered, rule of thirds.
Golden hour, soft studio light, neon, a pastel palette, high contrast.
Put the exact words in quotes and say where they go.
A poster with the headline "OPEN LATE" in bold white letters across the top.
| Prompt | |
|---|---|
| Weak | a coffee shop |
| Strong | A cozy corner coffee shop on a rainy evening, seen through the front window. Warm tungsten light inside, a barista pouring latte art, condensation on the glass, street reflections. 35mm photo, shallow depth of field, muted teal and amber palette. |
| Billing item | Price | Official price |
|---|---|---|
| Per request · 4K | $0.012 per request | |
| Per request · 2K | $0.008 per request | |
| Per request · 1K | $0.004 per request |
That is 97% below the official list price.
Example: 10 runs at Per request cost $0.12.
Prices are shown in USD. Charges depend on the model and your actual usage. Compare all pricing
GPT Image 2 Economy is DreamTo's economy route to OpenAI GPT Image 2: edits with up to 16 reference images, mask inpainting, high-fidelity inputs and stronger multilingual text, long edge up to 3840 px. Text-to-image and image-to-image modes; OpenAI retires the API on February 10, 2027.
Send POST /v1/images/generations with the model ID gpt-image-2-economy and your API key. Ready-to-run samples are in the API section above.
Charges are based on the selected model, its billing method, and your actual usage.
Create one in Console → API Keys. The same key works for every model on the gateway.
Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.
GPT Image 2 Economy is DreamTo's economy route to OpenAI GPT Image 2: edits with up to 16 reference images, mask inpainting, high-fidelity inputs and stronger multilingual text, long edge up to 3840 px. Text-to-image and image-to-image modes; OpenAI retires the API on February 10, 2027.