Upload an image
upload_imageUpload an image to the Photo AI Studio CDN and get back a URL. generate_photo, edit_image, and create_video all take CDN URLs, so start here. Accepts a public image URL or base64 data, up to 10 MB.
Requires a connected Photo AI Studio account. Calling this tool starts the sign-in flow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_image"
}
}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 as a data URI. Use this when the image is not already on the web. |