Generate AI images with Gemini and upload them to WordPress (sub-workflow)

bb390528-7143-4b1b-9e71-79a92ed36d0a

Latency
4056ms
Cost
$0.0004
Tokens
1,055
Status
success
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "c75b96e0-cbbf-434d-83bb-a02694c2b5ba",
    "timestamp": 1780875160071
  },
  {
    "data": {
      "kind": "n8n-nodes-base.executeWorkflowTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780875160071
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "c75b96e0-cbbf-434d-83bb-a02694c2b5ba",
    "timestamp": 1780875160071
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cd0ae13e-ef87-47fe-b974-bd1636978473",
    "timestamp": 1780875160074
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780875160074
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780875160074
  },
  {
    "data": {
      "model": "gemini-2.5-flash-lite",
      "costUsd": 0.00041270000000000006,
      "provider": "google",
      "latencyMs": 3099,
      "promptTokens": 31,
      "completionTokens": 1024
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780875163175
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cd0ae13e-ef87-47fe-b974-bd1636978473",
    "timestamp": 1780875163175
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "9eff4394-d7a4-4830-b281-1e29f575f91e",
    "timestamp": 1780875163184
  },
  {
    "event": "fetching POST https://your-wordpress-site.com/wp-json/wp/v2/media",
    "nodeId": "http",
    "timestamp": 1780875163184
  },
  {
    "data": {
      "url": "https://your-wordpress-site.com/wp-json/wp/v2/media",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780875163184
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780875164122
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "9eff4394-d7a4-4830-b281-1e29f575f91e",
    "timestamp": 1780875164122
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "c92d76ee-c4df-4aa2-846e-41828f2cb495",
    "timestamp": 1780875164127
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body",
        "simulated"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780875164127
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "c92d76ee-c4df-4aa2-846e-41828f2cb495",
    "timestamp": 1780875164127
  }
]