# GenerateBanners

GenerateBanners is an API-driven platform that allows users to create high-quality banners, images, and PDFs dynamically. It automates the design process by enabling users to customize templates, generate visuals programmatically, and streamline content creation. Ideal for marketing teams, e-commerce platforms, and branding purposes, GenerateBanners simplifies large-scale banner generation without manual design effort.

### **How to Integrate GenerateBanners with ZBrain Flow** <a href="#how-to-integrate-generatebanners-with-zbrain-flow" id="how-to-integrate-generatebanners-with-zbrain-flow"></a>

To seamlessly integrate GenerateBanners with ZBrain Flow, follow these steps:

1. Click the ‘+’ button in ZBrain Flow.
2. In the search bar, type "GenerateBanners" and select it from the available options.
3. Choose an action to begin the setup process.

### **How to Connect GenerateBanners to ZBrain Flow** <a href="#how-to-connect-generatebanners-to-zbrain-flow" id="how-to-connect-generatebanners-to-zbrain-flow"></a>

To establish a connection between GenerateBanners and ZBrain Flow:

1. **Enter a Connection Name** – Assign a recognizable name to your connection for easy identification.
2. **Enter the Public API Key** – Provide the API key required for authentication.
3. **Enter the Secret API Key** – Use the secret key for secure communication.
4. **To Get Your Public and Secret API Keys from GenerateBanners, Follow These Steps:**
   * **Log in to Your Account:**
     * Visit the [GenerateBanners website](https://chatgpt.com/c/67e107cc-3840-8009-a019-25cf1344f9bf#).
     * If you are not logged in, enter your credentials to access your account.
   * **Navigate to the Account Page:**
     * Once logged in, go to your account settings or API keys section.
   * **Locate Your API Keys:**
     * On the account page, you will find your public API key (starting with p\_) and secret API key (starting with s\_).
     * Copy both keys and store them securely for authentication.
5. Click ‘Save’ to finalize the setup.

Once the connection is established, ZBrain Flow can interact with GenerateBanners to automate template rendering and file generation.

### **Actions Available in ZBrain Flow** <a href="#actions-available-in-zbrain-flow" id="actions-available-in-zbrain-flow"></a>

#### **Render Template** <a href="#render-template" id="render-template"></a>

The Render Template action allows users to generate images or PDFs based on predefined templates. This enables businesses to automate marketing assets, personalized banners, and reports.

**Configuration Steps:**

1. **Select an Existing Connection or Create a New One** – Choose the connection with GenerateBanners or create a new one following the steps above.
2. **Select the Template** – Pick the predefined template from your GenerateBanners library.
3. **Select the File Type** – Choose the format in which you want the banner to be generated:
   * **Image (JPG)** – Standard image format suitable for web use.
   * **Image (PNG)** – High-quality image format with transparency support.
   * **Document (PDF)** – Printable document format ideal for reports and presentations.

Once configured, the template will be processed, and the output file will be available for download or further automation.

**Note:** Click *‘f’* to insert dynamic values for flexible configurations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/generatebanners.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
