Skip to main content

Python SDK for Creative Tagger — structured creative intelligence API

Project description

Creative Tagger Python SDK

Python client for Creative Tagger — structured creative intelligence API for performance marketing.

Analyze any ad creative (video, image, carousel, landing page, email) and get back structured classification across 28 taxonomy dimensions.

Install

pip install creative-tagger

Quick Start

from creative_tagger import CreativeTagger

ct = CreativeTagger(api_key="ct_...")

# Analyze a video ad
result = ct.analyze("./ad_video.mp4", brand="Brand")
print(result.naming.default)
# → BRAND_UGC_Creator_LoFi_VOMus-Pop-Conv_ShopNow_9x16_30s_V1

print(result.visual.hook_type)    # → UGC
print(result.messaging_angle)     # → ProbSol
print(result.creative_type)       # → Testimonial
print(result.production_type)     # → LoFiUGC
print(result.offer_type)          # → PctOff

# Analyze a landing page
result = ct.analyze_url("https://example.com/lp", brand="BrandX")
print(result.visual_hierarchy)    # → HeroFocus

# Analyze email HTML
result = ct.analyze_email(html_string, brand="BrandX")
print(result.email_structure)     # → SingleCTA

Batch Analysis

results = ct.analyze_batch(["ad1.mp4", "ad2.jpg", "ad3.png"], brand="Brand")

# Export to CSV-ready rows
import csv
rows = [r.to_row() for r in results]

Async Support

result = await ct.analyze_async("./ad.mp4", brand="Brand")

Local Development

Point to a local Creative Tagger API:

ct = CreativeTagger(base_url="http://localhost:8000")

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

creative_tagger-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

creative_tagger-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file creative_tagger-0.1.0.tar.gz.

File metadata

  • Download URL: creative_tagger-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for creative_tagger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c3a3befe43fbd88699e6bf0e5ab3baecd4e4a15f356e751e3359da57d7388084
MD5 260ac23a45f5f07d7ba5ef1fd5be984c
BLAKE2b-256 69cf3284ff077c599c06fb04a153deec55081aa6c063d761070ec7944e64c9eb

See more details on using hashes here.

File details

Details for the file creative_tagger-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for creative_tagger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34ef4ce6aed40519af5c63ada4cf60cebd8d2a8bc181bad3c3f864012b903d51
MD5 674c85b6ce6d20a37c333c1b59926186
BLAKE2b-256 08f0442728f9cf5cae1381e129d6778de81efb4819fd5c6f98cf141b6421fb9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page