Add media from a public URL
media_from_urlAttach an image or video that is already on the public web. We download it, copy it into our storage and give you a media id you can pass to publish. One step, no upload needed. https only. Google Drive and Dropbox share links do not work: they return an HTML preview page, not the file. Use a direct file URL that ends in the file itself. If you can see the image, write altText describing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https URL of the image or video file itself. | |
| altText | No | What the image shows, for people using screen readers. Applied to carousel items. |