Eliminación automática de fondo de imágenes con APImage AI

Intermedio

Este es unContent Creation, Multimodal AIflujo de automatización del dominio deautomatización que contiene 8 nodos.Utiliza principalmente nodos como FormTrigger, HttpRequest. Eliminación automatizada de fondos de imágenes con APImage AI

Requisitos previos
  • Pueden requerirse credenciales de autenticación para la API de destino
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "meta": {
    "instanceId": "47d295a7329d3547e0e6b56de9e439dc1a0a49c6d827b2320629f54300c47e41"
  },
  "nodes": [
    {
      "id": "b2a10153-b0c0-4bf9-9cbc-34c27203bbb9",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -40
      ],
      "parameters": {
        "color": 7,
        "width": 1120,
        "height": 220,
        "content": "\n## ✨ How To Get Started \n1. Double-click the **APImage API** node to open it.\n2. Replace \"_YOUR_API_KEY_\" with your API Key.\n3. Use the **Remove Background** node to submit a request.\n\nNote: You can find your API Key inside the Dashboard of your APImage account. \n\n[Open the Dashboard 🡥](https://apimage.org/dashboard)"
      },
      "typeVersion": 1
    },
    {
      "id": "921c8f45-bf0b-421e-80cc-46a10b87d707",
      "name": "APImage Integration",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        80,
        340
      ],
      "parameters": {
        "url": "https://apimage.org/api/ai-remove-background",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "image_url",
              "value": "={{ $json['Image URL'] }}"
            },
            {
              "name": "async",
              "value": "false"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "43f128bc-de3f-4963-be18-a41804a9c23c",
      "name": "Download",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        360,
        340
      ],
      "parameters": {
        "url": "={{ $json.processed_image_url }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "4d65b39a-c0e1-46ac-9f59-b34068a737cb",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        200
      ],
      "parameters": {
        "width": 280,
        "height": 480,
        "content": "### Output Images\nYou can add nodes for any service where you want the images to be stored, e.g.:\n\n- SQLite, MySQL, PostgreSQL, etc.\n- Google Drive, Dropbox, etc.\n- S3 Object Storage, FTP servers, etc.\n- Airtable, Notion, etc.\n- And any other service\n\n\n\n\n\n\n\n\n\n\n\nJust make sure to add those nodes after the \"Download\" node. The default name of the output image files is \"data\". "
      },
      "typeVersion": 1
    },
    {
      "id": "04818f55-b094-46d5-b276-ad6668f78449",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        540
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 340,
        "content": "You can either use the Form node to manually enter image URLs whose background you want to remove, or connect nodes from any data source that provides image links, such as:\n\n- SQLite, MySQL, PostgreSQL, etc.\n- Google Drive, Dropbox, etc.\n- S3 Object Storage, FTP servers, etc.\n- Airtable, Notion, etc.\n- And any other service"
      },
      "typeVersion": 1
    },
    {
      "id": "2fb0d767-87e1-44f3-b721-3343af43b2b9",
      "name": "Remove Background",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -200,
        340
      ],
      "webhookId": "b7487db2-4581-4fd6-b4e0-afac3d8466fb",
      "parameters": {
        "options": {},
        "formTitle": "APImage Remove Background",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Image URL",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Remove backgrounds from images"
      },
      "typeVersion": 2.2
    },
    {
      "id": "af9f1360-5554-4227-9545-9634a31b029b",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        200
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 320,
        "content": "### Input Images\nThis node (Remove Background) can be replaced with any service that provides the input image URLs."
      },
      "typeVersion": 1
    },
    {
      "id": "1cbbaf5c-673a-4032-af30-3b43468c9cb7",
      "name": "Nota Adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        540
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 140,
        "content": "### Need support?\nIf you're having issues with setting up the APImage API, please contact:\n\n✉ [ask@support.apimage.org](mailto:ask@support.apimage.org)"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "2fb0d767-87e1-44f3-b721-3343af43b2b9": {
      "main": [
        [
          {
            "node": "921c8f45-bf0b-421e-80cc-46a10b87d707",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "921c8f45-bf0b-421e-80cc-46a10b87d707": {
      "main": [
        [
          {
            "node": "43f128bc-de3f-4963-be18-a41804a9c23c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Intermedio - Creación de contenido, IA Multimodal

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos8
Categoría2
Tipos de nodos3
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 nodos

Autor
Gegenfeld

Gegenfeld

@gegenfeld

We at Gegenfeld are an EdTech platform dedicated to delivering high-quality on-demand courses and interactive training sessions for professional development at all skill levels. With our commitment to "Accelerate your future," we empower professionals to enhance their expertise through engaging, industry-focused learning experiences. On n8n, we share some of the workflows used in our interactive training to provide deeper insights and practical applications.

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34