upload_klaviyo_image
Upload an image to Klaviyo
Description
Put a picture into the brand's Klaviyo IMAGE LIBRARY for use in emails: a Hermoso render or Library id (list_library gives L0, L1…), a Hermoso link, an upload_file URL, or a public https image link (Klaviyo fetches an outside link itself). Klaviyo takes JPEG, PNG or GIF up to 5 MB, so another format or a bigger file is converted to a JPEG first; a video is refused. Returns Klaviyo's own image row (id and hosted URL). create_klaviyo_template uploads its image itself, so call this only to stock the library. Free. Needs Klaviyo connected (Connectors > Klaviyo, or connect_connector with a private API key).
Parameters
| Parameter | Type | Description |
|---|---|---|
imagerequired | string | a Library id (L0), a Hermoso or upload_file URL, or a public https image URL |
name | string | |
hidden | boolean | keep it out of the visible asset library |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/upload_klaviyo_image.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upload_klaviyo_image","arguments":{"image":"<string>"}}}
CLI
hermoso call upload_klaviyo_image --json '{"image":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_libraryList libraryupload_fileUpload a local file -> durable public URLcreate_klaviyo_templateCreate a Klaviyo email templateconnect_connectorConnect a paste-a-key accountlist_klaviyo_imagesList Klaviyo imageslist_klaviyo_templatesList Klaviyo templatesupdate_klaviyo_templateUpdate a Klaviyo templatelist_klaviyo_flowsList Klaviyo flowsdelete_klaviyo_templateDelete a Klaviyo templatelist_klaviyo_campaignsList Klaviyo campaigns