Step 1: Upload Your Product Image
First, you need to upload your product image to the Gaana AI platform. Make aPOST request to the /upload-media/ endpoint:
Step 2: Create a Product
Next, create a product and associate the uploaded image with it. Make aPOST request to the /products/ endpoint:
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.your_concept_id and your_product_id with the IDs you received in the previous steps.