---
title: "Provide inputs and preview"
slug: "inputs-and-preview"
updated: 2026-03-24T08:23:39Z
published: 2026-03-24T08:23:39Z
canonical: "docs.akridata.ai/inputs-and-preview"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akridata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Provide inputs and preview

Providing inputs is a critical phase in the synthesis process to ensure the accuracy of the Dataset being created. In this phase, you can provide inputs about the [concept](/data-explorer/docs/datagen-introduction) to be synthesized and run a preview session.

Refer to the following video for step-by-step instructions on providing inputs with images and previewing the session.

[Embedded content](https://akridata-ai.portal.trainn.co/share/KCoI5EoeIMGY7yb4J92TFg/embed)

### Prerequisites

- At least six images to represent the concept with a bounding box drawn around the concept to be generated.
- If the generation must be restricted to a specific object/area within the image, then at least six images with a segment polygon identifying the location of generation.
- At least six background images covering the variety of backgrounds on which the concept must be generated. For optimal results, we recommend having 50 background images.

### Provide input and generate preview

1. In the **Generation Projects** screen, click the **View** button on the project card. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/generation-projects.jpg)
2. Under **Edit Draft**, enter a description for the concept. For example, “Cracks on Surface”. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/describe-concept(1).jpg)

> [!NOTE]
> Note that the spec version at this stage is marked with a pen icon, indicating that the Edit Draft is enabled for this version. In the stage, the session is marked as “Draft”. Once the sessions moves to the Preview stage, the session is marked as “Review”; and in the Generation stage, it is marked as “Accepted”.
3. Add concept images and mark the concept for synthesis.
  1. Click the **+** (plus) sign against the **Concept Images** section, and click **Image Repository**. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/image-repository-upload.jpg) You can also select **Query Catalog** to search for images that match specific conditions.
  2. Select the images that you want to provide as input and click **OK**. You can use the existing images or click **Upload** to add new images. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/image-repository(1).jpg)
  3. Double-click at a location on the image and draw a bounding box around the area of interest to mark the concept, then click **OK**. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/bounding-box.jpg) Repeat the step for all images to create the bounding box.
4. Add background images from the repository to create synthesized image samples.

> [!NOTE]
> Background images
> 
> It is recommended to add at least 50 images representing a variety of backgrounds for the synthesis to take place
  1. Click the **+** (plus) sign next to the Background Images section, and then click **Image Repository**. You can also select **Query Catalog** to search for images that match specific conditions.
  2. Select the required images for the background, and click **OK**. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/background-images(1).jpg)
5. Add generation canvas images and mark the locations where the concept must be generated. This is optional and needed if the intention is to synthesize the concept over a specific object/pattern in the image. You will require a minimum of 6 generation canvas images. Skip this step if the full image should be the target of generation.
  1. Click the **+** (plus) sign against the **Generate Canvas** section, and click **Image Repository**. You can also select **Query Catalog** to search for images that match specific conditions.
  2. Select the required images to generate the canvas, and click **OK**.
  3. Locate the area where the concept must be synthesized, and double-click to start drawing segment polygons to mark the locations, and click **OK**. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/generation-canvas.jpg) Press **Ctrl** on the keyboard and click to close the polygons. Ensure that all the images have the polygons.
6. Click **Save** to record all the images uploaded for synthesis.
7. Click **Run Preview**. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/run-preview-systhesis.jpg)
8. Select **Defect Blend** or **Defect Generate Blend**, as needed
9. Click **RUN PREVIEW** to create a preview session based on the selection. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/run-preview(2).jpg)

### Query Catalog for Concept, Canvas, and Background Images

While adding images for the Concept, Canvas, or Background, you can also search for images by specifying conditions in the Query Catalog.

1. In the project screen, click the **+** (plus) sign against the respective image section, and select **Query catalog**. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/query-catalog.jpg)
2. In the Query Catalog screen, select **Dataset** and then choose **Table/View**.
3. Click **Add Conditions**, if needed, and select the required Column, Operation, and Values. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/query-catalog-add-conditions(1).jpg)
4. Click **Submit Query**.
5. Review the results and click**‘Add’** to add these images to the respective section. ![](https://cdn.document360.io/3e9d4528-fbc6-4948-a804-8ee7068e7ac3/Images/Documentation/concept-images(2).jpg)

The images get added to the respective image section. You can follow the remaining steps as explained in the [Create a Datagen Project](https://docs.akridata.ai/docs/create-project) topic.

A dataset is an entity that specifies a selector on the contents of the container. A dataset can be of Image or Video type. The selector is a glob pattern like *.png
