Skip to main content
GPT Image 2.6 Economy is the economy route of GPT Image 2.6: the same OpenAI model, billed per request (one price for every size) at a lower price, for cost-sensitive batch jobs that can wait longer. Endpoints, parameters and responses are the same as for the standard model; just set model to an Economy model ID: It works with the official OpenAI SDKs.

Setup

Endpoints

Parameters

Official parameters not supported yet

They return 400; the model is not called and nothing is charged.

Pricing

Billed per request (one price for every size), not per token. See the model catalog and the console for current prices. Invalid requests and failed generations are not charged.

Quick start

$DREAMTO_API_KEY is your API Key.

Edit an image

/v1/images/edits takes the images as multipart/form-data files; repeat image[] for several reference images:
cURL

Notes

  • model is the DreamTo model name gpt-image-2.6-sunburst-economy / gpt-image-2.6-flare-economy.
  • With output_format: svg, svg.model (the text model that writes the SVG) is required; otherwise the request returns 400 missing_required_parameter. SVG is for generations only, with n 1 and no streaming, previews or output_compression; b64_json decodes to UTF-8 SVG (XML).
  • output_format: gif returns the official default 9-frame animation; the official frame_count / frame_duration_ms are not supported yet. GIF output does not support streaming, previews or output_compression.
  • Edits take multipart/form-data file uploads (image[], mask); the newer JSON images / file_id form and the markup annotation parameter are not supported yet.
  • As with OpenAI, images are returned as Base64 (data[].b64_json).
  • The xhigh / max quality tiers take longer; OpenAI recommends them only when lower tiers miss a quality requirement and the latency is acceptable.
  • Parameters the gateway does not declare return 400; the model is not called and nothing is charged.
  • Errors use the DreamTo error envelope (see the error examples of each endpoint).