upload_image
Upload an image to the CDN using a public URL or base64 data. Returns a CDN URL required for generating photos, editing images, or creating videos.
Instructions
Upload an image to Photo AI Studio CDN. Returns a CDN URL needed by generate_photo, edit_image, and create_video tools. Accepts a public image URL or base64-encoded image data. Max 10MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | Public URL of the image to upload | |
| image_base64 | No | Base64-encoded image data (raw or data URI) |