Built-in tool

Upload Image to WordPress

Add an image to a connected WordPress website's media library from a public address, for a featured image or inside a post or page.

Freeno per-call chargeNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
urlstring · requiredstringrequired

The public https address of the image: JPEG, PNG, GIF, WebP or AVIF, 15 MB at most.

altstring · optionalstringoptional

Alt text: what the image shows, for screen readers and search.

sitestring · optionalstringoptional

Which connected WordPress site, when several are connected: its address (example.com), its name or its account id. Leave out when only one is connected.

titlestring · optionalstringoptional

The image's title in the media library.

captionstring · optionalstringoptional

A caption shown under the image where the theme shows captions.

filenamestring · optionalstringoptional

A short descriptive file name without its extension, for example "pricing-table". Taken from the address when left out.

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "site",
    "media"
  ],
  "properties": {
    "site": {
      "type": "object",
      "required": [
        "name",
        "url"
      ],
      "properties": {
        "url": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "media": {
      "type": "object",
      "required": [
        "id",
        "url",
        "mimeType",
        "width",
        "height",
        "alt"
      ],
      "properties": {
        "id": {
          "type": "number"
        },
        "alt": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "width": {
          "type": [
            "number",
            "null"
          ]
        },
        "height": {
          "type": [
            "number",
            "null"
          ]
        },
        "mimeType": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.