Skip to main content

Image Output

The Image Output component displays image data that is received from previous steps in your workflow. It's essential for visualizing generated or processed images within your application.

Credit Cost

Free

Usage

The Image Output component has a single input handle that accepts image data from previous components. When an image is received, it will be displayed in the interface or returned as a URL in the API response. If no data is received, the output will not appear in the UI or API response.

Variable Handling

The Image Output component will only accept a single variable of type 'image'. It will output the image value of the variable automatically, without any additional configuration.

Properties

Identifier

API Response

When using the Image Output component through the API, the output will be included as a URL pointing to the generated or processed image.

Single Output Example

For a workflow with one Image Output component (identifier: "Generated Image"):

{
"output": {
"Generated Image": "https://api.arkai.ai/outputs/generated-image.jpg"
}
}

Multiple Outputs Example

For a workflow with multiple Image Output components:

{
"output": {
"Thumbnail": "https://api.arkai.ai/outputs/thumbnail.jpg",
"Full Resolution": "https://api.arkai.ai/outputs/full-res.jpg",
"Preview": "https://api.arkai.ai/outputs/preview.jpg"
}
}