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.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.

Source:<builtin>/openai/ns_internal/images.bamlbytes 23122404

Fields

b64_json

string | null

url

string | null

revised_prompt

string | null