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 (in 1K / 2K / 4K tiers by output 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
- 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).

