# Apply Brand Logo with projectId

Use the [brand logo infographic recipe](https://docs.autocontentapi.com/quick-start/infographics/brand-with-project-id) in Python. `projectId` pulls your saved brand package (logos) into the generated infographic.

```python
# pip install requests
import os
import requests


def main() -> None:
    token = os.environ.get("AUTOCONTENT_TOKEN", "YOUR_API_TOKEN")
    endpoint = "https://api.autocontentapi.com/content/Create"

    payload = {
        "outputType": "infographic",
        "projects": ["YOUR_PROJECT_ID"],
        "topic": "Key AI safety principles for enterprise teams",
        "text": "Keep it board-friendly with three headline callouts, a stat block, and a footer CTA.",
        "infographicOrientation": "portrait",
        "infographicDetail": "standard",
    }

    response = requests.post(
        endpoint,
        headers={
            "Authorization": f"Bearer {token}",
            "Content-Type": "application/json",
            "Accept": "application/json",
        },
        json=payload,
        timeout=30,
    )
    response.raise_for_status()
    print("Infographic request accepted:", response.json())


if __name__ == "__main__":
    main()
```

Set `YOUR_API_TOKEN` (or `AUTOCONTENT_TOKEN`) and `YOUR_PROJECT_ID` before running.
