Skip to content

Instantly share code, notes, and snippets.

View JupyterJones's full-sized avatar

Jack Northrup JupyterJones

View GitHub Profile
@JupyterJones
JupyterJones / Comfy_MasterDirector.py
Created May 14, 2026 06:53
Comfy_MasterDirector is used to created guided Comfy mp4s generate_cliche_free_story with various random transitions
#!/usr/bin/env python3
import os
import time
import threading
import requests
import subprocess
import datetime
import traceback
import re
import random
@JupyterJones
JupyterJones / quickpose_lab384x512.py
Created May 13, 2026 02:59
Comfy_UI_for experimenting with poses 384x512 and 512x768 versions
""" quickpose_lab384x512.py
This issue happens because the browser doesn't know you've uploaded a new image
until the entire 6-minute render is finished and the page refreshes.
To fix this, I have added a "Pre-upload" feature. As soon as you select a pose
file, it is sent to the server and displayed in the "Pose Image" box instantly.
This confirms the app has the right pose before you commit to the 6-minute
render.
The Complete Fixed App
@JupyterJones
JupyterJones / README.md
Created April 6, 2026 16:55
An advanced Flask based Comfy graphic interface employing Ollama to enhance image prompts Creates videos

AI Director

AI Director is a real-time, interactive image-to-image (and text-to-image) sequence generator powered by ComfyUI. It allows you to "direct" an evolving AI-generated video by providing a base story and injecting live directions while the rendering is in progress.

Features

  • Interactive Control Room: A web-based UI to manage your AI film production.
  • Story-Driven Generation: Enter a long-form story to generate a sequence of frames.
  • Live Prompt Injection: Inject directions on-the-fly (e.g., "now it starts raining", "add a cinematic lens flare") without stopping the render.
  • Visual Feedback:
@JupyterJones
JupyterJones / SuperZoom.py
Created February 12, 2026 06:57
Super zoom images for video creation
import os
import numpy as np
import scipy.ndimage as nd
import PIL.Image
from scipy.signal import convolve2d
# ------------------------
# Setup
# ------------------------
os.makedirs("framez", exist_ok=True)
@JupyterJones
JupyterJones / createNjoin_mp4s.py
Created December 8, 2025 00:24
With this flask app you may create a video or join two existing videos
#!/usr/bin/env python3
import os
import uuid
import subprocess
import requests
from flask import Flask, request, send_from_directory
from werkzeug.utils import secure_filename
from icecream import ic
from flask import Flask, request, render_template_string
@JupyterJones
JupyterJones / join2videos.py
Created December 6, 2025 23:42
This is a Flask Application That can join two videos of multiplt video formats
from flask import Flask, request, render_template_string, send_from_directory, redirect
import os
import uuid
import subprocess
from icecream import ic
app = Flask(__name__)
PROJECT_DIR = "static/projects"
os.makedirs(PROJECT_DIR, exist_ok=True)
@JupyterJones
JupyterJones / FlaskArchitect_News_Assistant .py
Created August 28, 2025 04:00
Step into the future of news with our AI-powered News Narrator!
from flask import Flask, request, render_template_string, redirect, url_for
import sqlite3
import requests
from bs4 import BeautifulSoup
from datetime import datetime
import re, os
from icecream import ic
import chromadb
from chromadb.utils import embedding_functions
@JupyterJones
JupyterJones / head_image_movement.py
Created August 11, 2025 02:07
create subtle head movement jpg to mp4
import cv2
import dlib
import numpy as np
from icecream import ic
from moviepy.editor import ImageSequenceClip
from sys import argv
import sys
import os
"""
# Face Subtle Motion Video Generator
@JupyterJones
JupyterJones / README.md
Created July 2, 2025 11:21
Flask image morphing with music

🎭 Arcadian Face Morpher & Video Studio

A Flask-based multimedia tool powered by MoviePy, OpenCV, and Dlib for morphing faces, generating AI-enhanced video sequences, adding mood-based background music, and concatenating video clips into artistic content.

💡 Features

  • 🌀 Face Morphing: Upload two facial images and generate a smooth morph transition.
  • 🎶 Musical Morphs: Select a background music track to sync with the morph animation.
  • 🖼 Add Video Frame Overlay: Automatically embeds a glowing border to the final morph.
  • 🎞 Video Concatenation: Combine 4 separate video files into a single clip with optional music.
@JupyterJones
JupyterJones / Voice_Code_by_Phone.py
Created June 27, 2025 06:42
Voice Code by Phone
import os
import sqlite3
import re
import time
import uuid
import glob
from flask import Flask, render_template_string, request, url_for, session
from werkzeug.utils import secure_filename
from typing import Union