openai_dalle_wrapper

Last updated:

0 purchases

openai_dalle_wrapper Image
openai_dalle_wrapper Images
Add to Cart

Description:

openai dalle wrapper

OpenAI Dall*E2 Wrapper #
OpenAI Dall*E2 Wrapper let's you generate AI generated images using open ai api endpoints.
Example #
Get your api key from: https://beta.openai.com/account/api-keys
final open_ai = OpenaiDalleWrapper(
apiKey: "$apiKey",
);
copied to clipboard
Generate Image from Text:
final imagePath = open_ai.generateImage("Your text to generate image from.")
copied to clipboard
Edit an image with given text:
final generatedImagesFromText = await openai.editImage(
/// Image path
"/Users/user/Desktop/mine/openai_dalle_wrapper/lib/assets/images/cute_dog.png",
/// The text which api will generate edited image from
"astronout dog",
/// Number of variations to generate
1,
)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.