Crear historias animadas dinámicas usando APIs y código personalizado
Descripción del flujo de trabajo
Automatización avanzada para generar historias animadas mediante llamadas a APIs externas y ejecución de código JavaScript personalizado, con control total sobre la lógica del flujo de trabajo, enrutamiento condicional y retardos programados entre fases de procesamiento.
Cómo funciona
- 1.Iniciar el flujo de trabajo manualmente o mediante automatización programada para comenzar la creación de historias
- 2.Llamar a APIs externas para obtener datos o generar contenido narrativo
- 3.Ejecutar código JavaScript personalizado para procesar datos y construir elementos de la historia
- 4.Implementar retardos programados entre pasos para respetar límites de velocidad de API
- 5.Aplicar lógica condicional para enrutar el flujo según validación de datos o estados
- 6.Almacenar o transferir datos finales a pasos posteriores para procesamiento o entrega adicional
Casos de uso
- Generar contenido narrativo dinámico para plataformas digitales y aplicaciones móviles
- Producir historias personalizadas que se adapten según datos o preferencias del usuario
- Automatizar la producción de animaciones con contenido de historias variable y personalizable
Requisitos
- Conocimiento de JavaScript para escribir y modificar bloques de código personalizado
- Claves de API y credenciales de acceso para servicios externos integrados
- Comprensión de la arquitectura de flujos de trabajo en n8n y mapeo de datos entre nodos
Valor del servicio
Ideal como servicio de automatización inteligente que combina integraciones e inteligencia artificial para producir resultados listos para usar.
Aplicaciones utilizadas
Detalles
Cómo usar
- 1.Haz clic en "Descargar plantilla"
- 2.Abre tu panel de n8n
- 3.Ve a Workflows > Import from File
- 4.Selecciona el archivo descargado y configura las credenciales
Nodos utilizados (51)
output1
Set
output2
Set
Get Prompt
Code
Basic Params
Set
Get Task ID of the First Image
Set
Midjourney Generator of the First Image
HTTP Request
Wait for the First Image Generation
Wait
Verify the first image generation status
If
Get the First Image URL
Set
Midjourney Generator of the Second Image
HTTP Request
Midjourney Generator of the Third Image
HTTP Request
Get the First Image Generation Status
Switch
Get the Second Image Generation Status
Switch
Get the Third Image Generation Status
Switch
Get the Second Image URL
Set
Get the Third Image URL
Set
Wait for the Second Image Generation
Wait
Get Task of the First Image
HTTP Request
Get Task of the Second Image
HTTP Request
Verify the second image generation status
If
Verify the third image generation status
If
Get Task of the Third Image
HTTP Request
Wait for the Third Image Generation
Wait
Get three Image URLs
Set
Generate the First Video
HTTP Request
Generate the Second Video
HTTP Request
Generate the Third Video
HTTP Request
Final Video Combination
HTTP Request
Get the Third Video URL
Set
Get Video Task IDs
Set
Get the First Video Task
HTTP Request
Verify the First Video Generation
If
Verify the Second Video Generation
If
Verify the Third Video Generation
If
Wait for Video Generation for at Least 4 min
Wait
Wait for the First Video Generation
Wait
Wait for the Second Video Generation
Wait
Wait for the Third Video Generation
Wait
Get the First Video Generation
Switch
Get the Second Video Generation
Switch
Get the Third Video Generation
Switch
Get the Second Video Task
HTTP Request
Get the Third Video Task
HTTP Request
Sticky Note
Sticky Note
When clicking Test workflow
Manual Trigger
GPT-4o-mini Generate Image Scenario Prompt
HTTP Request
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note