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
modelis the DreamTo model namegpt-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 400missing_required_parameter. SVG is for generations only, withn1 and no streaming, previews oroutput_compression;b64_jsondecodes to UTF-8 SVG (XML). output_format: gifreturns the official default 9-frame animation; the officialframe_count/frame_duration_msare not supported yet. GIF output does not support streaming, previews oroutput_compression.- Edits take
multipart/form-datafile uploads (image[],mask); the newer JSONimages/file_idform and themarkupannotation parameter are not supported yet. - As with OpenAI, images are returned as Base64 (
data[].b64_json). - The
xhigh/maxquality 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).

