featured image generation
Hi,
I1m using your quite low level function in my plugin integration:
<div>
<div>function aiomatic_generate_featured_image($image_url, $post_id)</div>
</div>
<div>I have also enabled the remote Url possibility and also the fifu plugin is activated.</div>
<div>I have generate several pictures with aiomatic_ai_generate_image function, it is created and always copy to media library, but the featured image is never set.</div>
<div></div>
<div>this is in my log:</div>
<div>4-Jun-2024 01:59:33 UTC] Copying image (on): https://oaidalleapiprodscus.blob.core.windows.net/private/org-viKZ3xh05XJF5CIB9BtLqoYv/user-XdOpnsI8oh7ZICWbWPARRUN0/img-mY0lhcx9WeXMohDYTWzhPVUT.png?st=2024-06-03T22%3A59%3A33Z&se=2024-06-04T00%3A59%3A33Z&sp=r&sv=2023-11-03&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-06-03T00%3A11%3A33Z&ske=2024-06-04T00%3A11%3A33Z&sks=b&skv=2023-11-03&sig=pA8UvPzy/vDKW/WU9XDhxhA/zrHm5/8i0g7gemRjibc%3D
[4-Jun-2024 01:59:33 UTC] Copying image locally: https://oaidalleapiprodscus.blob.core.windows.net/private/org-viKZ3xh05XJF5CIB9BtLqoYv/user-XdOpnsI8oh7ZICWbWPARRUN0/img-mY0lhcx9WeXMohDYTWzhPVUT.png?st=2024-06-03T22%3A59%3A33Z&se=2024-06-04T00%3A59%3A33Z&sp=r&sv=2023-11-03&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-06-03T00%3A11%3A33Z&ske=2024-06-04T00%3A11%3A33Z&sks=b&skv=2023-11-03&sig=pA8UvPzy/vDKW/WU9XDhxhA/zrHm5/8i0g7gemRjibc%3D
[4-Jun-2024 01:59:35 UTC] Provided remote image is not valid: Array
[4-Jun-2024 01:59:35 UTC] aiomatic_generate_featured_image failed 60933</div>
<div></div>
<div>the post id is correct but as I see the remote image is not valid for some reason... what could be the problem...</div>