1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const axios = require('axios');
const api_key = "YOUR API KEY";
const url = "https://api.segmind.com/workflows/670f82abf552c2dfdc917429-v1";
const data = {
face_image: "publicly accessible image link"
};
axios.post(url, data, {
headers: {
'x-api-key': api_key,
'Content-Type': 'application/json'
}
}).then((response) => {
console.log(response.data);
});
1
2
3
4
5
{
"poll_url": "<base_url>/requests/<some_request_id>",
"request_id": "some_request_id",
"status": "QUEUED"
}
You can poll the above link to get the status and output of your request.
1
2
3
{
"output_image": "image in URL Format"
}
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
The AI Hoodie Sticker Maker is a streamlined tool that transforms any personal photo into a creative sticker of a person wearing a hoodie. This workflow uses advanced AI to enhance personalization, allowing for easy customization and output.
The workflow employs a series of interconnected nodes to achieve a seamless transformation from photo to sticker:
Image Input Node: The process begins with uploading the user's photo. This node accepts the initial image, readying it for processing.
Image Resize Node: The uploaded image is resized to meet the requirements of the sticker format, ensuring consistency and quality for subsequent steps.
PuLD Node: In this stage, a specific text prompt such as "Cartoon sticker style image of a person, hoodie" guides the AI to conceptualize the desired output style.
Clarity Upscaler Node: Enhances the image quality by refining details, providing a polished final look that is suitable for sticker format.
Output Node: The final sticker, featuring the person in a hoodie, is generated and ready for use or download.
Upload a Photo: Begin by inputting your facial photo into the workflow.
Enter a Text Prompt: Provide a prompt, like "Cartoon sticker style image of a person, hoodie," to specify the desired sticker style.
Automatic Generation: The AI processes the inputs and generates a high-quality sticker image.
Social Media: Create unique avatar stickers for enhancing social media presence.
Merchandise Design: Use the tool for developing personalized stickers for merchandise or promotional material.
Gifts and Personal Use: Craft custom gifts or personal mementos with a creative twist.
The AI Hoodie Sticker Maker simplifies the process of creating custom stickers, offering users an easy and intuitive way to express creativity.