abacusai.ad_template
Classes
Ad Template — a Studio ad format card (client-safe registry fields; recipes stay server-side). |
Module Contents
- class abacusai.ad_template.AdTemplate(client, slug=None, name=None, category=None, speaks=None, supportsAvatar=None, defaultDuration=None, defaultAspectRatio=None, cardOneLiner=None, description=None, exampleMedia=None)
Bases:
abacusai.return_class.AbstractApiClassAd Template — a Studio ad format card (client-safe registry fields; recipes stay server-side).
- Parameters:
client (ApiClient) – An authenticated API Client instance
slug (str) – Stable template identifier
name (str) – Display name
category (str) – Explore subtab (ugc, tiktok, commercial)
speaks (bool) – Whether the avatar speaks (voice/lip-sync formats)
supportsAvatar (bool) – Whether an avatar can be attached (some formats are product-only)
defaultDuration (int) – Suggested duration in seconds
defaultAspectRatio (str) – Suggested aspect ratio
cardOneLiner (str) – One-line pitch on the format card
description (str) – Gallery caption / display copy
exampleMedia (list) – CDN URLs of preview videos for the card
- slug = None
- name = None
- category = None
- speaks = None
- supports_avatar = None
- default_duration = None
- default_aspect_ratio = None
- card_one_liner = None
- description = None
- example_media = None
- deprecated_keys
- __repr__()