Take over the tools of the other projects
AquaNova, AquaNovaAndroid, Atlas Legends, TinyWold and XP-Battleship now use ComfyGen instead of their own copies. Added from them, with paths taken from the project's config: generate_mesh (Hunyuan3D), mesh_prep, trim, largest, uncut, level. generate.py defaults to the "prompts" module; generate_audio and level honour AUDIO_SUBDIR (Atlas Legends keeps its tracks in output/music). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Music + SFX generation via ComfyUI's Stable Audio pipeline (checkpoint
|
||||
# stable_audio_3_medium_base.safetensors). Same server as generate.py.
|
||||
# Results land in output/audio/. Usage:
|
||||
# python generate_audio.py # everything in audio_life.py
|
||||
# Results land in output/<AUDIO_SUBDIR>/ (default "audio"). Usage:
|
||||
# python generate_audio.py # everything in the project's AUDIO_MODULE
|
||||
# python generate_audio.py sfx_click # single entry
|
||||
import json
|
||||
import os
|
||||
@@ -15,13 +15,13 @@ import _bootstrap # Projektordner (config.py, Listen) vor allen anderen Modulen
|
||||
import config
|
||||
|
||||
HOST = "http://127.0.0.1:8188"
|
||||
OUT_DIR = os.path.join(config.OUTPUT_DIR, "audio")
|
||||
OUT_DIR = os.path.join(config.OUTPUT_DIR, getattr(config, "AUDIO_SUBDIR", "audio"))
|
||||
CLIP_NAME = "t5gemma_b_b_ul2.safetensors"
|
||||
|
||||
import importlib
|
||||
|
||||
|
||||
# Die Clip-Liste dieses Spiels: (name, prompt, seconds, negative) — siehe audio_life.py
|
||||
# Die Clip-Liste des Projekts: (name, prompt, seconds, negative) — config.AUDIO_MODULE
|
||||
CLIPS = importlib.import_module(getattr(config, "AUDIO_MODULE", "audio_life")).CLIPS
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user