fattly_generate_ad
Ad Studio: turns a product photo into a finished ad (20 credits). graphic = product alone in a styled scene; product = a creator holding it; service = a creator with no product. Pick templateId with fattly_list_ad_presets. Upload the product photo with fattly_upload_image first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | graphic = product only (needs productImageUrl). product = creator + product (needs productImageUrl AND a creator). service = creator only (needs prompt AND a creator). | |
| prompt | No | What the ad is about — REQUIRED for service mode. Any language; it is translated to English server-side. | |
| actorId | No | Id of an avatar you generated earlier on this account („My actors”). | |
| setting | No | Scene id from fattly_list_ad_presets (scenes). | |
| avatarId | No | Creator from the built-in roster (product/service modes). See fattly_list_ad_presets. | |
| avatarUrl | No | Your own creator photo as a fal URL (alternative to avatarId). | |
| unbranded | No | Keep the product free of invented logos/branding. | |
| templateId | No | Ad preset id from fattly_list_ad_presets. Must match the mode (graphic presets only in graphic mode, and vice versa). | |
| aspectRatio | No | Graphic mode only: 1:1, 2:3, 9:16 or 16:9 (default 1:1). Ignored in product/service modes, which are always 9:16. | |
| productImageUrl | No | Product photo as a fal URL — REQUIRED for graphic and product modes. Get one with fattly_upload_image. |