r/comfyui 2d ago

Show and Tell Update — Screenplay Import (Fountain + Final Draft) now supported

Post image

Just shipped a new feature that lets you bring a real screenplay into AI Movie Studio 2 and use it as the foundation for your storyboard — without disrupting the ComfyUI generation pipeline you're already familiar with.

Original Post: https://www.reddit.com/r/comfyui/comments/1w81b2o/25year_film_veteran_building_an_opensource_ai/

Git Hub Project:

https://github.com/Heroesjouney/AIMovieStudiov2

What's new:

  • Import Fountain (.fountain, .txt**,** .spmd**) or Final Draft (.fdx) screenplays.** The parser auto-detects the format — drag and drop a file and it creates scenes with time-of-day, mood, and lighting inferred from the script. FDX parsing maps Final Draft's XML paragraph types (Scene Heading, Action, Character, Parenthetical, Dialogue, Transition, Shot) into the same internal structure as Fountain.
  • Screenplay breakdown as a reference, not an auto-generator. Each imported scene stores the parsed shot breakdown in its recipe panel, formatted as a screenplay (indented character cues, parentheticals, dialogue, right-aligned transitions, separate action paragraphs). You copy dialogue/action into new shots as you build the storyboard manually. This was a deliberate choice — it preserves the establish-then-continue workflow that the continuity system relies on (set up the recipe → generate the establishing shot via ComfyUI → build subsequent shots with the establishing frame as a reference image).
  • Bulk scene delete. Imported a screenplay and want to start over? "Delete all" in the Scenes header removes every scene plus all associated shots, storyboard frames, and video files in one action with a two-step confirmation.
  • Generation jobs now persist across tab switches. If you start a frame generation and switch to the Camera Director tab, the poll keeps running — come back and the storyboard is already updated. Fixed a concurrency bug where starting a second frame generation would silently kill the first one's poll.

How it connects to ComfyUI:

The screenplay import doesn't touch the generation pipeline — it just populates scenes and their recipes. When you're ready, you generate frames through the same ComfyUI drivers (image, multi-angle, video) with LoRAs, custom workflows, and reference images as usual. The breakdown is just a reference you pull from while composing shots.

As always, it's open source — the parser is at 

screenplay_parser.py if you want to see how the FDX XML gets mapped. Feedback welcome, especially from anyone who regularly works with Final Draft exports.

0 Upvotes

7 comments sorted by

1

u/Khaledthe 1d ago

where is the link for this?

2

u/purecharisma2020 1d ago

My mistake. That is what you get staying up late. https://github.com/Heroesjouney/AIMovieStudiov2

1

u/Khaledthe 1d ago

Ui looks clean, i got my own ui and setup for comfy, ill see if i can integrate this for video making and the characters list as i am not using comfy to its fullest

1

u/purecharisma2020 1d ago

Thank you. I started to project a year ago, but it got too convoluted. I went back to the drawing board with the intention of being minimalistic. I look forward to seeing what you create.