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 →
{
"name": "Basic Image Generation with Sogni",
"nodes": [
{
"parameters": {
"content": "## Basic Image Generation\n\nGenerate a single AI image with Sogni using the Flux Schnell model.\n\n### Setup Steps:\n\n1. **Install n8n-nodes-sogni**\n - Settings \u2192 Community Nodes \u2192 Install \u2192 `n8n-nodes-sogni`\n\n2. **Add Sogni Credentials**\n - Create account at https://app.sogni.ai\n - Add credentials in n8n: Sogni AI API\n\n3. **Click Test Workflow**\n - Click the \"Test workflow\" button to generate an image\n\n### Customization:\n\n- **Prompt**: Change `positivePrompt` in the Generate node\n- **Model**: Change `modelId` (use Get All Models to see options)\n- **Quality**: Increase `steps` for better quality (slower)\n- **Guidance**: Higher values follow prompt more strictly\n- **Network**: Use `relaxed` for cheaper Spark tokens",
"height": 480,
"width": 340,
"color": 5
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-140,
100
],
"id": "sticky-setup-instructions",
"name": "Setup Instructions"
},
{
"parameters": {},
"id": "start-node",
"name": "When clicking 'Test workflow'",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
250,
300
],
"notes": "Click to manually trigger the workflow"
},
{
"parameters": {
"resource": "image",
"operation": "generate",
"modelId": "flux1-schnell-fp8",
"positivePrompt": "A beautiful sunset over mountains, vibrant colors, photorealistic",
"network": "fast",
"additionalFields": {
"generationSettings": {
"steps": 4,
"guidance": 3.5,
"numberOfMedia": 1
},
"advanced": {
"tokenType": "spark",
"timeout": 180000
}
}
},
"id": "sogni-generate",
"name": "Generate Image",
"type": "n8n-nodes-sogni.sogni",
"typeVersion": 1,
"position": [
450,
300
],
"notes": "Generates image using Sogni AI with Flux Schnell model"
}
],
"connections": {
"When clicking 'Test workflow'": {
"main": [
[
{
"node": "Generate Image",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"meta": {
"templateCredsSetupCompleted": false
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Basic Image Generation with Sogni. Uses n8n-nodes-sogni. Event-driven trigger; 3 nodes.
Source: https://github.com/Sogni-AI/n8n-nodes-sogni/blob/7076f6b87ded4436b16ef4e077542b85fec77778/examples/1-basic-image-generation.json — 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.
WAN Animate-Replace with SAM2. Uses readBinaryFile, n8n-nodes-sogni. Event-driven trigger; 6 nodes.
Sogni Audio: ACE-Step Music Generation. Uses n8n-nodes-sogni. Event-driven trigger; 3 nodes.
Batch Image Generation with Multiple Prompts. Uses n8n-nodes-sogni. Event-driven trigger; 6 nodes.
Protect Pdf With The Password Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 7 nodes.
Kb Tool Confluence Knowledge Base. Uses executeWorkflowTrigger, httpRequest, stickyNote. Event-driven trigger; 7 nodes.