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”). | |
| consent | No | REQUIRED (true) when you pass avatarUrl (your own creator photo). Must be true. By setting it you confirm that you have the rights to, and the consent of, every person who is visible or audible in the materials you provide. | |
| 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). Using a photo of a real person requires consent: true. | |
| 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. |