openai.internal.OaImageDatum
One element of `data[]`. `b64_json` is what the GPT image models always return; `url` appears only when a dall-e request asked for it (the link expires after 60 minutes, so `_oai_images_fetch_inline` pulls the bytes before the value leaves the client); `revised_prompt` is dall-e-3's rewritten prompt.
Reference version
Signature
class openai.internal.OaImageDatumOne element of data[]. b64_json is what the GPT image models always
return; url appears only when a dall-e request asked for it (the link
expires after 60 minutes, so _oai_images_fetch_inline pulls the bytes
before the value leaves the client); revised_prompt is dall-e-3's
rewritten prompt.
Source:<builtin>/openai/ns_internal/images.bamlbytes 2312–2404
Fields
b64_json
string | nullurl
string | nullrevised_prompt
string | null