get_image_by_hash
Fetch and visualize a Meta ad image by hash, useful when you have only the image_hash without an ad. Returns the image for visual analysis.
Instructions
Get, download, and visualize a Meta ad image by its hash.
Use this when you have an image_hash without an ad — e.g. the hash returned by upload_ad_image / bulk_upload_ad_images, or one referenced in a creative (object_story_spec.link_data.image_hash, asset_feed_spec images[].hash, etc.). To view the image of an existing ad, prefer get_ad_image(ad_id).
Args: account_id: Meta Ads account ID (act_XXXXXXXXX or bare numeric — both accepted) image_hash: Meta image hash access_token: Meta API access token (optional - will use cached token if not provided)
Returns: The image ready for direct visual analysis
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| image_hash | Yes | ||
| access_token | No |