Creative / API Reference
creative_generate_image
Step 1 of the normal image-ad flow. Generate an image, show the preview in chat, then pass generated_asset_id to meta_create_image_ad or meta_ads_create_image_ad_from_media. For long runs, tell the user you are generating the image before calling the tool. Never use shell commands to base64 local files from this result.
This is a write tool: it generates image in your connected accounts. Claude asks you to confirm before it runs.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Generate image across my connected accounts for [prompt].
It takes 1 required and 5 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Prompt |
n | integer | No | N |
size | string | No | Size |
quality | string | No | Quality |
model | string | No | Model |
include_upload_bytes | boolean | No | Include Upload Bytes |