How do i get a public link for a dall-e generated image?

the gpt i’m trying to build needs to access the generated image for further processing via my api.

the gpt thinks it’s imageURL is something like this: https://cdn.openai.com/dalle/bNuGJfFtHekak6HC.png , but that returns:

<Error>
<Code>BlobNotFound</Code>
<Message>
The specified blob does not exist. RequestId:34320926-f01e-001b-099f-6331d6000000 Time:2024-02-20T01:55:47.5846095Z
</Message>
</Error>

if i right-click the image to try to get the link manually, the link is now at the domain: https://files.oaiusercontent.com/file-somethingsomething?se=2024-02-20T02%3A16%3A12Z&sp=r&sv=2021-08-06&sr=b&rscc=max-age%3D31536000%2C%20immutable&rscd=attachment%3B%20filename%something-something.webp&sig=something , which i can download but not open in a new tab.

either way, how do i get a public URL to a generated image? it’s ok if the link times out after a short period of time, i just need it temporarily to pass along to the next API.

super simple example to further clarify:

which returns: https://cdn.openai.com/myfiles/dalle/file-tpgSxds5A4zYyq9mnTfwowDW/a_monkey_sitting_at_a_desk,_intently_typing_on_an_.png , which gives:

<Error>
<Code>BlobNotFound</Code>
<Message>
The specified blob does not exist. RequestId:37c91aa6-501e-0002-1aaa-63b16d000000 Time:2024-02-20T03:08:17.8196326Z
</Message>
</Error>

and equally useless when prompted to use code interpreter to create the link:

Here’s a possible solution I posted on a different but similar topic: Generated Files/Images and GPT Actions - #12 by coderjun