Upload Meta Image
upload_meta_imageUploads an image creative to Meta and returns its image_hash — reusable across ads. Give ONE of: object_story_id (an existing Page post — its image is reused, id from list_meta_page_posts), image_url (public link), or image_base64 (the file itself, e.g. one the user dropped into the chat; a data: prefix is accepted). JPEG/PNG/GIF/WebP, max 8MB. Prefer object_story_id for a post's own image: Facebook's CDN links are signed and short-lived, so a link copied earlier in the chat can come back 403 — with the post id the fresh link is resolved server-side. Pass the returned image_hash to create_meta_link_ad / create_meta_video_ad / create_meta_carousel_ad.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | ||
| account_id | Yes | ||
| image_base64 | No | ||
| object_story_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||