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); });
Response
application/json
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.

Response
application/json
1 2 3 4 5 { "image_1": "image in URL Format", "image_2": "image in URL Format", "image_3": "image in URL Format" }

Attributes


reference_style_imageimage*

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.

Colorful-Animals

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.

How the Colorful-Animals Workflow Works

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.

How to Use the Colorful-Animals Workflow

  1. Select Images: Choose a 3D image of your desired animal and a colorful pattern for blending.

  2. Upload Images: Input the images into the IP Adapter Canny XL system. Ensure both images are optimized for blending.

  3. Automatic Processing: Let the workflow blend the images, resulting in an artistic and vivid representation of the animal.

  4. Review Output: Examine the output and make adjustments as needed, possibly by tweaking the input settings for a desired effect.

Use Cases

  • 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.