Tool
Upload media
The wordpress_com-upload-media AI tool streamlines the process of uploading media files directly to your WordPress.com site from any URL, enabling efficient content management without manual downloads or uploads.
Features
- Supports direct media file upload from URLs to WordPress.com sites
- Allows setting media title, caption, and description during upload
- Requires only the site ID or domain for seamless integration
- Eliminates the need for manual media handling and FTP uploads
- Provides API-based media management with comprehensive documentation support
Benefits
- Saves time by automating media uploads to WordPress.com
- Enhances content workflow with easy media management
- Improves SEO with the ability to add descriptive metadata to media
- Reduces technical overhead for website owners and developers
- Enables scalable media handling for large content sites
Description
Uploads a media file from a URL to the specified WordPress.com site. See the documentation
Parameters
5 parameters
| Name | Type | Description |
|---|---|---|
| siterequired | string | Enter a site ID or domain (e.g. testsit38.wordpress.com). Do not include 'https://' or 'www'. |
| media | any | A direct media URL, or a FormData object with the file attached under the field name 'media[]'. |
| title | string | Title of the media |
| caption | string | Optional caption text to associate with the uploaded media |
| description | string | A description of the uploaded media |