Create Product Campaign from Images
WorqHat AI Product Campaign Creator: Documentation
This document provides an overview of the WorqHat AI Product Campaign Generator, a Streamlit application designed to simplify the process of creating compelling marketing campaigns for new or existing products.
Purpose:
The application utilizes the WorqHat AI API to analyze images of your product,based on which it generates an end to end, comprehensive marketing campaign. This wraps up redundant work saving time for marketers and developers alike.
Key Features:
- Image Upload: Users can upload multiple images of their product, showcasing different angles or features.
- AI-Powered Analysis: The WorqHat AI API analyzes the uploaded images to identify key objects, features, colors, shapes, and other visual elements.
- Campaign Generation: Based on the analysis, the API generates a JSON response containing:
- Product Name (Heading): A suggested name for the product, inspired by the visual elements.
- Tagline (Subheading): A concise and memorable tagline highlighting the product's unique selling proposition.
- Marketing Campaign: A detailed campaign layout consisting of descriptions, benefits, use cases, and relevant hashtags..
- User-Friendly Display: The application presents the generated campaign content in a clear and organized format, making it easy to review and use.
Benefits:
- Time-Saving Automation: Automates the creation of marketing campaigns, freeing up time for other tasks.
- Data-Driven Insights: The image analysis provides valuable insights into the product, enabling more targeted and effective campaigns.
- Creative Inspiration: The generated campaign content can spark new ideas and inspire alternative marketing approaches.
- Consistent Quality: The API ensures consistent and high-quality output, regardless of the user's marketing experience.
How it Works:
- Image Upload: Users upload images of their product to the application.
- API Call: The application sends the images and a predefined request to the WorqHat AI API.
- Image Analysis: The API analyzes the images to identify relevant visual information.
- Campaign Generation: The API generates a JSON response containing the campaign elements.
- Display Results: The application displays the generated campaign content in a user-friendly format.
Procedure to follow:
- Upload Image/Images: You will be asked to upload images for the product idea you have in mind. You can either upload one or multiple images as per your requirement.
- API KEY: To use this example you will require an API Key which you can find on
https://app.worqhat.com/
. Enter the API Key you have received and press Send. - Sit back, Relax: As our AI comes up with an exceptional product campaign which you can directly forward to your friends or family whatsapp group to get first hand reviews and feedback.
Example Code Snippet:
def callapi(fileArray, api_key):
# ...
payload = {'data'=data
}
# ...
response = requests.request(
"POST", url, headers=headers, data=payload, files=fileArray)
# ...
if response.status_code == 200:
return response.json(), round(duration, 2)
else:
# ...
This code snippet demonstrates the core function that handles the API call, sending the uploaded images and a request to the WorqHat AI API. The API then processes the images and returns a JSON response containing the generated campaign content.
Conclusion:
The WorqHat AI Product Campaign Generator is a powerful tool for marketers and product developers. By leveraging the capabilities of the WorqHat AI API, it streamlines the process of creating effective and engaging marketing campaigns, saving time and effort while generating creative and data-driven content.
EndNote:
Keep pushing the boundaries with your ideas and ground-breaking innovations! We're here to power every dream, every idea - to make it realise it's full potential. WorqHat's here to make it happen.
Try it Yourself
Create your own Campaign at : - https://worqhatai-marketing-campaign.streamlit.app/
Checkout the Code at our GitHub: - https://github.com/WorqHat/worqhat-ai-examples/tree/main/Product_Campaign