The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"updatedAt": "2026-04-29T19:33:54.392Z",
"createdAt": "2026-04-29T19:33:00.312Z",
"id": "Z54GmjPIEJqMW2KY",
"name": "AI Fashion Studio - Produto em Modelo + V\u00eddeo",
"description": null,
"active": false,
"isArchived": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "fashion-studio",
"responseMode": "responseNode",
"options": {
"rawBody": true
}
},
"id": "a1b2c3d4-0001-4000-8000-000000000001",
"name": "Webhook - Receber Produto",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
240,
304
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.fashn.ai/v1/run",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ model_name: 'product-to-model', inputs: { product_image: $json.body.product_image, model_image: $json.body.model_image || undefined, prompt: $json.body.prompt || 'professional fashion photography, studio lighting, clean background', aspect_ratio: $json.body.aspect_ratio || '3:4', resolution: $json.body.resolution || '1k', generation_mode: $json.body.generation_mode || 'balanced', output_format: $json.body.output_format || 'png' } }) }}",
"options": {
"response": {
"response": {
"fullResponse": true
}
}
}
},
"id": "a1b2c3d4-0002-4000-8000-000000000002",
"name": "FASHN - Gerar Modelo",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
496,
304
],
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {},
"id": "a1b2c3d4-0003-4000-8000-000000000003",
"name": "Aguardar 5s",
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
704,
304
]
},
{
"parameters": {
"url": "=https://api.fashn.ai/v1/status/{{ $('FASHN - Gerar Modelo').item.json.body.id }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"id": "a1b2c3d4-0004-4000-8000-000000000004",
"name": "FASHN - Verificar Status Imagem",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
928,
304
],
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 1
},
"conditions": [
{
"id": "condition-img-completed",
"leftValue": "={{ $json.status }}",
"rightValue": "completed",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "a1b2c3d4-0005-4000-8000-000000000005",
"name": "Imagem Pronta?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
1152,
304
]
},
{
"parameters": {},
"id": "a1b2c3d4-0006-4000-8000-000000000006",
"name": "Aguardar Mais 5s",
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
1152,
528
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 1
},
"conditions": [
{
"id": "condition-want-video",
"leftValue": "={{ $('Webhook - Receber Produto').item.json.body.generate_video }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "a1b2c3d4-0007-4000-8000-000000000007",
"name": "Gerar V\u00eddeo?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
1392,
304
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.fashn.ai/v1/run",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ model_name: 'image-to-video', inputs: { image: $('Imagem Pronta?').item.json.output[0], duration: $('Webhook - Receber Produto').item.json.body.video_duration || 5, resolution: $('Webhook - Receber Produto').item.json.body.video_resolution || '1080p' } }) }}",
"options": {
"response": {
"response": {
"fullResponse": true
}
}
}
},
"id": "a1b2c3d4-0008-4000-8000-000000000008",
"name": "FASHN - Gerar V\u00eddeo",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1632,
208
],
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"amount": 10
},
"id": "a1b2c3d4-0009-4000-8000-000000000009",
"name": "Aguardar 10s V\u00eddeo",
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
1840,
208
]
},
{
"parameters": {
"url": "=https://api.fashn.ai/v1/status/{{ $('FASHN - Gerar V\u00eddeo').item.json.body.id }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"id": "a1b2c3d4-0010-4000-8000-000000000010",
"name": "FASHN - Verificar Status V\u00eddeo",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
2064,
208
],
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 1
},
"conditions": [
{
"id": "condition-vid-completed",
"leftValue": "={{ $json.status }}",
"rightValue": "completed",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "a1b2c3d4-0011-4000-8000-000000000011",
"name": "V\u00eddeo Pronto?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
2288,
208
]
},
{
"parameters": {
"amount": 10
},
"id": "a1b2c3d4-0012-4000-8000-000000000012",
"name": "Aguardar Mais 10s V\u00eddeo",
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
2288,
432
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify({ success: true, image_url: $('Imagem Pronta?').item.json.output[0], video_url: $json.output ? $json.output[0] : null, message: 'Imagem e v\u00eddeo gerados com sucesso!' }) }}",
"options": {
"responseCode": 200
}
},
"id": "a1b2c3d4-0013-4000-8000-000000000013",
"name": "Responder com Imagem + V\u00eddeo",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
2528,
208
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify({ success: true, image_url: $('Imagem Pronta?').item.json.output[0], video_url: null, message: 'Imagem gerada com sucesso! (V\u00eddeo n\u00e3o solicitado)' }) }}",
"options": {
"responseCode": 200
}
},
"id": "a1b2c3d4-0014-4000-8000-000000000014",
"name": "Responder S\u00f3 Imagem",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
1632,
432
]
},
{
"parameters": {
"options": {}
},
"id": "a1b2c3d4-0015-4000-8000-000000000015",
"name": "Preparar Dados Imagem",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1392,
128
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify({ success: false, error: $('Imagem Pronta?').item.json.error || 'Erro ao gerar imagem', message: 'A gera\u00e7\u00e3o falhou. Verifique os dados enviados.' }) }}",
"options": {
"responseCode": 500
}
},
"id": "a1b2c3d4-0016-4000-8000-000000000016",
"name": "Responder Erro",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
1152,
720
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 1
},
"conditions": [
{
"id": "condition-img-failed",
"leftValue": "={{ $json.status }}",
"rightValue": "failed",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "a1b2c3d4-0017-4000-8000-000000000017",
"name": "Falhou?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
928,
528
]
}
],
"connections": {
"Webhook - Receber Produto": {
"main": [
[
{
"node": "FASHN - Gerar Modelo",
"type": "main",
"index": 0
}
]
]
},
"FASHN - Gerar Modelo": {
"main": [
[
{
"node": "Aguardar 5s",
"type": "main",
"index": 0
}
]
]
},
"Aguardar 5s": {
"main": [
[
{
"node": "FASHN - Verificar Status Imagem",
"type": "main",
"index": 0
}
]
]
},
"FASHN - Verificar Status Imagem": {
"main": [
[
{
"node": "Imagem Pronta?",
"type": "main",
"index": 0
}
]
]
},
"Imagem Pronta?": {
"main": [
[
{
"node": "Gerar V\u00eddeo?",
"type": "main",
"index": 0
}
],
[
{
"node": "Aguardar Mais 5s",
"type": "main",
"index": 0
}
]
]
},
"Aguardar Mais 5s": {
"main": [
[
{
"node": "Falhou?",
"type": "main",
"index": 0
}
]
]
},
"Falhou?": {
"main": [
[
{
"node": "Responder Erro",
"type": "main",
"index": 0
}
],
[
{
"node": "FASHN - Verificar Status Imagem",
"type": "main",
"index": 0
}
]
]
},
"Gerar V\u00eddeo?": {
"main": [
[
{
"node": "FASHN - Gerar V\u00eddeo",
"type": "main",
"index": 0
}
],
[
{
"node": "Responder S\u00f3 Imagem",
"type": "main",
"index": 0
}
]
]
},
"FASHN - Gerar V\u00eddeo": {
"main": [
[
{
"node": "Aguardar 10s V\u00eddeo",
"type": "main",
"index": 0
}
]
]
},
"Aguardar 10s V\u00eddeo": {
"main": [
[
{
"node": "FASHN - Verificar Status V\u00eddeo",
"type": "main",
"index": 0
}
]
]
},
"FASHN - Verificar Status V\u00eddeo": {
"main": [
[
{
"node": "V\u00eddeo Pronto?",
"type": "main",
"index": 0
}
]
]
},
"V\u00eddeo Pronto?": {
"main": [
[
{
"node": "Responder com Imagem + V\u00eddeo",
"type": "main",
"index": 0
}
],
[
{
"node": "Aguardar Mais 10s V\u00eddeo",
"type": "main",
"index": 0
}
]
]
},
"Aguardar Mais 10s V\u00eddeo": {
"main": [
[
{
"node": "FASHN - Verificar Status V\u00eddeo",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"staticData": null,
"meta": null,
"versionId": "c746e037-c58a-42e2-a590-d777074f044c",
"activeVersionId": null,
"versionCounter": 3,
"triggerCount": 0,
"shared": [
{
"updatedAt": "2026-04-29T19:33:00.320Z",
"createdAt": "2026-04-29T19:33:00.320Z",
"role": "workflow:owner",
"workflowId": "Z54GmjPIEJqMW2KY",
"projectId": "mWD1cZVqnqwEqs0H",
"project": {
"updatedAt": "2026-04-29T19:14:57.569Z",
"createdAt": "2026-04-29T19:14:15.573Z",
"id": "mWD1cZVqnqwEqs0H",
"name": "Eduardo Maciel <eduardomanhaesmaciel@gmail.com>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "7e60847f-9c9a-49f4-954c-c34c3b9f180a"
}
}
],
"tags": [],
"activeVersion": null
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Fashion Studio - Produto em Modelo + Vídeo. Uses httpRequest. Webhook trigger; 17 nodes.
Source: https://github.com/Eduardo-Manhaes/ai-fashion-studio/blob/f6f5a1b74c75f029ca8040d9bdfefcc0adf96994/ai-fashion-studio.n8n — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di
This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .
This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c
Sign PDF documents with legally-compliant digital signatures using X.509 certificates. Supports multiple PAdES signature levels (B, T, LT, LTA) with optional visible stamps.
📡 This workflow serves as the central Alpha Vantage API fetcher for Tesla trading indicators, delivering cleaned 20-point JSON outputs for three timeframes: , , and . It is required by the following a