GithubHelp home page GithubHelp logo

jackngweiming / imagineapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imagineapi/imagineapi

0.0 0.0 0.0 7.4 MB

The MidJourney API (unofficial)

Home Page: https://www.imagineapi.dev

License: Other

Shell 2.06% JavaScript 15.47% TypeScript 79.55% Vue 0.87% Dockerfile 2.06%

imagineapi's Introduction

ImagineAPI.dev โ€” Midjourney API ๐Ÿ‘‹

To get started with self-hosted version, go here.

To get us to setup for you and handle the hard work, try a Cloud Plan

Contributing

  1. Follow these steps to setup a Discord bot with Midjourney
  2. Create a .shared.env file using these instructions.
  3. Run docker compose -f docker-compose.dev.yml build to build the contianers from source.
  4. Start the containers using docker compose -f docker-compose.dev.yml up -d

If you run into issues, log them here.

Troubleshooting

If you encounter issues, you can run docker compose -f docker-compose.dev.yml logs api or docker compose -f docker-compose.dev.yml logs bot to see logs for the api or bot services respectively.

Architecture

There are 3 services at work: API, RabbitMQ, Bot as follows:

In more detail, this is roughly how things work:

License

ImagineAPI is licensed under the Elastic License 2.0 (ELv2) license because it provides the best balance between freedom and protection. The ELv2 license is a permissive license that allows you to use, modify, and distribute ImagineAPI as long as you follow a few simple rules:

  1. You may not provide ImagineAPI's API to others as a managed service. For example, you cannot host ImagineAPI yourself and sell it as a cloud-based licensing service, competing with ImagineAPI Cloud. However, you can sell a product that directly exposes and utilizes ImagineAPI's API, as long as ImagineAPI cannot be used outside of your product for other purposes (such as your customer using an embedded ImagineAPI instance to license their product in addition to your product).

  2. You may not alter, remove, or obscure any licensing, copyright, or other notices.

Anything else is fair game. There's no clause that requires you to open source modifications made to ImagineAPI or other derivative works.

You can embed ImagineAPI in your on-premise application.

You can run ImagineAPI on a private network.

You can fork ImagineAPI into a private repo.

If the ELv2 license doesn't work for your company, please reach out.

The license is available here.

imagineapi's People

Contributors

hgezim avatar imagineapi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.