|
|
--- |
|
|
sidebar_position: 1 |
|
|
--- |
|
|
|
|
|
import Highlight from '@site/src/components/Highlight'; |
|
|
import Showcase from '@site/src/components/Showcase'; |
|
|
|
|
|
# Piper in Action |
|
|
|
|
|
Let's build your first AI pipeline **in less than 5 minutes** |
|
|
|
|
|
Just in 5 minutes using `Chat GPT` and `Flux` you will create unique AI pipeline for generating **Picture of the Day!** |
|
|
|
|
|
`Chat GPT` will retrieve latest world news and prepare prompt for `Flux` |
|
|
|
|
|
`Flux` will generate 4 images what describe current day. |
|
|
|
|
|
## Getting Started |
|
|
|
|
|
Before make sure you have Piper set up in one of the following ways: |
|
|
|
|
|
* [Self-hosted Piper](https://github.com/orgs/My-Piper/repositories) at your server |
|
|
* [Piper Cloud](https://app.piper.my/en/signup) <Highlight color="#25c2a0">optimal</Highlight> |
|
|
* Piper at your laptop <Highlight color="silver">soon</Highlight> |
|
|
|
|
|
## Creating a project |
|
|
|
|
|
At application menu go `Pipelines` → `Create` |
|
|
|
|
|
<Showcase> |
|
|
 |
|
|
</Showcase> |
|
|
|
|
|
In `Design` section rename project to `Picture of the Day` |
|
|
|
|
|
<Showcase> |
|
|
 |
|
|
</Showcase> |
|
|
|
|
|
Back to `Pipeline` section. |
|
|
|
|
|
## Adding nodes |
|
|
|
|
|
Add node `Ask Chat GPT` into the canvas. |
|
|
|
|
|
Press at node and put question for Chat GPT: |
|
|
|
|
|
``` |
|
|
Chat GPT, please: |
|
|
1. Retrieve latest world news to today. |
|
|
2. Prepare prompt for Flux to generate picture - Picture of the Day. |
|
|
``` |
|
|
|
|
|
|