I’ve searched everywhere on this forum and have found nothing that is helping me solve this. I have successfully integrated with Stability AI and this is the response I get in binary. I am unable to pass this as the featured image for the wordpress create a post.
Thanks for the response. I am still having trouble basically being able to pass images from stability AI to wordpress. is there a way to convert the binary to a valid image URL? Chat gpt allows this data format, but i can’t seem to figure out how to do this for my custom http request to stability AI.
You’ll have to use the Wordpress “Create a Media Item” first with your image binary data, before you can map the newly created media’s ID into “Create a Post” module.
I don’t think you can’t directly upload to Wordpress with an (image) URL. Just upload the image binary data using the “Create a Media Item” module.
“Create Media Item” can accept binary , allowing you to directly upload your image to WordPress, “Create a Media Item”, and use the “Media Item ID” for further purposes.