base64
An encoding scheme that converts binary data into ASCII text strings. It is commonly used to transmit binary content such as images over HTTP/JSON interfaces, at the cost of roughly 33 percent size inflation.
Core Facts
Timeline (last 90 days)
In the Responses streaming protocol, the response.completed event repeats every output item, including base64-encoded image generation results, causing the event size to grow multiplicatively and potentially exceed the single-event size limit.
The fix for D-5 is to base64-encode the ciphertext when writing to Postgres and decode it when reading back, while the model keeps bytes unchanged.
Base64 encoding merely converts binary image data into a character sequence that can be transmitted by text protocols; it does not change the image's own resolution or clarity.
Compared with base64 inlining into JSON or a text prompt, transmitting binary data via multipart avoids the roughly 33% size inflation and extra encoding/decoding overhead caused by base64 encoding.
base64 encoding inflates data size by about 33%, and inlining large images significantly increases request payload; in practice it is often combined with compression or on-demand cropping to balance quality and transmission overhead.
All Facts (6)
Data volume increases by approximately 33% after Base64 encoding.
90%UnverifiedIn the Responses streaming protocol, the response.completed event repeats every output item, including base64-encoded image generation results, causing the event size to grow multiplicatively and potentially exceed the single-event size limit.
50%UnverifiedThe fix for D-5 is to base64-encode the ciphertext when writing to Postgres and decode it when reading back, while the model keeps bytes unchanged.
50%UnverifiedBase64 encoding merely converts binary image data into a character sequence that can be transmitted by text protocols; it does not change the image's own resolution or clarity.
50%UnverifiedCompared with base64 inlining into JSON or a text prompt, transmitting binary data via multipart avoids the roughly 33% size inflation and extra encoding/decoding overhead caused by base64 encoding.
50%Unverifiedbase64 encoding inflates data size by about 33%, and inlining large images significantly increases request payload; in practice it is often combined with compression or on-demand cropping to balance quality and transmission overhead.
50%