Skip to main content
This guide explains how to generate visuals for a single product using one product image.

Step 1: Upload Your Product Image

First, you need to upload your product image to the Gaana AI platform. Make a POST request to the /upload-media/ endpoint:
The API will respond with a URL for the uploaded image. Make a note of this URL.

Step 2: Create a Product

Next, create a product and associate the uploaded image with it. Make a POST request to the /products/ endpoint:
Replace your_uploaded_image_url with the URL you received in the previous step. The API will respond with the details of the newly created product, including its unique ID.

Step 3: Create a Concept

You also need a concept to define the creative direction for your visuals.

Step 4: Configure and Generate Media

Finally, create a media configuration to generate the visuals.
Replace your_concept_id and your_product_id with the IDs you received in the previous steps.