Suppression automatisée d'arrière-plan d'images basée sur APImage AI
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 8 nœuds.Utilise principalement des nœuds comme FormTrigger, HttpRequest. Suppression automatisée d'arrière-plan d'images basée sur APImage AI
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (8)
Catégorie
{
"meta": {
"instanceId": "47d295a7329d3547e0e6b56de9e439dc1a0a49c6d827b2320629f54300c47e41"
},
"nodes": [
{
"id": "b2a10153-b0c0-4bf9-9cbc-34c27203bbb9",
"name": "Note Adhésive",
"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": "Intégration APImage",
"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": "Téléchargement",
"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": "Note Adhésive2",
"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": "Note Adhésive3",
"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": "Supprimer l'Arrière-plan",
"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": "Note Adhésive1",
"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": "Note Adhésive4",
"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
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Création de contenu, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Gegenfeld
@gegenfeldWe 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.
Partager ce workflow