Images
Description
Images module provides functionality to upload, retrieve, and manage images in the system.
Methods
create
Creates an image from a URL or file.
POST /images
Body
Name | Type | Required | Description |
---|---|---|---|
url | string | Yes | URL of the image to upload |
For more information, check sdk.images.create
get
Retrieves an image by its ID.
GET /images/:id
For more information, check sdk.images.get
getUrls
Retrieves URLs for multiple images by their IDs.
POST /images/urls
Body
Name | Type | Required | Description |
---|---|---|---|
ids | string[] | Yes | The image IDs to retrieve |
For more information, check sdk.images.getUrls