POST /v1/image-router/generate deprecated: what to call instead

Sume's legacy /v1/image-router/generate and /v1/image-router/models routes still work but gain no new parameters. Use POST /v1/images and GET /v1/images/models.

3 min readSume
All posts

Sume's legacy POST /v1/image-router/generate and GET /v1/image-router/models still work and are unchanged, but they are deprecated and will not gain new parameters. Move to POST /v1/images and GET /v1/images/models.

From Sume's Image API docs, read 2026-09-30.

What maps to what?

The replacement surface covers generation and discovery.

Legacy routes and their replacements, from the Sume Image API docs, read 2026-09-30
LegacyReplacement
POST /v1/image-router/generatePOST /v1/images
GET /v1/image-router/modelsGET /v1/images/models
Bare ids such as gpt-image-2openai/gpt-image-2

Will old code keep working?

The docs say the legacy routes still work. Bare Image Router ids like gpt-image-2 and nano-banana-2 are accepted as aliases for their org/slug equivalents. Anything new, such as mask_url or background for ChatGPT Image 2.5, is documented on the newer surface.

What changes in the response?

POST /v1/images returns Sume-hosted data[].url with usage.cost, and a 202 job envelope for slow runs. Check the status code, not the body shape, and read the n, quality and input_references descriptors for each model.

curl "https://api.sume.com/v1/images/models" \
  -H "Authorization: Bearer $SUME_API_KEY"

What about Image 1.0?

Image 1.0 is a separate compatibility alias for Auto that is retiring soon. For new integrations use POST /v1/images with model: "sume/auto" or a catalog id.

How do I check this myself?

Plan the move in two steps: switch the URL and model id first, then adopt the newer fields. Keep the legacy call working in a branch until the new one matches your outputs. The linked docs pages and the catalog endpoint show the current values, and this post reflects them as of 2026-09-30.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume