Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DALLE image generator in Media Library #4496

Merged
merged 2 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,21 @@ You can use the **Media Library** to:

* Upload multiple images at one time
* Upload Virtual Contact Files (.vcf)
* Upload a folder with your images (max: 50 images)
* Upload a folder with your images (max 50 images)
* [Generate an image using AI](#generate-ai) and store it in the Media Library
* Crop an existing image to create the right ratio for your messages
* Add tags or teams to help further organize your images
* Search by tags or teams in the new Media Library grid
* Search by tags or teams in the Media Library grid
* Drag and drop images or folders to be uploaded
* Delete images

![Media Library page that includes an "Upload To Library" section to drag and drop or upload files. There is also a list of uploaded content in the Media Library.][1]

## Stats available

Within the Media Library, you can see the image dimensions, URL, type as well as the date it was added to the library.

## Accessing the Media Library from a message composer

The Media Library acts as your dashboard's centralized location for assets, as all images are uploaded directly to it. This functionality gives you the flexibility to re-use images across different messages.

## Managing content
{% alert tip %} For more help with the Media Library, check out our [Templates & Media FAQs]({{site.baseurl}}/user_guide/engagement_tools/templates_and_media/faqs). {% endalert %}

You can also [duplicate]({{site.baseurl}}/user_guide/engagement_tools/templates_and_media/duplicate/) and [archive]({{site.baseurl}}/user_guide/engagement_tools/templates_and_media/archive/) templates! Learn more about creating and managing templates and creative content in [Templates & Media]({{site.baseurl}}/user_guide/engagement_tools/templates_and_media/).
## Image details

{% alert tip %} For more help with the Media Library, check out our [Templates & Media FAQs]({{site.baseurl}}/user_guide/engagement_tools/templates_and_media/faqs). {% endalert %}
Within the Media Library, you can see the image type, size, dimensions, URL, and date it was added to the library.

## Image specifications

Expand Down Expand Up @@ -132,8 +125,27 @@ Android rich notifications do not support GIFs.
{% endtab %}
{% endtabs %}

## Accessing the Media Library from a message composer

The Media Library acts as your dashboard's centralized location for assets, as all images are uploaded directly to it. This lets you re-use images across different messages.

![Two common ways of accessing the Media Library depending on the message composer. One shows the email Drag and Drop Editor with the title "Images and GIFs" and a button to "Add from Media Library". The other shows the standard editors, such as push and in-app messages, with the title "Media" and a button to "Add Image".][1.5]{: style="border:none"}

## Generate an image using AI {#generate-ai}

You can generate images for your Media Library using [DALL·E 2](https://openai.com/dall-e-2/), an AI system from OpenAI that can create realistic images and art from a description in natural language. Each request generates four variations of your prompt, and you can generate images 10 times per day.
bre-fitzgerald marked this conversation as resolved.
Show resolved Hide resolved
bre-fitzgerald marked this conversation as resolved.
Show resolved Hide resolved

1. From the Media Library, click <i class="fas fa-wand-magic-sparkles"></i> **AI Image Generator**.
2. Enter a description of the image you want to generate, up to 300 characters. The more detailed the description, the better your result.
3. Click **Generate Images**. It can take about a minute for images to generate.
4. Click <i class="fas fa-download" title="Add image to Media Library"></i> on the images you like to add them to your Media Library.

![AI image generator modal in the Media Library.][6]{: style="max-width:75%"}

[1]: {% image_buster /assets/img_archive/media_library_main.png %}
[1.5]: {% image_buster /assets/img_archive/media_library_composers.png %}
[2]: {% image_buster /assets/img_archive/media_library_crop1.png %}
[3]: {% image_buster /assets/img_archive/media_library_crop2.png %}
[4]: {{site.baseurl}}/user_guide/engagement_tools/templates_and_media/
[5]: https://imageoptim.com/mac
[6]: {% image_buster /assets/img_archive/media_library_dalle.png %}
3 changes: 3 additions & 0 deletions _docs/_user_guide/intelligence.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ guide_menu_list:
- name: AI Copywriting Assistant
link: /docs/user_guide/intelligence/ai_copywriting/
fa_icon: fas fa-edit
- name: AI Image Generator
link: /docs/user_guide/engagement_tools/templates_and_media/media_library/#generate-ai
fa_icon: fas fa-wand-magic-sparkles

---

Expand Down
3 changes: 3 additions & 0 deletions _docs/_user_guide/intelligence/ai_copywriting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ We filter out responses for offensive content that violates OpenAI's [content po

[GPT3](https://openai.com/blog/gpt-3-apps/) is OpenAI's state of the art natural language generation tool powered by artificial intelligence. It can perform a variety of natural language tasks like text generation, completion, and classification. We've plugged it into the Braze dashboard to help inspire and diversify your copy directly as you work.

## More AI tools

You can also [generate an image using AI]({{site.baseurl}}/user_guide/engagement_tools/templates_and_media/media_library/#generate-ai) from the Media Library. This leverages DALL·E 2, an AI system from OpenAI that can create realistic images and art from a description in natural language.

[1]: {% image_buster /assets/img/ai_copywriter/gpt3.png %} "GPT3"
Binary file added assets/img_archive/media_library_composers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img_archive/media_library_dalle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img_archive/media_library_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.