openai_dalle_wrapper 0.0.2 copy "openai_dalle_wrapper: ^0.0.2" to clipboard
openai_dalle_wrapper: ^0.0.2 copied to clipboard

outdated

OpenAI Dall*E Wrapper

OpenAI Dall*E2 Wrapper #

OpenAI Dall*E2 Wrapper let's you generate AI generated images using open ai api endpoints.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  openai_dalle_wrapper: ^0.0.1
  1. Import the package and use it in your Flutter App.
import 'package:openai_dalle_wrapper/openai_dalle_wrapper.dart';

Example #

Get your api key from: https://beta.openai.com/account/api-keys

final open_ai = OpenaiDalleWrapper(
    apiKey: "$apiKey",
);

final imagePath = open_ai.generateImage("Your text to generate image from.")
9
likes
0
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

OpenAI Dall*E Wrapper

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_lints, http

More

Packages that depend on openai_dalle_wrapper