This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import torch | |
| import gc | |
| from diffusers import WanImageToVideoPipeline, WanTransformer3DModel | |
| from diffusers.utils import export_to_video, load_image | |
| from transformers import BitsAndBytesConfig | |
| from PIL import Image | |
| # --- FIX FOR COMPILE CRASHES ON WINDOWS/BNB --- | |
| # This prevents the "UserDefinedObjectVariable" error by falling back |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import torch | |
| import gc | |
| from diffusers import WanPipeline, WanTransformer3DModel, FlowMatchEulerDiscreteScheduler | |
| from diffusers.utils import export_to_video | |
| from transformers import BitsAndBytesConfig | |
| # ========================================== | |
| # 1. USER SETTINGS | |
| # ========================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import torch | |
| import gc | |
| from diffusers import WanPipeline, WanTransformer3DModel | |
| from diffusers.utils import export_to_video | |
| from transformers import BitsAndBytesConfig | |
| # ========================================== | |
| # 1. SETTINGS | |
| # ========================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import torch | |
| import gc | |
| from diffusers import WanImageToVideoPipeline, WanTransformer3DModel | |
| from diffusers.utils import export_to_video, load_image | |
| from transformers import BitsAndBytesConfig | |
| from PIL import Image | |
| PROMPT = "A cinematic shot of a white cat surfing on a wave, wearing sunglasses, sunny beach background, high quality, 4k" | |
| NEGATIVE_PROMPT = "low quality, bad hands, distorted, blur, motion artifacts" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bl_info = { | |
| "name": "AI Audio Generation Queue", | |
| "author": "Your Name (and contributors to the original code)", | |
| "version": (1, 0, 24), # No functional change for this issue, version kept | |
| "blender": (3, 4, 0), | |
| "location": "Video Sequence Editor > Sidebar (N-Panel) > AI Tools", | |
| "description": "Adds audio generation jobs to a queue, processes them asynchronously, and adds results to the VSE.", | |
| "warning": "Alpha version. Requires manual installation of AI model dependencies. Check console for errors.", | |
| "doc_url": "https://your-documentation-link-here.com", | |
| "category": "Sequencer", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ruff: noqa: F401, F821 | |
| # Above allows ruff to ignore F401: unused import (some imports are conditional) | |
| # F821: undefined name (bpy is defined when run in Blender) | |
| bl_info = { | |
| "name": "F5/E2 TTS Synthesis", # Restore original name | |
| "author": "Based on SWivid/F5-TTS Gradio Demo (Modified)", | |
| "version": (1, 0, 12), # Increment version for fixes | |
| "blender": (4, 1, 0), # Adjust Blender version if needed (current script aims for >=4.1) | |
| "location": "Sequence Editor > Sidebar > F5/E2 TTS", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bl_info = { | |
| "name": "VSE LUT to Curve Modifier", | |
| "blender": (3, 0, 0), | |
| "category": "Sequencer", | |
| "description": "Import .cube LUT and apply RGB curves with optional desaturation via Hue Correction", | |
| "author": "tintwotin", | |
| "version": (1, 10), | |
| "location": "Sequencer > Add > Effects > LUT (Cube File)", | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| from bpy.props import StringProperty | |
| class TEST_PT_layout_panel(bpy.types.Panel): | |
| bl_label = "VSE Strip Picker" | |
| bl_category = "Test Panel" | |
| bl_space_type = 'PROPERTIES' | |
| bl_region_type = 'WINDOW' | |
| bl_context = "scene" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import requests | |
| def debug_print(*args): | |
| print(*args) | |
| def fetch_video_result(file_id, api_key, output_file_name): | |
| debug_print("File ID:", file_id) | |
| debug_print("Out file name:", output_file_name) | |
| debug_print("---------------Video generated successfully, downloading now---------------") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| import subprocess | |
| import threading | |
| import re | |
| # Function to parse progress from subprocess output | |
| def parse_progress(line): | |
| """ | |
| Parses progress information from a line of output. |
NewerOlder