logoalt Hacker News

minimaxir • today at 12:02 AM • 1 reply • view on HN

Using the grid trick for animations to generate the individual frames has been around for awhile and not specific to ChatGPT: I'm surprised it took this long for one of the official providers to make it explicit. However, adherence between frames is generally tricky, and even in the examples there is a lot of noise between frames although that could be due to compression.

SVG support is interesting but I suspect shenanigans are afoot since that's not how image generation models work, and it would likely strip any SynthID watermarks. It's possible OpenAI has pipelined a raster-to-vector tool that does the conversion automatically. (I developed a similar pipeline and it works extremely well; I'll open source it at some point)

EDIT: Per documentation, there is an explicit `output_format: "svg"`, and I am indeed correct there is raster-to-vector in play:

> The API creates a reference image and uses it to produce the SVG. The quality setting controls that reference image. Decode data[0].b64_json as base64 and save the resulting UTF-8 XML bytes with a .svg extension.

OpenAI claims 50% faster generation with Images 2.6 but curiously price is the same as Image 2.5.


Replies

bizer • today at 2:25 AM

Image 2.6 costs more tokens for generating low and medium quality images, so it ends up being a bit more expensive. Could refer to https://developers.openai.com/api/docs/guides/image-generati...