PixelFlow Template

Relight Photos

Playground

Try the model in real time below.

207090f0-8e6f-4d3e-8e55-d350d35bcf1b.jpg selected

You can drop your own file here

output image


Pixelflow

This model is actually a pixelflow you can see the internal workings of the model here, and also clone and play around with it, just click the Run button on the right.


API

If you're looking for an API, here is a sample code in NodeJS to help you out.

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/667503d7b70cb6a02041bc7a-v8"; const data = { image_input: "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 6 { "relight_left": "image in URL Format", "relight_right": "image in URL Format", "relight_top": "image in URL Format", "relight_bottom": "image in URL Format" }

Attributes


image_inputimage*

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.

FEATURES

PixelFlow allows you to use all these features

Unlock the full potential of generative AI with Segmind. Create stunning visuals and innovative designs with total creative control. Take advantage of powerful development tools to automate processes and models, elevating your creative workflow.

Inferencing

Run generative AI models with minimal latencies and setup costs, optimizing resource use and speed.

Inferencing

Run generative AI models with minimal latencies and setup costs, optimizing resource use and speed.

Inferencing

Run generative AI models with minimal latencies and setup costs, optimizing resource use and speed.

Inferencing

Run generative AI models with minimal latencies and setup costs, optimizing resource use and speed.

F.A.Q.

Frequently Asked Questions

Take creative control today and thrive.

Start building with a free account or consult an expert for your Pro or Enterprise needs. Segmind's tools empower you to transform your creative visions into reality.

Pixelflow Banner