Midjourney API Tutorial- Without Code

Chaos Theory Institute
29 Sept 202305:26

TLDRThis tutorial demonstrates how to integrate Midjourney's AI art generation into no-code applications without an official API. It introduces a third-party service, Nextleg, offering an unofficial API for high-quality AI art. The guide explains using Bubble's API connector and a specific plugin to generate images directly within applications. It also covers basic setup, including parameter configuration and element ID assignment, enabling users to create and upscale AI-generated images within their no-code platforms.

Takeaways

  • 🚀 Rapid advances in AI art generation tools are enabling new creative possibilities.
  • 🛠️ Midjourney's AI art generation technology can be utilized without coding through no-code applications.
  • 🎨 Midjourney is known for producing high-quality images in the AI art space, despite the lack of an official API.
  • 🔗 The absence of an official API for Midjourney has led developers to alternative AI image generation services like OpenAI DALL-E 2 and Stable Diffusion.
  • 💡 A new player, 'thenextleg', has created an unofficial Midjourney API, providing a solution for developers.
  • 💰 The unofficial API is a paid service, but it offers a valuable option for applications requiring high-quality AI art.
  • 🔌 Bubble's API connector plugin can be used to integrate the unofficial Midjourney API into no-code applications.
  • 📝 Setting up the API involves installing a plugin and configuring parameters with tokens and JSON URLs.
  • 📱 Assigning unique IDs to page elements is crucial for the API to function correctly within a no-code platform like Bubble.
  • 🔍 Users can generate images based on prompts and interact with them using 'upscale' and 'variance' options.
  • 📚 Storing and managing the generated images as state data allows for further interaction and storage within the application.
  • 📈 For those interested in building and scaling no-code applications with AI, Kibby offers a comprehensive development course.

Q & A

  • What is the purpose of this tutorial?

    -The purpose of this tutorial is to demonstrate how to create applications without writing code that utilize Midjourney's AI art generation technology.

  • What is the name of the no-code writing SaaS that integrates AI writing and image generation tools?

    -The no-code writing SaaS is called Scribble.

  • How can interested individuals learn more about building and monetizing technical products with AI tools?

    -Interested individuals can learn more by visiting Kibby 1, where they offer a comprehensive no-code development course for non-technical founders.

  • Why has it been difficult for developers to use Midjourney's AI art generation within their own applications?

    -It has been difficult because Midjourney does not have an official API, forcing developers to seek alternative AI image generation services.

  • What is the name of the new service that provides an unofficial Midjourney API?

    -The new service is called Next Leg.

  • What is required to connect to Next Leg's API service using Bubble's API connector plugin?

    -To connect, one needs to use the Next Leg API service, which requires a Next Leg token and two JSON URLs for configuration.

  • What is the name of the element used in Bubble to generate Midjourney images?

    -The element is called Next Leg 01.

  • What are the three parameters needed to set up the Next Leg 01 element in Bubble?

    -The three parameters are a Next Leg token, two JSON URLs, and assigning unique IDs to specific page elements such as the input field, send button, and grid container.

  • How can users create a variant of a generated image using the Bubble plugin?

    -Users can create a variant by clicking on the 'V' button followed by a number to specify the variant, and then upscale the preferred variant by clicking on the 'U' button followed by a number.

  • How are the images generated by Midjourney stored and utilized within the Scribble application?

    -In Scribble, the generated images are stored as a state, and when the user is ready, their selected choice is saved to the user's database.

  • What additional guidance does the tutorial offer for those interested in no-code development?

    -The tutorial encourages interested individuals to visit Kibby 1 for a no-code development course that teaches not only how to build applications but also how to monetize and scale them.

Outlines

00:00

🎨 Building No-Code Apps with AI Art Generation

This tutorial introduces viewers to the process of creating applications without writing code by leveraging AI art generation technology. The speaker discusses the rapid advancements in AI art tools and showcases how to integrate this technology into no-code applications. They mention the recent launch of a no-code writing SaaS called Scribble, which includes AI writing and image generation tools. The tutorial also touches on the monetization and scaling of these applications. For those interested in learning more about no-code development, a link to Kibby 1 and a $100 discount coupon are provided.

05:02

🔗 Connecting to Mid Journey's AI Without an API

The second paragraph delves into the challenges developers face when trying to use Mid Journey's AI image generation service due to the lack of an official API. The tutorial explains how developers have been using alternative AI services like Open AI Dolly 2 or Stable Diffusion. However, with the introduction of an unofficial Mid Journey API by a new player called 'thenextleg', developers can now integrate high-quality AI art into their applications. The tutorial provides a step-by-step guide on setting up the API using Bubble's API connector plugin and a newly released premium plugin for easier integration. It also covers the process of configuring parameters and using the API to generate images directly within a no-code Bubble application.

