dreamlayer_upload_image
Upload a local image file to use as a reference for editing, background removal, upscaling, or sprite animations. Returns an asset ID for reuse in subsequent image tasks.
Instructions
Use when an edit, background removal, upscale or sprite animation needs a local reference. Requires an absolute path to PNG, JPEG, WebP or supported camera RAW, up to 200 MB. Uploads that file and returns input_asset_id; starts no paid work. Reuse the asset ID for recovery. Not needed for text-to-image. If upload fails, fix the input or retry upload only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a PNG, JPEG, WEBP, or camera RAW. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| expires_at | No | ||
| input_asset_id | No |