Skip to main content

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

  1. Join the Organization
    • Click the button above to accept the invitation
    • Log in to your Make account or create a new one
  2. Access Legnext Templates
    • Browse pre-built scenarios in the organization
    • Clone templates to your workspace
  3. Configure API Connection
    • Add your Legnext API key to HTTP modules
    • Test the connection
  4. 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:
Google Sheets (New Row) → Legnext (Generate Image) → Google Drive (Save File) → Slack (Send Notification)

Social Media Automation

Generate and post images to multiple social media platforms based on triggers. Example Flow:
RSS Feed → Legnext (Generate Image) → Dropbox (Save) → Twitter/Instagram (Post)

E-commerce Product Images

Automatically generate product images when new items are added to your store. Example Flow:
Shopify (New Product) → Legnext (Generate Image) → Shopify (Update Product Image)

Email Marketing Campaigns

Create personalized images for email campaigns based on customer data. Example Flow:
Mailchimp (New Campaign) → Airtable (Get Data) → Legnext (Generate Images) → Mailchimp (Add Images)

Video Content Pipeline

Build automated video generation workflows for marketing or social media. Example Flow:
Trello (Card Moved) → Legnext (Generate Video) → Vimeo (Upload) → Email (Send Review Link)

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:
  1. Send the initial API request with a webhook URL
  2. Use Make’s webhook to receive the completion notification
  3. 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:
  1. Parse form response
  2. Call Legnext text-to-image API
  3. Wait for completion (webhook or polling)
  4. Save image to Google Drive
  5. Send email with image link

Batch Image Processing

Trigger: New file in Dropbox folder Actions:
  1. Get file URL from Dropbox
  2. Call Legnext image-to-image API
  3. Apply style transformation
  4. Save result to different folder
  5. Update Airtable with status

Video Generation Pipeline

Trigger: Scheduled (daily at 9 AM) Actions:
  1. Get content from CMS (e.g., WordPress)
  2. Generate video using Legnext
  3. Monitor task status
  4. Upload to YouTube when ready
  5. 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

Resources

Need Help?

If you need assistance with Make integration, reach out to our support team at [email protected]