Image Input
The Image Input component allows you to upload and process images within your workflow. It's a versatile component that enables visual data processing and analysis tasks.
Credit Cost
Free
Usage
The Image Input component has a single output handle that passes along the uploaded image data. When a user provides an image through the interface or API, that image data flows through the output handle to the next connected component. If no image is provided, the component will output empty data.
Properties
Identifier
- Type: text
- Description: The identifier of the input component. See Input/Output Identifiers for more details.
Input Order
- Type: number
- Description: The order in which the image upload field will appear in the playground UI. Lower values appear first.
API Usage
When using the Image Input component through the API, provide a public URL where the image is hosted.
Example
For a workflow with an Image Input component (identifier: "Profile Picture"):
{
"input": {
"Profile Picture": "https://example.com/images/profile.jpg"
}
}