Upload Media File
atlas_upload_mediaUpload local media files to get temporary public URLs for use with Atlas Cloud AI generation tools like image-to-video models.
Instructions
Upload a local image or media file to Atlas Cloud and get a publicly accessible URL.
Use this tool when you need to provide an image URL to image-editing or image-to-video models, but only have a local file path.
Workflow:
Upload the local file with this tool to get a URL
Use the returned URL as the "image_url" parameter in atlas_generate_image, atlas_generate_video, or atlas_quick_generate
Supported file types: images (jpg, png, webp, etc.), videos, and other media files.
IMPORTANT: This upload is intended for temporary use with Atlas Cloud generation tasks only. Uploaded files may be cleaned up periodically. Do NOT use this as a permanent file hosting service. Abuse (e.g., bulk uploads unrelated to generation tasks) may result in API key suspension.
Args:
file_path (string, required): Absolute path to the local file to upload
Returns: The publicly accessible download URL of the uploaded file.
Examples:
file_path="/Users/me/photos/cat.jpg" -> uploads and returns a URL like "https://atlas-img.oss-accelerate-overseas.aliyuncs.com/media/xxx.jpg"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the local file to upload |