midjourney_client 0.2.0-dev.1 copy "midjourney_client: ^0.2.0-dev.1" to clipboard
midjourney_client: ^0.2.0-dev.1 copied to clipboard

Unofficial midjourney client that gives you possibility to generates images! Now, it utilizes the Discord API to communicate with the bot.

example/main.dart

// ignore_for_file: avoid_print

import 'dart:async';

import 'package:midjourney_client/midjourney_client.dart' as midjourney_client;

import 'env.dart';

Future<void> main(List<Object> arguments) async {
  final client = midjourney_client.Midjourney(
    serverId: Env.serverId,
    channelId: Env.channelId,
    token: Env.token,
    loggerLevel: midjourney_client.MLoggerLevel.debug,
  );

  await client.init();

  final imagine = client.imagine('Elephant on a tree')..listen(print);
  final result = await imagine.last;

  print('Result: $result');
}
10
likes
0
pub points
43%
popularity

Publisher

verified publisherlazebny.io

Unofficial midjourney client that gives you possibility to generates images! Now, it utilizes the Discord API to communicate with the bot.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, http, l, meta, snowflaker, ws

More

Packages that depend on midjourney_client