create_image_upload_url
ChatGPTGet a short-lived URL for uploading an image, for use when it is not already hosted at a public URL — including an image the user attached to this conversation. PUT the bytes to upload_url sending every header in required_headers exactly as given (the signature covers them; omitting one fails with SignatureDoesNotMatch). When storage_upload_url is returned, PUT the same bytes there too with storage_required_headers — that is the copy shown on the dashboard record, and skipping it leaves the record without its image. Then call detect_image with the returned file_ref. Does not consume detection credits — detect_image does.





