cd /news/ai-products/breaking-openai-value-can-now-return… · home › topics › ai-products › article
[ARTICLE · art-164405] src=driftwatch.et ↗ pub= topic=ai-products verified=true sentiment=· neutral

OpenAI: value can now return "gif", "svg"

OpenAI's published API specification now lists "gif" and "svg" as additional values for BetaImageOutputFormat, expanding the enum from "jpeg", "png" and "webp" to five values. The change reaches 6 operations through BetaImageOutputFormat and 14 OpenAI operations overall, and also applies to output_format fields on BetaImageGenTool, ImageGenTool, BetaImageGenToolCall, ImageGenToolCall, ImageOutputFormat and ImagesResponse. Because the addition breaks exhaustive switches, strict parsers and generated client enums that lack branches for the new values, code reading these objects must be updated.

read1 min views1 publishedNov 5, 2026

What changed #

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects this value on BetaImageOutputFormat reachable from 6 operations.

New values: gif, svg.

can now return "gif", "svg"

Who is affected #

Code that reads OpenAI's BetaImageOutputFormat objects, used by 14 OpenAI operations.

Before and after #

Where Before After
BetaImageOutputFormat "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"
BetaImageGenTool.output_format "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"
ImageGenToolCall.output_format "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"
BetaImageGenToolCall.output_format "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"
ImageGenTool.output_format "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"
ImageOutputFormat "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"
ImagesResponse.output_format "jpeg", "png", "webp" "gif", "jpeg", "png", "svg", "webp"

Code that breaks #

switch (response) {
  // existing branches …
  // no branch for "gif"
  // no branch for "svg"
  default:
    throw new Error("unexpected value");
}

Based on OpenAI’s published API specification. How severity is decided.

── more in #ai-products 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/breaking-openai-valu…] indexed:0 read:1min 2026-11-05 · —