upload_reference_image
Upload a local PNG/JPEG from the configured directory to get an account-scoped reference_image_id for image-to-image or video first/last-frame tasks.
Instructions
Upload a user-authorized local PNG/JPEG for image-to-image or video first/last frames from the configured dedicated image directory to the original TopMediai upload service. May create a publicly retrievable OSS URL. Removes image metadata, limits size to 5 MiB, verifies login and returns an account-scoped reference_image_id. Upload requires a configured dedicated directory. Does not generate or debit credits; never automatically retry an uncertain upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path inside TOPMEDIAI_UPLOAD_ROOT. No network URLs, credentials, symlinks or files outside that directory. |