# Dynamic Image Generation

#### **Overview**

The Image Generation feature in Squarebox allows businesses to create **dynamic images** tailored to their customers. By leveraging user inputs or uploaded data (e.g., a CSV file), businesses can generate images for personalized campaigns, promotions, or operational needs. The tool offers two options:

1. **Standard**: Generate a single image with direct inputs.
2. **Targeted**: Generate multiple images by uploading a sheet containing variable data.

This feature simplifies creating marketing materials, event passes, ID cards, and more, ensuring scalability and efficiency.

Here is a **simple and clear** structure for the Image Generation section in Squarebox documentation. I’ve combined user inputs, clarified key components, and aligned content based on your expectations:

#### **Key Features**

* **Dynamic Image Generation**: Personalize images with placeholders for variables like customer names, product details, or promotional information.
* **Bulk Image Creation**: Upload a data sheet (CSV/Excel) to generate multiple images automatically.
* **Customizable Layouts**: Use pre-defined layouts with variable placeholders or create custom ones per your requirements.
* **High-Quality Output**: Export images in formats like PNG or JPEG for direct campaign use.
* **Seamless Integration**: Use generated images directly in campaigns or share them externally.   &#x20;

#### **Standard Image Generation**

**Use Case**: Generate a single personalized image using manual inputs.

**Steps:**

1. Navigate to the **Assets** section under Image Generation.
2. Click on **Create Asset**.
3. **Choose a Layout**: Select from available layouts or templates.
4. **Add Variables**:
   * Input relevant details manually (e.g., name, product type, location).
5. Click **Generate Image** to create the dynamic image.
6. Download or use the image directly in campaigns.

**Example**: Promote a used car model to a specific customer by adding their name, location, and car details.

<figure><img src="/files/TTBfEMdIc3cPRmD4DUk4" alt=""><figcaption></figcaption></figure>

***

#### **Targeted Image Generation**

**Use Case**: Generate multiple images by uploading a sheet containing variable data.

**Steps:**

1. Navigate to the **Assets** section under Image Generation.
2. Click on **Create Asset**.
3. **Choose a Layout**: Select a pre-defined layout that supports multiple variables.
4. **Upload Data Sheet**:
   * Upload a CSV/Excel file with columns matching the placeholders in the layout.
5. Click **Generate Asset**. The system will automatically create images for each row of data in the sheet.
6. Download the images in bulk or directly attach them to campaigns.

**Example**: Generate hundreds of personalized event passes with attendee names, seat numbers, and unique QR codes.

#### **Use Cases**

1. **Event Management**:
   * Generate attendee badges or passes with individual names and unique QR codes.
2. **Automobile Sales**:
   * Create personalized car promotions with details like make, model, price, and contact information.
3. **Real Estate Promotions**:
   * Share property availability banners with customer-specific details.
4. **Marketing Campaigns**:
   * Automate image creation for festive offers, product launches, or distributor-level promotions.
5. **Corporate ID Cards**:
   * Generate employee ID cards with names, designations, and photos.

***

####


---

# 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://squarebox-ai.gitbook.io/squarebox/media-library/dynamic-image-generation.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.
