🤖

Integrating MidJourney with Make.com Automation

Mar 28, 2025

Integrating MidJourney with Make.com Automations

Introduction

  • Presenter: Daniel
  • Topic: Integration of MidJourney with Make.com using Go API for automations
  • Challenge: MidJourney lacks an official API; Go API is used as an unofficial entry point

Go API Options for Image Generation

  • Option 1: Bring Your Own Account
    • Bind personal MidJourney account to Go API
    • Cost: $10/month
    • No per-image cost
  • Option 2: Use Go API’s MidJourney Accounts
    • Pay-per-use model
    • Costs based on image generation
  • Supported Functions in Go API: MidJourney
    • Generate new images from prompt
    • Upscale images
    • Create variations
    • Inpaint, zoom, pan functions

Reliability of Unofficial APIs

  • Unofficial APIs are less reliable than official ones
  • Expect less than 100% uptime

Setting Up with Go API

  • Getting Started
    • Click "Try API for free" to access dashboard
    • Access MidJourney through the dashboard
    • Test prompts in Playground (e.g., "a cute puppy")
  • Response Codes
    • 200 Response Code indicates successful job posting
    • Retrieve task results using task ID

Image Upscaling and Task Management

  • Generating Image Variations
    • 4 different variations generated by default
    • Requires upscaling for higher resolution
  • Task History
    • Keeps record of tasks for debugging
    • Useful for troubleshooting issues

Using Make.com for Automation

  • Scenario Setup
    • Log in to Make.com and create a new scenario
    • Use HTTP request module to integrate API
    • Copy relevant data from documentation
  • API Usage
    • Parse response to handle task IDs and results
    • Use sleep or polling for task completion
    • Upscale images and save to Google Drive

Advanced Features

  • Web Hooks and Polling
    • More efficient than sleep; allows real-time updates
  • Repeater for Multiple Images
    • Handle multiple image upscaling in a loop

Troubleshooting

  • Error Handling
    • Manage errors when image doesn't generate
    • Use task history for debugging

Additional Resources

  • Community Access
    • Join the AI Automator community for templates and workshops
    • Access to live support and courses

Conclusion

  • Demonstrated integration of MidJourney with Make.com using Go API
  • Covered image generation, upscaling, and saving to Google Drive
  • Invitation to join AI Automator for further learning and support

Notes

  • Always ensure proper API key and task ID management
  • Explore web hooks and polling to improve automation efficiency