Overview
Make is a visual platform that lets you design, build, and automate workflows by connecting apps and services. By integrating Legnext AI API with Make, you can:- Visual Workflow Builder - Create complex automations with drag-and-drop interface
- Connect 1000+ Apps - Integrate with popular tools like Google Drive, Slack, Airtable, and more
- Advanced Logic - Use routers, filters, and conditional logic in your workflows
- Real-time Processing - Process images and videos as events happen
- No Coding Required - Build powerful automations without technical expertise
Getting Started
Join Our Make Organization
Get access to pre-built Legnext templates and modules:Join Make Organization
Prerequisites
- A Make account (free or paid)
- A Legnext API key (Get one here)
- Basic understanding of workflow automation
Setup Steps
-
Join the Organization
- Click the button above to accept the invitation
- Log in to your Make account or create a new one
-
Access Legnext Templates
- Browse pre-built scenarios in the organization
- Clone templates to your workspace
-
Configure API Connection
- Add your Legnext API key to HTTP modules
- Test the connection
-
Customize Your Workflow
- Modify the scenario to fit your needs
- Add additional apps and logic
Use Cases
Automated Content Creation
Create a workflow that monitors your content calendar and automatically generates images when new content is scheduled. Example Flow:Social Media Automation
Generate and post images to multiple social media platforms based on triggers. Example Flow:E-commerce Product Images
Automatically generate product images when new items are added to your store. Example Flow:Email Marketing Campaigns
Create personalized images for email campaigns based on customer data. Example Flow:Video Content Pipeline
Build automated video generation workflows for marketing or social media. Example Flow:Key Features
HTTP Modules
Use Make’s HTTP modules to interact with the Legnext API:- HTTP Request - Make API calls to Legnext endpoints
- Webhooks - Receive completion notifications from Legnext
- JSON Parsing - Process API responses
Data Mapping
Map data between apps using Make’s intuitive interface:- Transform text data into image prompts
- Extract job IDs from responses
- Format URLs and parameters
Error Handling
Build robust workflows with Make’s error handling:- Error Handler Routes - Define fallback actions
- Retry Logic - Automatically retry failed requests
- Notifications - Get alerted when errors occur
Scheduling
Run workflows on schedules:- Interval Scheduling - Run every N minutes/hours
- Specific Times - Run at exact times daily/weekly
- Custom Cron - Advanced scheduling options
Available Legnext Operations
Image Generation
- Text-to-Image
- Image-to-Image
- Image Upscaling
- Image Variations
Video Generation
- Video Diffusion
- Video Extension
- Video Upscaling
Task Management
- Get Task Status
- Get Task Result
- Cancel Task
Account
- Get Balance
Best Practices
Use Webhooks for Long Operations
For video generation and other long-running tasks:- Send the initial API request with a webhook URL
- Use Make’s webhook to receive the completion notification
- Process the result in a separate scenario
Handle Rate Limits
- Add delay modules between bulk operations
- Use Make’s scheduling to spread out requests
- Monitor your API usage in the Legnext dashboard
Store Job IDs
- Use data stores to track job IDs
- Link generation and result retrieval operations
- Maintain history of completed tasks
Test Thoroughly
- Use Make’s test execution feature
- Verify all API connections before going live
- Set up error notifications
Example Scenarios
Basic Image Generation
Trigger: Google Form submission Actions:- Parse form response
- Call Legnext text-to-image API
- Wait for completion (webhook or polling)
- Save image to Google Drive
- Send email with image link
Batch Image Processing
Trigger: New file in Dropbox folder Actions:- Get file URL from Dropbox
- Call Legnext image-to-image API
- Apply style transformation
- Save result to different folder
- Update Airtable with status
Video Generation Pipeline
Trigger: Scheduled (daily at 9 AM) Actions:- Get content from CMS (e.g., WordPress)
- Generate video using Legnext
- Monitor task status
- Upload to YouTube when ready
- Post announcement on social media
Troubleshooting
Connection Issues
Problem: Can’t connect to Legnext API Solution:- Verify your API key is correct
- Check that you’re using the correct endpoint URL
- Ensure your Make plan supports HTTP requests
Timeout Errors
Problem: Scenario times out waiting for response Solution:- Use webhook callbacks instead of waiting
- Split generation and retrieval into separate scenarios
- Use Make’s resume feature for long-running operations
Data Mapping Errors
Problem: Data not mapping correctly between modules Solution:- Use Make’s mapping panel to visualize data structure
- Test with sample data first
- Check JSON response format in API documentation
Webhook Not Triggering
Problem: Not receiving webhook notifications Solution:- Verify webhook URL is correct in API request
- Check Make webhook is active and listening
- Test webhook with Make’s “Determine data structure” feature