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/6608d3f7b5d0e44431c74b1a-v2";
const data = {
reference_style_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
4
5
{
"image_1": "image in URL Format",
"image_2": "image in URL Format",
"image_3": "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 Colorful-Animals workflow is a creative process using advanced image blending technology. It combines a 3D image of an animal with a colorful pattern to produce a vibrant, eye-catching result. This workflow leverages the power of the IP Adapter Canny XL to seamlessly merge images and bring artistic visions to life.
The Colorful-Animals process involves several stages to achieve the final blended image:
Image Input: Start by selecting a 3D image of the animal and the colorful pattern you want to use for blending. Ensure the images align in size and resolution for a smooth process.
IP Adapter Canny XL Utilization: The workflow utilizes the IP Adapter Canny XL, which processes the images to identify key features and ensures the colors blend naturally onto the animal's image.
Blending Process: The selected animal image is then merged with the colorful pattern, blending the two with precision, ensuring a harmonious and vibrant output.
Output Generation: The final image showcases a beautifully colored animal, intricately blended with the vibrant pattern.
Select Images: Choose a 3D image of your desired animal and a colorful pattern for blending.
Upload Images: Input the images into the IP Adapter Canny XL system. Ensure both images are optimized for blending.
Automatic Processing: Let the workflow blend the images, resulting in an artistic and vivid representation of the animal.
Review Output: Examine the output and make adjustments as needed, possibly by tweaking the input settings for a desired effect.
Artistic Creations: Use for art projects requiring unique and colorful animal designs.
Marketing and Branding: Develop vibrant visuals for marketing campaigns or brand logo designs featuring unique animal imagery.
Merchandise Design: Create eye-catching designs for clothing, accessories, or home decor featuring colorful animals.
Digital Content: Enhance digital content with creative animal images for websites, social media, or multimedia presentations.