📚 No-Code Development Course and Conclusion

The final paragraph wraps up the tutorial by inviting viewers to Kibby 1 for a comprehensive no-code development course. The course aims to teach non-technical founders how to build, monetize, and scale technical products, including those with AI tools. The speaker emphasizes the importance of learning to create complex applications without coding knowledge. The tutorial concludes with a reminder to like and subscribe for regular updates on no-coder and low-coder tutorials.

Mindmap

Keywords

💡Midjourney

Midjourney refers to a specific AI art generation technology that is capable of creating images based on textual prompts. In the context of the video, it is highlighted as a high-quality service in the AI art space, which developers wish to integrate into their applications despite the lack of an official API.

💡No-code development

No-code development is a method of building applications without writing traditional code, which is ideal for non-technical founders or those who wish to expedite the development process. The video script mentions a no-code development course offered by kb1, aimed at teaching how to build and monetize technical products with AI tools.

💡API

API stands for Application Programming Interface, which is a set of rules and protocols that allows different software applications to communicate with each other. The video discusses the absence of an official API for Midjourney and the workaround provided by a third-party service called 'the next leg' to enable AI image generation within applications.

💡Bubble

Bubble is a no-code platform that allows users to build web applications visually without writing code. The script describes using Bubble's API connector plugin to connect to the unofficial Midjourney API, demonstrating how no-code applications can leverage AI technologies.

💡AI Art Generation

AI Art Generation is the process by which artificial intelligence creates visual art based on given parameters or prompts. The video showcases how AI art generation tools are advancing and can be embedded into no-code applications to generate images like 'a cat on a bicycle'.

💡Plugin

A plugin in the context of no-code platforms is an additional component that extends the functionality of the platform. The script mentions a premium Bubble plugin that simplifies the connection to the unofficial Midjourney API, allowing users to generate AI images easily.

💡Parameters

In the context of the video, parameters refer to the specific inputs required by the plugin to function correctly, such as the 'next leg token' and 'Json URLs'. These are essential for setting up the connection to the AI service and generating images based on user prompts.

💡Upscale

Upscale in the video refers to the process of enhancing the quality or resolution of an image. The script describes a feature where users can select an image and upscale it for better detail, denoted by the letter 'U' followed by a number.

💡Variance

Variance in this context is the creation of different versions or variations of an image generated by the AI. The script mentions the ability to create a variant of an image by clicking on 'V' followed by a number, allowing users to explore different outcomes based on the same prompt.

💡State

State, in the context of applications, refers to the information or data that is stored and can be changed or retrieved during the runtime of the application. The video describes storing the images generated by the AI as a state, which can then be interacted with or saved within the user's database.

💡Monetize

Monetize means to convert a non-revenue-generating asset or service into one that generates income. The video script suggests that the no-code development course will teach not only how to build applications with AI but also how to monetize them effectively.

Highlights

This tutorial demonstrates how to create applications using Midjourney's AI art generation technology without writing code.

AI art generation tools are rapidly advancing, and this tutorial shows how to embed them in no-code applications.

KB1 offers a no-code development course for non-technical founders to build technical products with AI tools.

Scribble is a no-code writing SaaS that integrates AI writing and image generation tools.

The course teaches not only how to build applications but also how to monetize and scale them.

Midjourney does not have an official API, which has been a limitation for developers wanting to use its AI image generation service.

An unofficial Midjourney API has been created by a new player called NextLeg, offering a paid service for high-quality AI art.

Bubble's API connector plugin can be used to connect directly to the NextLeg API service for image generation.

A new Bubble plugin simplifies the connection to the NextLeg API, making it easier to generate images within applications.

The setup process involves installing the plugin and filling out parameters such as the NextLeg token and JSON URLs.

Documentation is available to guide users through setting up the required parameters for the NextLeg API.

Assigning unique IDs to page elements like input fields, send buttons, and image containers is necessary for the plugin to function.

Users can generate Midjourney images directly within a no-code Bubble application by entering prompts.

Images generated can be upscaled or varied by using specific buttons labeled with 'U' for upscale and 'V' for variance.

The tutorial shows how to create variants of images and upscale the preferred ones for use within applications.

In the application 'Scribble', images created with OpenAI's Dolly 2 are stored as a state and saved to the user's database when ready.

Interested users can learn more about no-code development and building complex applications without coding skills at KB1.

The tutorial concludes by encouraging viewers to like, subscribe, and explore new tutorials for no-coders and low-coders.