Tags in Flame with AI

After the talk about Tags during the Reverse User Group this past Sunday, I had an idea to use AI to create Tags in flame.

I have a simple python script that exports a still image from your clip, sends it to claude, and it sends back descriptive tags that get injected into the clip in Flame.

I don’t exactly have a concrete use for this but I thought I would see if anyone out there thought it could be useful.

9 Likes

Here is the current script. Some things to note in the CONFIG area:

  • You need an Anthropic API key or replace it with your own image model
  • You need to point JPG_PRESET_PATH to a Flame Export Preset (JPEG, PNG, etc)
  • Replace the POSTER_FRAMES_PATH with the path to your own save location (temp or associated with your project).
    A log file will also be saved next to the JPG export for troubleshooting and to see how much API tokens the process cost.

_BB_ai_clip_tagger_v001.py (8.3 KB)

2 Likes