An illustrated PDF report
A model writes the report, an image model makes its cover picture, and the PDF tool puts both into one downloadable file.
In this lesson
- Two parallel branches: text and image
- Placing the picture in the document with {{image1}}
- A downloadable PDF output
Build it yourself
This workflow is created in your account and opened in the editor, where you can change and run it.
Sample input to run it with
Solar energy in Iran
The nodes in this workflow
Report topic
topic
What the report is about; it is also the PDF’s title.
Report writer
GPT mini
Writes the report in Markdown with headings, lists and a table, and marks the picture’s place with {{image1}}.
Text template
{{topic}}
Builds the picture description from the topic.
Generate image
1536×1024
Makes the report’s cover picture from the description.
Make PDF file
Vazirmatn, right-to-left
Lays out the Markdown and puts the picture where {{image1}} is.
PDF report
report
Returns the result under this key in the API response and in chat.