From 54d7271abce7a54fa845690cbf52ee046b363243 Mon Sep 17 00:00:00 2001 From: puke <1129090915@qq.com> Date: Fri, 7 Nov 2025 16:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=A3=E7=A0=81=E7=89=88?= =?UTF-8?q?=E6=9D=83=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/__init__.py | 12 ++++++++++++ api/app.py | 12 ++++++++++++ api/config.py | 12 ++++++++++++ api/dependencies.py | 12 ++++++++++++ api/routers/__init__.py | 12 ++++++++++++ api/routers/content.py | 12 ++++++++++++ api/routers/files.py | 12 ++++++++++++ api/routers/frame.py | 12 ++++++++++++ api/routers/health.py | 12 ++++++++++++ api/routers/image.py | 12 ++++++++++++ api/routers/llm.py | 12 ++++++++++++ api/routers/resources.py | 12 ++++++++++++ api/routers/tasks.py | 12 ++++++++++++ api/routers/tts.py | 12 ++++++++++++ api/routers/video.py | 12 ++++++++++++ api/schemas/__init__.py | 12 ++++++++++++ api/schemas/base.py | 12 ++++++++++++ api/schemas/content.py | 12 ++++++++++++ api/schemas/frame.py | 12 ++++++++++++ api/schemas/image.py | 12 ++++++++++++ api/schemas/llm.py | 12 ++++++++++++ api/schemas/resources.py | 12 ++++++++++++ api/schemas/tts.py | 12 ++++++++++++ api/schemas/video.py | 12 ++++++++++++ api/tasks/__init__.py | 12 ++++++++++++ api/tasks/manager.py | 12 ++++++++++++ api/tasks/models.py | 12 ++++++++++++ pixelle_video/__init__.py | 12 ++++++++++++ pixelle_video/config/__init__.py | 12 ++++++++++++ pixelle_video/config/loader.py | 12 ++++++++++++ pixelle_video/config/manager.py | 12 ++++++++++++ pixelle_video/config/schema.py | 12 ++++++++++++ pixelle_video/llm_presets.py | 12 ++++++++++++ pixelle_video/models/progress.py | 12 ++++++++++++ pixelle_video/models/storyboard.py | 12 ++++++++++++ pixelle_video/pipelines/__init__.py | 12 ++++++++++++ pixelle_video/pipelines/base.py | 12 ++++++++++++ pixelle_video/pipelines/custom.py | 12 ++++++++++++ pixelle_video/pipelines/standard.py | 12 ++++++++++++ pixelle_video/prompts/__init__.py | 12 ++++++++++++ pixelle_video/prompts/content_narration.py | 12 ++++++++++++ pixelle_video/prompts/image_generation.py | 12 ++++++++++++ pixelle_video/prompts/style_conversion.py | 12 ++++++++++++ pixelle_video/prompts/title_generation.py | 12 ++++++++++++ pixelle_video/prompts/topic_narration.py | 12 ++++++++++++ pixelle_video/service.py | 12 ++++++++++++ pixelle_video/services/__init__.py | 12 ++++++++++++ pixelle_video/services/comfy_base_service.py | 12 ++++++++++++ pixelle_video/services/frame_html.py | 12 ++++++++++++ pixelle_video/services/frame_processor.py | 12 ++++++++++++ pixelle_video/services/image.py | 12 ++++++++++++ pixelle_video/services/llm_service.py | 12 ++++++++++++ pixelle_video/services/tts_service.py | 12 ++++++++++++ pixelle_video/services/video.py | 12 ++++++++++++ pixelle_video/tts_voices.py | 12 ++++++++++++ pixelle_video/utils/__init__.py | 12 ++++++++++++ pixelle_video/utils/content_generators.py | 12 ++++++++++++ pixelle_video/utils/os_util.py | 12 ++++++++++++ pixelle_video/utils/prompt_helper.py | 12 ++++++++++++ pixelle_video/utils/template_util.py | 12 ++++++++++++ pixelle_video/utils/tts_util.py | 12 ++++++++++++ web/app.py | 12 ++++++++++++ web/i18n/__init__.py | 12 ++++++++++++ 63 files changed, 756 insertions(+) diff --git a/api/__init__.py b/api/__init__.py index bee1cdf..c4b6ec6 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video API Layer diff --git a/api/app.py b/api/app.py index 5919917..f747a3a 100644 --- a/api/app.py +++ b/api/app.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video FastAPI Application diff --git a/api/config.py b/api/config.py index 179ed82..bcb4eb2 100644 --- a/api/config.py +++ b/api/config.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ API Configuration """ diff --git a/api/dependencies.py b/api/dependencies.py index 3976849..41fb14b 100644 --- a/api/dependencies.py +++ b/api/dependencies.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ FastAPI Dependencies diff --git a/api/routers/__init__.py b/api/routers/__init__.py index 632949b..d7951d8 100644 --- a/api/routers/__init__.py +++ b/api/routers/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ API Routers """ diff --git a/api/routers/content.py b/api/routers/content.py index fec51f8..269d519 100644 --- a/api/routers/content.py +++ b/api/routers/content.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Content generation endpoints diff --git a/api/routers/files.py b/api/routers/files.py index 474e71f..31d7d3a 100644 --- a/api/routers/files.py +++ b/api/routers/files.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ File service endpoints diff --git a/api/routers/frame.py b/api/routers/frame.py index ba54fca..4421e1b 100644 --- a/api/routers/frame.py +++ b/api/routers/frame.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Frame/Template rendering endpoints """ diff --git a/api/routers/health.py b/api/routers/health.py index b215300..10a8001 100644 --- a/api/routers/health.py +++ b/api/routers/health.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Health check and system info endpoints """ diff --git a/api/routers/image.py b/api/routers/image.py index 172fafe..92f23b1 100644 --- a/api/routers/image.py +++ b/api/routers/image.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Image generation endpoints """ diff --git a/api/routers/llm.py b/api/routers/llm.py index 205f7f4..4eb7f2c 100644 --- a/api/routers/llm.py +++ b/api/routers/llm.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ LLM (Large Language Model) endpoints """ diff --git a/api/routers/resources.py b/api/routers/resources.py index ffc14ae..ff91c28 100644 --- a/api/routers/resources.py +++ b/api/routers/resources.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Resource discovery endpoints diff --git a/api/routers/tasks.py b/api/routers/tasks.py index 1bbebf4..86e0db5 100644 --- a/api/routers/tasks.py +++ b/api/routers/tasks.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Task management endpoints diff --git a/api/routers/tts.py b/api/routers/tts.py index 2201fa8..7e3aa49 100644 --- a/api/routers/tts.py +++ b/api/routers/tts.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ TTS (Text-to-Speech) endpoints """ diff --git a/api/routers/video.py b/api/routers/video.py index ea81f03..e7a47cd 100644 --- a/api/routers/video.py +++ b/api/routers/video.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Video generation endpoints diff --git a/api/schemas/__init__.py b/api/schemas/__init__.py index b59b5ae..3968df8 100644 --- a/api/schemas/__init__.py +++ b/api/schemas/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ API Schemas (Pydantic models) """ diff --git a/api/schemas/base.py b/api/schemas/base.py index 2d83ea4..b73e292 100644 --- a/api/schemas/base.py +++ b/api/schemas/base.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Base schemas """ diff --git a/api/schemas/content.py b/api/schemas/content.py index b8c2e4a..4b6138b 100644 --- a/api/schemas/content.py +++ b/api/schemas/content.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Content generation API schemas """ diff --git a/api/schemas/frame.py b/api/schemas/frame.py index 671633e..f8b2c3c 100644 --- a/api/schemas/frame.py +++ b/api/schemas/frame.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Frame/Template rendering API schemas """ diff --git a/api/schemas/image.py b/api/schemas/image.py index f9ae207..f1bc761 100644 --- a/api/schemas/image.py +++ b/api/schemas/image.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Image generation API schemas """ diff --git a/api/schemas/llm.py b/api/schemas/llm.py index bc9ff2b..5c4ed5e 100644 --- a/api/schemas/llm.py +++ b/api/schemas/llm.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ LLM API schemas """ diff --git a/api/schemas/resources.py b/api/schemas/resources.py index 3c63714..37deb80 100644 --- a/api/schemas/resources.py +++ b/api/schemas/resources.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Resource discovery API schemas """ diff --git a/api/schemas/tts.py b/api/schemas/tts.py index 41dce9a..760f1b9 100644 --- a/api/schemas/tts.py +++ b/api/schemas/tts.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ TTS API schemas """ diff --git a/api/schemas/video.py b/api/schemas/video.py index d74240c..93070f9 100644 --- a/api/schemas/video.py +++ b/api/schemas/video.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Video generation API schemas """ diff --git a/api/tasks/__init__.py b/api/tasks/__init__.py index 4c4d33e..cb05f78 100644 --- a/api/tasks/__init__.py +++ b/api/tasks/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Task management for async operations """ diff --git a/api/tasks/manager.py b/api/tasks/manager.py index 291f30a..c33c7c0 100644 --- a/api/tasks/manager.py +++ b/api/tasks/manager.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Task Manager diff --git a/api/tasks/models.py b/api/tasks/models.py index 53574a8..d73e735 100644 --- a/api/tasks/models.py +++ b/api/tasks/models.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Task data models """ diff --git a/pixelle_video/__init__.py b/pixelle_video/__init__.py index 145afbb..5348971 100644 --- a/pixelle_video/__init__.py +++ b/pixelle_video/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video - AI-powered video generator diff --git a/pixelle_video/config/__init__.py b/pixelle_video/config/__init__.py index 06715dc..b61793a 100644 --- a/pixelle_video/config/__init__.py +++ b/pixelle_video/config/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video Configuration System diff --git a/pixelle_video/config/loader.py b/pixelle_video/config/loader.py index 3d40940..ed392cc 100644 --- a/pixelle_video/config/loader.py +++ b/pixelle_video/config/loader.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Configuration loader - Pure YAML diff --git a/pixelle_video/config/manager.py b/pixelle_video/config/manager.py index 597e160..1b0ef1b 100644 --- a/pixelle_video/config/manager.py +++ b/pixelle_video/config/manager.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Configuration Manager - Singleton pattern diff --git a/pixelle_video/config/schema.py b/pixelle_video/config/schema.py index cae6b99..4a84dac 100644 --- a/pixelle_video/config/schema.py +++ b/pixelle_video/config/schema.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Configuration schema with Pydantic models diff --git a/pixelle_video/llm_presets.py b/pixelle_video/llm_presets.py index f5cb107..c746b1a 100644 --- a/pixelle_video/llm_presets.py +++ b/pixelle_video/llm_presets.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ LLM Presets - Predefined configurations for popular LLM providers diff --git a/pixelle_video/models/progress.py b/pixelle_video/models/progress.py index 7a0e6e1..1d0d649 100644 --- a/pixelle_video/models/progress.py +++ b/pixelle_video/models/progress.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Progress event models for video generation diff --git a/pixelle_video/models/storyboard.py b/pixelle_video/models/storyboard.py index 1fd7f68..6ef3f7d 100644 --- a/pixelle_video/models/storyboard.py +++ b/pixelle_video/models/storyboard.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Storyboard data models for video generation """ diff --git a/pixelle_video/pipelines/__init__.py b/pixelle_video/pipelines/__init__.py index 5f9359f..39ba687 100644 --- a/pixelle_video/pipelines/__init__.py +++ b/pixelle_video/pipelines/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video Pipelines diff --git a/pixelle_video/pipelines/base.py b/pixelle_video/pipelines/base.py index 75f704a..59493cd 100644 --- a/pixelle_video/pipelines/base.py +++ b/pixelle_video/pipelines/base.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Base Pipeline for Video Generation diff --git a/pixelle_video/pipelines/custom.py b/pixelle_video/pipelines/custom.py index 72302ad..e1779c4 100644 --- a/pixelle_video/pipelines/custom.py +++ b/pixelle_video/pipelines/custom.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Custom Video Generation Pipeline diff --git a/pixelle_video/pipelines/standard.py b/pixelle_video/pipelines/standard.py index 72a88e4..44af54c 100644 --- a/pixelle_video/pipelines/standard.py +++ b/pixelle_video/pipelines/standard.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Standard Video Generation Pipeline diff --git a/pixelle_video/prompts/__init__.py b/pixelle_video/prompts/__init__.py index df4cafb..4e1998f 100644 --- a/pixelle_video/prompts/__init__.py +++ b/pixelle_video/prompts/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Prompts package diff --git a/pixelle_video/prompts/content_narration.py b/pixelle_video/prompts/content_narration.py index 8e1611a..6271bee 100644 --- a/pixelle_video/prompts/content_narration.py +++ b/pixelle_video/prompts/content_narration.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Content narration generation prompt diff --git a/pixelle_video/prompts/image_generation.py b/pixelle_video/prompts/image_generation.py index 8dbdf6b..9e763d4 100644 --- a/pixelle_video/prompts/image_generation.py +++ b/pixelle_video/prompts/image_generation.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Image prompt generation template diff --git a/pixelle_video/prompts/style_conversion.py b/pixelle_video/prompts/style_conversion.py index fd6eadf..215fa0e 100644 --- a/pixelle_video/prompts/style_conversion.py +++ b/pixelle_video/prompts/style_conversion.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Style conversion prompt diff --git a/pixelle_video/prompts/title_generation.py b/pixelle_video/prompts/title_generation.py index 13ae795..751681d 100644 --- a/pixelle_video/prompts/title_generation.py +++ b/pixelle_video/prompts/title_generation.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Title generation prompt diff --git a/pixelle_video/prompts/topic_narration.py b/pixelle_video/prompts/topic_narration.py index e9fba8b..3a956ce 100644 --- a/pixelle_video/prompts/topic_narration.py +++ b/pixelle_video/prompts/topic_narration.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Topic narration generation prompt diff --git a/pixelle_video/service.py b/pixelle_video/service.py index 8ccfe17..5cdae0e 100644 --- a/pixelle_video/service.py +++ b/pixelle_video/service.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video Core - Service Layer diff --git a/pixelle_video/services/__init__.py b/pixelle_video/services/__init__.py index 70dbfc7..fd4d282 100644 --- a/pixelle_video/services/__init__.py +++ b/pixelle_video/services/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video Services diff --git a/pixelle_video/services/comfy_base_service.py b/pixelle_video/services/comfy_base_service.py index dc99f78..a7648a7 100644 --- a/pixelle_video/services/comfy_base_service.py +++ b/pixelle_video/services/comfy_base_service.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ ComfyUI Base Service - Common logic for ComfyUI-based services """ diff --git a/pixelle_video/services/frame_html.py b/pixelle_video/services/frame_html.py index 309a1aa..9fff226 100644 --- a/pixelle_video/services/frame_html.py +++ b/pixelle_video/services/frame_html.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ HTML-based Frame Generator Service diff --git a/pixelle_video/services/frame_processor.py b/pixelle_video/services/frame_processor.py index 1077b0c..095eaf1 100644 --- a/pixelle_video/services/frame_processor.py +++ b/pixelle_video/services/frame_processor.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Frame processor - Process single frame through complete pipeline diff --git a/pixelle_video/services/image.py b/pixelle_video/services/image.py index b29d969..83c2c72 100644 --- a/pixelle_video/services/image.py +++ b/pixelle_video/services/image.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Image Generation Service - ComfyUI Workflow-based implementation """ diff --git a/pixelle_video/services/llm_service.py b/pixelle_video/services/llm_service.py index 8f5fbcb..ece8708 100644 --- a/pixelle_video/services/llm_service.py +++ b/pixelle_video/services/llm_service.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ LLM (Large Language Model) Service - Direct OpenAI SDK implementation """ diff --git a/pixelle_video/services/tts_service.py b/pixelle_video/services/tts_service.py index 0432e28..53f5d8e 100644 --- a/pixelle_video/services/tts_service.py +++ b/pixelle_video/services/tts_service.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ TTS (Text-to-Speech) Service - Supports both local and ComfyUI inference """ diff --git a/pixelle_video/services/video.py b/pixelle_video/services/video.py index d36518a..d9e8a8b 100644 --- a/pixelle_video/services/video.py +++ b/pixelle_video/services/video.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Video Processing Service diff --git a/pixelle_video/tts_voices.py b/pixelle_video/tts_voices.py index b317859..c94a3a8 100644 --- a/pixelle_video/tts_voices.py +++ b/pixelle_video/tts_voices.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ TTS Voice Configuration diff --git a/pixelle_video/utils/__init__.py b/pixelle_video/utils/__init__.py index 2fa943f..b3f4a31 100644 --- a/pixelle_video/utils/__init__.py +++ b/pixelle_video/utils/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video Utilities diff --git a/pixelle_video/utils/content_generators.py b/pixelle_video/utils/content_generators.py index fd8dc52..bbda711 100644 --- a/pixelle_video/utils/content_generators.py +++ b/pixelle_video/utils/content_generators.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Content generation utility functions diff --git a/pixelle_video/utils/os_util.py b/pixelle_video/utils/os_util.py index 8c45d4d..1b22c59 100644 --- a/pixelle_video/utils/os_util.py +++ b/pixelle_video/utils/os_util.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ OS utilities for file and path management diff --git a/pixelle_video/utils/prompt_helper.py b/pixelle_video/utils/prompt_helper.py index c88fcb8..b817625 100644 --- a/pixelle_video/utils/prompt_helper.py +++ b/pixelle_video/utils/prompt_helper.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Prompt helper utilities diff --git a/pixelle_video/utils/template_util.py b/pixelle_video/utils/template_util.py index 5076f64..501a723 100644 --- a/pixelle_video/utils/template_util.py +++ b/pixelle_video/utils/template_util.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Template utility functions for size parsing and template management """ diff --git a/pixelle_video/utils/tts_util.py b/pixelle_video/utils/tts_util.py index f69ca71..3d19b39 100644 --- a/pixelle_video/utils/tts_util.py +++ b/pixelle_video/utils/tts_util.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Edge TTS Utility - Temporarily not used diff --git a/web/app.py b/web/app.py index 546f035..1557726 100644 --- a/web/app.py +++ b/web/app.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ Pixelle-Video Web UI diff --git a/web/i18n/__init__.py b/web/i18n/__init__.py index d4b85b4..853b27e 100644 --- a/web/i18n/__init__.py +++ b/web/i18n/__init__.py @@ -1,3 +1,15 @@ +# Copyright (C) 2025 AIDC-AI +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ International language support for Pixelle-Video Web UI """