Add an image from a link
import_imageAdds one image to the Sociro media library from an https link and returns its media_file_id (for create_post media_file_ids, or as a cover). Use it for an image that is online or that an image model has just made and given a link for. JPG, PNG, WebP or GIF. Sociro stores its own copy (at most 1080 px wide, metadata removed), so the link does not need to stay alive. The link must be public: a private, local or sign-in-only address is refused. Not safe to repeat: every call stores a new copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | A name for the library. Optional. | |
| image_url | Yes | An https link that returns the image itself (not a web page showing it). |