Guides

Generate on-brand images and videos

Make an image or video sized for each platform, with your brand, and attach it to a post.

Images take about 40 seconds and videos one to three minutes. Both follow your brand profile (palette, type, audience) unless you pass brand: false.

  1. Generate

    tracee media generate-image \
      --prompt 'A laptop on an oak desk showing a clean analytics dashboard, soft morning light, the words "Live now"' \
      --platform linkedin --logo --wait 120

    platform sets the exact size and keeps text clear of the platform's own buttons: a LinkedIn post is 1080×1350, a Story 1080×1920, a YouTube thumbnail 1280×720. Write the prompt like an art director, and put any words that must appear in quotes.

  2. Follow it if it's still running

    tracee media generation <generation_id>

    Done, the answer has media_id and url. See Background jobs.

  3. Attach it

    tracee posts create --body "Live now." --channel linkedin --media <media_id>

Videos

tracee media generate-video \
  --prompt "Slow push-in on a laptop showing a live dashboard, soft office light, quiet keyboard sounds" \
  --platform tiktok --duration 8

Describe one continuous shot; video models can't write text. For the most on-brand clip, make an image of the opening shot first and pass it as --first-frame-media-id.

Edit an image

Pass earlier images as --reference-media-ids and say what to change: "same image, warmer light". Find library images with tracee media library --query dashboard.