From 44dd0f286767ad065c53b7b5711da4369d6616f5 Mon Sep 17 00:00:00 2001 From: SEB Fotografie - soeren Date: Thu, 21 Aug 2025 11:08:53 +0200 Subject: [PATCH] =?UTF-8?q?Seeds=20hinzugef=C3=BCgt,=20=C3=9Cbersetzungen?= =?UTF-8?q?=20f=C3=BCr=20Plugins=20und=20Dashboard=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Filament/Pages/InstallPluginPage.php | 10 + app/Filament/Pages/Plugins.php | 21 +- app/Filament/Resources/SettingResource.php | 5 + app/Filament/Resources/UserResource.php | 12 +- database/seeders/AiModelApiProviderSeeder.php | 30 + database/seeders/AiModelSeeder.php | 89 ++- database/seeders/ApiProviderSeeder.php | 59 ++ database/seeders/DatabaseSeeder.php | 7 +- database/seeders/MaxCopiesSettingSeeder.php | 20 - database/seeders/SettingSeeder.php | 51 ++ database/seeders/StyleSeeder.php | 621 ++++++++++++++++++ resources/lang/de/filament.php | 10 + resources/lang/en/filament.php | 10 + 13 files changed, 893 insertions(+), 52 deletions(-) create mode 100644 database/seeders/AiModelApiProviderSeeder.php create mode 100644 database/seeders/ApiProviderSeeder.php delete mode 100644 database/seeders/MaxCopiesSettingSeeder.php create mode 100644 database/seeders/SettingSeeder.php create mode 100644 database/seeders/StyleSeeder.php diff --git a/app/Filament/Pages/InstallPluginPage.php b/app/Filament/Pages/InstallPluginPage.php index 8fa7859..1d4d996 100644 --- a/app/Filament/Pages/InstallPluginPage.php +++ b/app/Filament/Pages/InstallPluginPage.php @@ -43,6 +43,16 @@ class InstallPluginPage extends Page implements HasForms ->statePath('data'); } + public static function getNavigationGroup(): ?string + { + return __('filament.navigation.groups.plugins'); + } + + public function getTitle(): string + { + return __('filament.navigation.install_plugin'); + } + public function submit(): void { $data = $this->form->getState(); diff --git a/app/Filament/Pages/Plugins.php b/app/Filament/Pages/Plugins.php index 45b8133..51c9cb1 100644 --- a/app/Filament/Pages/Plugins.php +++ b/app/Filament/Pages/Plugins.php @@ -17,7 +17,9 @@ class Plugins extends Page implements Tables\Contracts\HasTable, HasForms protected static ?string $navigationIcon = 'heroicon-o-puzzle-piece'; - protected static ?string $navigationGroup = 'Plugins'; + protected static ?string $navigationGroup = 'Plugins'; + + protected static ?string $navigationLabel = 'Plugin List'; protected static ?string $title = 'Plugins'; @@ -49,10 +51,21 @@ class Plugins extends Page implements Tables\Contracts\HasTable, HasForms ]); } - public function getTableRecords(): \Illuminate\Database\Eloquent\Collection + public $plugins; + + public function mount(): void { - // Get all plugins as a collection - return Plugin::getAllPlugins(); + $this->plugins = Plugin::getAllPlugins(); + } + + public static function getNavigationGroup(): ?string + { + return __('filament.navigation.groups.plugins'); + } + + public static function getNavigationLabel(): string + { + return __('filament.navigation.plugin_list'); } public function currentlyValidatingForm(\Filament\Forms\ComponentContainer|null $form): void diff --git a/app/Filament/Resources/SettingResource.php b/app/Filament/Resources/SettingResource.php index 27a508a..084f99a 100644 --- a/app/Filament/Resources/SettingResource.php +++ b/app/Filament/Resources/SettingResource.php @@ -96,5 +96,10 @@ class SettingResource extends Resource 'create' => Pages\CreateSetting::route('/create'), 'edit' => Pages\EditSetting::route('/{record}/edit'), ]; + } + + public static function getNavigationGroup(): ?string + { + return __('filament.navigation.groups.settings'); } } diff --git a/app/Filament/Resources/UserResource.php b/app/Filament/Resources/UserResource.php index a0a2b76..9b7c513 100644 --- a/app/Filament/Resources/UserResource.php +++ b/app/Filament/Resources/UserResource.php @@ -20,8 +20,8 @@ class UserResource extends Resource { protected static ?string $model = User::class; - protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack'; protected static ?string $navigationGroup = 'User Management'; + protected static ?string $navigationLabel = 'User Roles'; public static function form(Form $form): Form { @@ -112,5 +112,15 @@ class UserResource extends Resource 'create' => Pages\CreateUser::route('/create'), 'edit' => Pages\EditUser::route('/{record}/edit'), ]; + } + + public static function getNavigationGroup(): ?string + { + return __('filament.navigation.groups.user_management'); + } + + public static function getNavigationLabel(): string + { + return __('filament.navigation.user_roles'); } } \ No newline at end of file diff --git a/database/seeders/AiModelApiProviderSeeder.php b/database/seeders/AiModelApiProviderSeeder.php new file mode 100644 index 0000000..fc9f149 --- /dev/null +++ b/database/seeders/AiModelApiProviderSeeder.php @@ -0,0 +1,30 @@ + 2, 'api_provider_id' => 1], + ['ai_model_id' => 5, 'api_provider_id' => 1], + ['ai_model_id' => 6, 'api_provider_id' => 1], + ['ai_model_id' => 7, 'api_provider_id' => 3], + ['ai_model_id' => 8, 'api_provider_id' => 1], + ] + ]; + + foreach ($data as $row) { + DB::table('ai_model_api_provider')->insert($row); + } + } +} \ No newline at end of file diff --git a/database/seeders/AiModelSeeder.php b/database/seeders/AiModelSeeder.php index 77dd8bd..912f67d 100644 --- a/database/seeders/AiModelSeeder.php +++ b/database/seeders/AiModelSeeder.php @@ -4,6 +4,7 @@ namespace Database\Seeders; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; +use App\Models\AiModel; class AiModelSeeder extends Seeder { @@ -12,30 +13,66 @@ class AiModelSeeder extends Seeder */ public function run(): void { - \App\Models\AiModel::create([ - 'name' => 'FLUX.1 Kontext [dev]', - 'model_id' => 'runware:106@1', - 'model_type' => 'flux', - ]); - \App\Models\AiModel::create([ - 'name' => 'HiDream-I1', - 'model_id' => 'runware:97@3', - 'model_type' => 'hidream Fast', - ]); - \App\Models\AiModel::create([ - 'name' => 'HiDream-I1', - 'model_id' => 'runware:97@2', - 'model_type' => 'hidream Dev', - ]); - \App\Models\AiModel::create([ - 'name' => 'AbsoluteReality', - 'model_id' => 'civitai:81458@256668', - 'model_type' => 'sd1.5', - ]); - \App\Models\AiModel::create([ - 'name' => 'DreamShaper 8', - 'model_id' => 'civitai:4384@252914', - 'model_type' => 'sd1.5', - ]); + $data = [ + [ + 'id' => 2, + 'name' => 'FLUX.1 Kontext [dev]', + 'model_type' => 'flux', + 'created_at' => '2025-07-27T20:46:32', + 'updated_at' => '2025-07-28T18:07:14', + 'model_id' => 'runware:106@1', + 'api_provider_id' => 1, + 'enabled' => 1, + 'parameters' => null, + ], + [ + 'id' => 5, + 'name' => 'AbsoluteReality', + 'model_type' => 'sd1.5', + 'created_at' => '2025-07-27T20:46:32', + 'updated_at' => '2025-07-27T20:46:32', + 'model_id' => 'civitai:81458@256668', + 'api_provider_id' => 0, + 'enabled' => 1, + 'parameters' => null, + ], + [ + 'id' => 6, + 'name' => 'DreamShaper 8', + 'model_type' => 'sd1.5', + 'created_at' => '2025-07-27T20:46:32', + 'updated_at' => '2025-07-27T20:46:32', + 'model_id' => 'civitai:4384@252914', + 'api_provider_id' => 0, + 'enabled' => 1, + 'parameters' => null, + ], + [ + 'id' => 7, + 'name' => 'FLUX.1 Kontext [dev] in ComfyUI', + 'model_type' => 'flux', + 'created_at' => '2025-07-31T18:51:48', + 'updated_at' => '2025-08-06 11:26:30', + 'model_id' => 'flux1-kontext-dev', + 'api_provider_id' => null, + 'enabled' => 1, + 'parameters' => " ... dein langer JSON-String hier ... ", + ], + [ + 'id' => 8, + 'name' => 'HiDream-I1-Dev', + 'model_type' => 'base', + 'created_at' => '2025-08-08 10:46:29', + 'updated_at' => '2025-08-08 10:46:29', + 'model_id' => 'runware:97@2', + 'api_provider_id' => null, + 'enabled' => 1, + 'parameters' => null, + ], + ]; + + foreach ($data as $row) { + AiModel::updateOrCreate(['id' => $row['id']], $row); + } } -} +} \ No newline at end of file diff --git a/database/seeders/ApiProviderSeeder.php b/database/seeders/ApiProviderSeeder.php new file mode 100644 index 0000000..357bfd9 --- /dev/null +++ b/database/seeders/ApiProviderSeeder.php @@ -0,0 +1,59 @@ + 1, + 'name' => 'Runware.ai', + 'api_url' => 'https://api.runware.ai/v1', + 'username' => null, + 'password' => null, + 'token' => '', + 'created_at' => '2025-07-28T17:48:11', + 'updated_at' => '2025-07-30T11:34:28', + 'plugin' => 'RunwareAi', + 'enabled' => 1, + ], + [ + 'id' => 2, + 'name' => 'ComfyUI lokal', + 'api_url' => 'http://127.0.0.1:8001', + 'username' => null, + 'password' => null, + 'token' => null, + 'created_at' => '2025-07-31T14:26:13', + 'updated_at' => '2025-07-31T19:10:29', + 'plugin' => 'ComfyUi', + 'enabled' => 1, + ], + [ + 'id' => 3, + 'name' => 'ComfyUI', + 'api_url' => 'http://192.168.78.76:8188', + 'username' => null, + 'password' => null, + 'token' => null, + 'created_at' => '2025-08-01T21:17:44', + 'updated_at' => '2025-08-02T18:09:02', + 'plugin' => 'ComfyUi', + 'enabled' => 1, + ], + ]; + + foreach ($data as $row) { + ApiProvider::updateOrCreate(['id' => $row['id']], $row); + } + } +} \ No newline at end of file diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 490f2e2..b1e44a2 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -15,7 +15,12 @@ class DatabaseSeeder extends Seeder $this->call([ RoleSeeder::class, UserSeeder::class, - MaxCopiesSettingSeeder::class, + // MaxCopiesSettingSeeder::class, + ApiProviderSeeder::class, + AiModelSeeder::class, + AiModelApiProviderSeeder::class, + SettingSeeder::class, + StyleSeeder::class, ]); } } diff --git a/database/seeders/MaxCopiesSettingSeeder.php b/database/seeders/MaxCopiesSettingSeeder.php deleted file mode 100644 index 4db30c3..0000000 --- a/database/seeders/MaxCopiesSettingSeeder.php +++ /dev/null @@ -1,20 +0,0 @@ - 'max_number_of_copies'], - ['value' => 10] // Default value - ); - } -} diff --git a/database/seeders/SettingSeeder.php b/database/seeders/SettingSeeder.php new file mode 100644 index 0000000..1f7aff5 --- /dev/null +++ b/database/seeders/SettingSeeder.php @@ -0,0 +1,51 @@ + 1, + 'key' => 'gallery_heading', + 'value' => 'Eure Bilder aus der Fotoboxx', + 'created_at' => '2025-07-30T14:03:55', + 'updated_at' => '2025-08-01T11:05:52', + ], + [ + 'id' => 2, + 'key' => 'new_image_timespan_minutes', + 'value' => '10000', + 'created_at' => '2025-08-01T12:46:00', + 'updated_at' => '2025-08-01T12:49:52', + ], + [ + 'id' => 3, + 'key' => 'image_refresh_interval', + 'value' => '30000', + 'created_at' => '2025-08-06 13:39:27', + 'updated_at' => '2025-08-06 13:46:22', + ], + [ + 'id' => 4, + 'key' => 'max_number_of_copies', + 'value' => '3', + 'created_at' => '2025-08-08 11:05:20', + 'updated_at' => '2025-08-08 11:05:20', + ], + ]; + + foreach ($data as $row) { + Setting::updateOrCreate(['id' => $row['id']], $row); + } + } +} \ No newline at end of file diff --git a/database/seeders/StyleSeeder.php b/database/seeders/StyleSeeder.php new file mode 100644 index 0000000..0445423 --- /dev/null +++ b/database/seeders/StyleSeeder.php @@ -0,0 +1,621 @@ + 20, + 'title' => 'Knetfiguren mit ComfyUI (Nunchaku)', + 'prompt' => 'Transform the group of people into clazy style like in claymation or stopmotion videos. Small clay figures with vibrant colors from fantastic plastic.', + 'description' => 'Clay Figure', + 'preview_image' => 'style_previews/01K1Z66E2AY1EX15Y8GZS0Y05R.png', + 'created_at' => '2025-08-02T17:59:41', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 17, + ], + [ + 'id' => 21, + 'title' => 'Pastellzeichnung', + 'prompt' => 'Transform the people in the image into a pastel drawing with gentle textures and soft hues.', + 'description' => 'Verwandelt Personen in eine sanfte Pastellzeichnung mit weichen Texturen und Farbtönen.', + 'preview_image' => 'style_previews/ComfyUI_00001_.png', + 'created_at' => '2025-08-06 11:05:13', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 18, + ], + [ + 'id' => 22, + 'title' => 'Abstraktes Gemälde', + 'prompt' => 'Transform the people in the image into an abstract painting with vibrant swirls and emotional energy.', + 'description' => 'Verwandelt Personen in ein abstraktes Gemälde mit lebhaften Wirbeln und emotionaler Energie.', + 'preview_image' => 'style_previews/ComfyUI_00002_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 19, + ], + [ + 'id' => 23, + 'title' => 'Pixel Art Charaktere', + 'prompt' => 'Transform the people in the image into pixel art characters with blocky shapes and a retro video game feel.', + 'description' => 'Verwandelt Personen in Pixel-Art-Charaktere mit blockigen Formen im Retro-Videospiel-Stil.', + 'preview_image' => 'style_previews/ComfyUI_00003_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 20, + ], + [ + 'id' => 24, + 'title' => 'Low-Poly 3D-Modelle', + 'prompt' => 'Transform the people in the image into low-poly 3D models with geometric surfaces and flat shading.', + 'description' => 'Verwandelt Personen in Low-Poly 3D-Modelle mit geometrischen Oberflächen und flacher Schattierung.', + 'preview_image' => 'style_previews/ComfyUI_00004_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 21, + ], + [ + 'id' => 25, + 'title' => 'Chrom-Skulpturen', + 'prompt' => 'Transform the people in the image into chrome sculptures with reflective surfaces and metallic shine.', + 'description' => 'Verwandelt Personen in Chrom-Skulpturen mit reflektierenden Oberflächen und metallischem Glanz.', + 'preview_image' => 'style_previews/ComfyUI_00005_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 22, + ], + [ + 'id' => 26, + 'title' => 'Blaupausen-Figuren', + 'prompt' => 'Transform the people in the image into blueprint-style figures with line work and measurement details.', + 'description' => 'Verwandelt Personen in Figuren im Blaupausen-Stil mit Linien und Maßangaben.', + 'preview_image' => 'style_previews/ComfyUI_00006_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 23, + ], + [ + 'id' => 27, + 'title' => 'Studio Ghibli Stil', + 'prompt' => 'Transform the people in the image into characters from a Studio Ghibli film with soft shading and magical warmth.', + 'description' => 'Verwandelt Personen in Charaktere im Stil eines Studio Ghibli Films mit weicher Schattierung.', + 'preview_image' => 'style_previews/ComfyUI_00007_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 24, + ], + [ + 'id' => 28, + 'title' => 'Comicbuch-Szene', + 'prompt' => 'Transform the people in the image into a comic book scene with halftone shading and dynamic poses.', + 'description' => 'Verwandelt Personen in eine Comicbuch-Szene mit Halbtonraster-Schattierung und dynamischen Posen.', + 'preview_image' => 'style_previews/ComfyUI_00008_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 25, + ], + [ + 'id' => 29, + 'title' => '3D Pixar-Stil', + 'prompt' => 'Transform the people in the image into characters from a 3D Pixar-style movie with expressive faces and big eyes.', + 'description' => 'Verwandelt Personen in Charaktere im 3D-Pixar-Stil mit ausdrucksstarken Gesichtern und großen Augen.', + 'preview_image' => 'style_previews/ComfyUI_00009_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 26, + ], + [ + 'id' => 30, + 'title' => 'Simpsons-Charaktere', + 'prompt' => 'Transform the people in the image into characters from The Simpsons with yellow skin and over-the-top expressions.', + 'description' => 'Verwandelt Personen in Charaktere im Stil der Simpsons mit gelber Haut und übertriebenen Gesichtsausdrücken.', + 'preview_image' => 'style_previews/ComfyUI_00010_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 27, + ], + [ + 'id' => 31, + 'title' => 'LEGO-Figuren', + 'prompt' => 'Transform the people in the image into LEGO-style figures with plastic texture and toy-like features.', + 'description' => 'Verwandelt Personen in Figuren im LEGO-Stil mit Kunststofftextur und spielzeugartigen Merkmalen.', + 'preview_image' => 'style_previews/ComfyUI_00011_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 28, + ], + [ + 'id' => 32, + 'title' => 'South Park-Stil', + 'prompt' => 'Transform the people in the image into South Park-style cutout characters with flat shapes and goofy faces.', + 'description' => 'Verwandelt Personen in Charaktere im South Park-Stil mit flachen Formen und albernen Gesichtern.', + 'preview_image' => 'style_previews/ComfyUI_00012_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 29, + ], + [ + 'id' => 33, + 'title' => 'Mittelalterliche Ritter', + 'prompt' => 'Transform the people in the image into medieval knights and nobles in a fantasy setting with ornate costumes. make the image bright', + 'description' => 'Verwandelt Personen in mittelalterliche Ritter und Adlige in einer Fantasy-Umgebung mit verzierten Kostümen.', + 'preview_image' => 'style_previews/ComfyUI_00013_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 30, + ], + [ + 'id' => 34, + 'title' => 'Elfen & Zauberer', + 'prompt' => 'Transform the people in the image into elves and wizards from a magical forest with glowing runes', + 'description' => 'Verwandelt Personen in Elfen und Zauberer aus einem magischen Wald mit leuchtenden Runen.', + 'preview_image' => 'style_previews/ComfyUI_00014_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 31, + ], + [ + 'id' => 35, + 'title' => 'Steampunk-Charaktere', + 'prompt' => 'Transform the people in the image into steampunk characters with gears, goggles, and Victorian flair.', + 'description' => 'Verwandelt Personen in Steampunk-Charaktere mit Zahnrädern, Brillen und viktorianischem Flair.', + 'preview_image' => 'style_previews/ComfyUI_00015_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 32, + ], + [ + 'id' => 36, + 'title' => 'Antike Steinstatuen', + 'prompt' => 'Transform the people in the image into ancient stone statues with cracks and moss growing on them', + 'description' => 'Verwandelt Personen in antike Steinstatuen mit Rissen und Moosbewuchs.', + 'preview_image' => 'style_previews/ComfyUI_00016_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 33, + ], + [ + 'id' => 37, + 'title' => 'Cartoon-Zombies', + 'prompt' => 'Transform the people in the image into a group of zombies with cartoony decay and goofy expressions. make the image bright.', + 'description' => 'Verwandelt Personen in eine Gruppe von Zombies im Cartoon-Stil mit überzeichnetem Verfall und albernen Gesichtsausdrücken.', + 'preview_image' => 'style_previews/ComfyUI_00017_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 34, + ], + [ + 'id' => 38, + 'title' => 'Geschnitzte Holzfiguren', + 'prompt' => 'Transform the people in the image into carved wooden figures with natural grain patterns, warm tones, and handmade imperfections.', + 'description' => 'Verwandelt Personen in geschnitzte Holzfiguren mit natürlicher Maserung und warmen Farbtönen.', + 'preview_image' => 'style_previews/ComfyUI_00018_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 35, + ], + [ + 'id' => 39, + 'title' => 'Graffiti-Stil', + 'prompt' => 'Transform the people in the image into graffiti-style characters on a concrete wall, with spray paint textures, vibrant strokes, and urban flair.', + 'description' => 'Verwandelt Personen in Charaktere im Graffiti-Stil auf einer Betonwand mit urbanem Flair.', + 'preview_image' => 'style_previews/ComfyUI_00019_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 36, + ], + [ + 'id' => 40, + 'title' => '3D-gedruckte Skulpturen', + 'prompt' => 'Transform the people in the image into 3D-printed sculptures with plastic textures, visible print lines, and geometric precision.', + 'description' => 'Verwandelt Personen in 3D-gedruckte Skulpturen mit sichtbaren Drucklinien und geometrischer Präzision.', + 'preview_image' => 'style_previews/ComfyUI_00020_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 37, + ], + [ + 'id' => 41, + 'title' => 'Bemalte Pappaufsteller', + 'prompt' => 'Transform the people in the image into painted cardboard cutouts with flat surfaces, hand-drawn outlines, and theater-prop appearance.', + 'description' => 'Verwandelt Personen in bemalte Pappaufsteller mit handgezeichneten Umrissen im Stil von Theaterrequisiten.', + 'preview_image' => 'style_previews/ComfyUI_00021_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 38, + ], + [ + 'id' => 42, + 'title' => 'Griechische Vasenmalerei', + 'prompt' => 'Transform the people in the image into figures like on an ancient Greek vase, rendered in black-figure ceramic painting with elegant poses.', + 'description' => 'Verwandelt Personen in Figuren im Stil antiker griechischer Vasenmalerei.', + 'preview_image' => 'style_previews/ComfyUI_00022_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 39, + ], + [ + 'id' => 43, + 'title' => 'Mittelalterliche Buchmalerei', + 'prompt' => 'Transform the people in the image into medieval illuminated manuscript figures with gold leaf accents, stylized faces, and vibrant borders.', + 'description' => 'Verwandelt Personen in Figuren aus einer mittelalterlichen Handschrift mit Blattgold und stilisierten Gesichtern.', + 'preview_image' => 'style_previews/ComfyUI_00023_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 40, + ], + [ + 'id' => 44, + 'title' => 'Aztekische Steinmetzarbeiten', + 'prompt' => 'Transform the people in the image into Aztec stone carvings with geometric patterns, mythological motifs, and ancient symbolism.', + 'description' => 'Verwandelt Personen in aztekische Steinmetzarbeiten mit geometrischen und mythologischen Motiven.', + 'preview_image' => 'style_previews/ComfyUI_00024_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 41, + ], + [ + 'id' => 45, + 'title' => 'Gesprungene Porzellanpuppen', + 'prompt' => 'Transform the people in the image into cracked porcelain dolls with aged glaze, fine fractures, and haunting fragility.', + 'description' => 'Verwandelt Personen in zerbrechliche, gesprungene Porzellanpuppen mit alter Glasur.', + 'preview_image' => 'style_previews/ComfyUI_00025_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 42, + ], + [ + 'id' => 46, + 'title' => 'Anziehpuppen aus Pappe', + 'prompt' => 'Transform the people in the image into cardboard paper dolls with tabbed joints, illustrated features, and moveable parts.', + 'description' => 'Verwandelt Personen in Anziehpuppen aus Pappe mit illustrierten, beweglichen Teilen.', + 'preview_image' => 'style_previews/ComfyUI_00026_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 43, + ], + [ + 'id' => 47, + 'title' => 'Papierschnitt-Collage', + 'prompt' => 'Transform the people in the image into stylized cut-paper collages, with torn edges, colorful flat textures, and assembled human shapes.', + 'description' => 'Verwandelt Personen in stilisierte Collagen aus geschnittenem Papier mit farbenfrohen Texturen.', + 'preview_image' => 'style_previews/ComfyUI_00027_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 44, + ], + [ + 'id' => 48, + 'title' => '80er-Jahre Disco-Ikonen', + 'prompt' => 'Transform the people in the image into 80s disco icons with glitter outfits, exaggerated hair, shiny dance floors, and neon lighting.', + 'description' => 'Verwandelt Personen in 80er-Jahre Disco-Ikonen mit Glitzer-Outfits, Neonlicht und übertriebenen Frisuren.', + 'preview_image' => 'style_previews/ComfyUI_00028_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 45, + ], + [ + 'id' => 49, + 'title' => 'Seifenopern-Bösewichte', + 'prompt' => 'Transform the people in the image into soap opera villains mid-dramatic twist, with wind machines, sparkles, and over-the-top reactions.', + 'description' => 'Verwandelt Personen in Seifenopern-Bösewichte inmitten einer dramatischen Wendung mit übertriebenen Reaktionen.', + 'preview_image' => 'style_previews/ComfyUI_00029_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 46, + ], + [ + 'id' => 50, + 'title' => 'Verzauberte Teekannen', + 'prompt' => 'Transform the people in the image into enchanted talking teapots, cups, and kitchen objects with faces and arms, ready to sing.', + 'description' => 'Verwandelt Personen in verzauberte, sprechende Teekannen, Tassen und Küchengegenstände.', + 'preview_image' => 'style_previews/ComfyUI_00030_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 47, + ], + [ + 'id' => 51, + 'title' => 'Touristen in Paris', + 'prompt' => 'Transform the image into a sunny day in front of the Eiffel Tower in Paris, with the people posing like tourists, café tables nearby and pigeons flying around.', + 'description' => 'Verwandelt die Szene in einen sonnigen Tag vor dem Eiffelturm in Paris mit den Personen als Touristen.', + 'preview_image' => 'style_previews/ComfyUI_00031_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 48, + ], + [ + 'id' => 52, + 'title' => 'Nacht in Tokio', + 'prompt' => 'Transform the image into a night scene in Tokyo’s Shibuya Crossing, with neon lights, animated billboards, and a bustling futuristic city backdrop.', + 'description' => 'Verwandelt die Szene in die belebte Shibuya-Kreuzung in Tokio bei Nacht mit Neonlichtern.', + 'preview_image' => 'style_previews/ComfyUI_00032_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 49, + ], + [ + 'id' => 53, + 'title' => 'Straßenkünstler am Times Square', + 'prompt' => 'remove the background and Transform the image into a street performance in New York’s Times Square, with giant screens, yellow taxis, and amazed onlookers.', + 'description' => 'Platziert die Personen als Straßenkünstler auf dem Times Square in New York.', + 'preview_image' => 'style_previews/ComfyUI_00033_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 50, + ], + [ + 'id' => 54, + 'title' => 'Foto vor dem Kolosseum', + 'prompt' => 'remove the background and Transform the image into a group photo in front of the Colosseum in Rome, with sunny weather, tourists with cameras, and ancient stone textures. Keep all the face details from the original', + 'description' => 'Erstellt ein Gruppenfoto der Personen vor dem Kolosseum in Rom bei sonnigem Wetter.', + 'preview_image' => 'style_previews/ComfyUI_00034_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 51, + ], + [ + 'id' => 55, + 'title' => 'Strandparty auf Hawaii', + 'prompt' => 'remove the background and Transform the image into a sunset beach party in Hawaii, with palm trees, ukuleles, tiki torches, and ocean waves.', + 'description' => 'Inszeniert eine Strandparty bei Sonnenuntergang auf Hawaii mit Palmen und Tiki-Fackeln.', + 'preview_image' => 'style_previews/ComfyUI_00035_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 52, + ], + [ + 'id' => 56, + 'title' => 'Wanderung im Regenwald', + 'prompt' => 'remove the background and Transform the image into a hike through a misty rainforest with lush green foliage, vines, and curious animals peeking from the trees.', + 'description' => 'Simuliert eine Wanderung durch einen nebligen Regenwald mit üppiger Vegetation und Tieren.', + 'preview_image' => 'style_previews/ComfyUI_00036_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 53, + ], + [ + 'id' => 57, + 'title' => 'Sonnenblumenfeld', + 'prompt' => 'remove the background and Transform the image into a field of sunflowers stretching to the horizon, with bees buzzing and the people dressed in summer clothes.', + 'description' => 'Platziert die Personen in Sommerkleidung in einem endlosen Sonnenblumenfeld.', + 'preview_image' => 'style_previews/ComfyUI_00037_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 54, + ], + [ + 'id' => 58, + 'title' => 'Magische schwebende Insel', + 'prompt' => 'remove the background and Transform the image into a magical floating island in the sky, with waterfalls cascading into the clouds and glowing plants surrounding the group.', + 'description' => 'Erschafft eine Szene auf einer magischen, schwebenden Insel am Himmel mit Wasserfällen und leuchtenden Pflanzen.', + 'preview_image' => 'style_previews/ComfyUI_00038_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 55, + ], + [ + 'id' => 59, + 'title' => 'Picknick auf dem Mond', + 'prompt' => 'remove the background and Transform the image into a dreamlike moonbase picnic with Earth visible above, moon buggies nearby, and silver spacesuits.', + 'description' => 'Inszeniert ein traumhaftes Picknick auf einer Mondbasis mit Blick auf die Erde.', + 'preview_image' => 'style_previews/ComfyUI_00039_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 56, + ], + [ + 'id' => 60, + 'title' => 'Jahrmarkt bei Nacht', + 'prompt' => 'remove the background and Transform the image into a carnival at night, with colorful tents, cotton candy, blinking lights, and joyful movement.', + 'description' => 'Verwandelt die Szene in einen bunten Jahrmarkt bei Nacht mit Lichtern und fröhlicher Bewegung.', + 'preview_image' => 'style_previews/ComfyUI_00040_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 57, + ], + [ + 'id' => 61, + 'title' => '80er-Jahre Spielhalle', + 'prompt' => 'remove the background and Transform the image into a retro 80s arcade hall, with glowing cabinets, pixelated screens, and classic synth lighting.', + 'description' => 'Platziert die Personen in einer Retro-Spielhalle der 80er Jahre mit leuchtenden Automaten.', + 'preview_image' => 'style_previews/ComfyUI_00041_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 58, + ], + [ + 'id' => 62, + 'title' => 'Marokkanischer Markt', + 'prompt' => 'remove the background and Transform the image into a Moroccan market at sunset, with patterned rugs, spices in the air, and hanging lamps lighting the scene.', + 'description' => 'Erschafft eine Szene auf einem marokkanischen Markt bei Sonnenuntergang mit Gewürzen und Lampen.', + 'preview_image' => 'style_previews/ComfyUI_00042_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 59, + ], + [ + 'id' => 63, + 'title' => 'Steampunk-Stadtplatz', + 'prompt' => 'remove the background and Transform the image into a steampunk city plaza with brass towers, flying machines, and the group dressed in goggles and gears.', + 'description' => 'Verwandelt die Szene in einen Steampunk-Stadtplatz mit Messingtürmen und Flugmaschinen.', + 'preview_image' => 'style_previews/ComfyUI_00043_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 60, + ], + [ + 'id' => 64, + 'title' => 'Holi-Festival in Indien', + 'prompt' => 'remove the background and Transform the image into a colorful Holi festival in India, with powder paint in the air and everyone covered in bright colors.', + 'description' => 'Inszeniert die Teilnahme an einem farbenfrohen Holi-Festival in Indien.', + 'preview_image' => 'style_previews/ComfyUI_00044_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 61, + ], + [ + 'id' => 65, + 'title' => 'Vintage Filmset (1920er)', + 'prompt' => 'remove the background and Transform the image into a vintage movie set from the 1920s, with sepia tones, cameras on tracks, and dramatic film star poses.', + 'description' => 'Platziert die Personen auf einem Vintage-Filmset der 1920er Jahre in Sepia-Tönen.', + 'preview_image' => 'style_previews/ComfyUI_00045_.png', + 'created_at' => '2025-08-06 11:05:14', + 'updated_at' => '2025-08-06 13:05:52', + 'ai_model_id' => 7, + 'parameters' => NULL, + 'enabled' => 1, + 'sort_order' => 62, + ], + ]; + + foreach ($data as $row) { + Style::updateOrCreate(['id' => $row['id']], $row); + } + } +} \ No newline at end of file diff --git a/resources/lang/de/filament.php b/resources/lang/de/filament.php index bd3a8af..514a219 100644 --- a/resources/lang/de/filament.php +++ b/resources/lang/de/filament.php @@ -139,6 +139,16 @@ return [ ], ], ], + 'navigation' => [ + 'groups' => [ + 'plugins' => 'Plugins', + 'settings' => 'Einstellungen', + 'user_management' => 'Benutzerverwaltung', + ], + 'install_plugin' => 'Plugin installieren', + 'plugin_list' => 'Plugin-Liste', + 'user_roles' => 'Benutzerrollen', + ], 'styled_image_display' => [ 'title' => 'Neu gestyltes Bild', 'keep_button' => 'Behalten', diff --git a/resources/lang/en/filament.php b/resources/lang/en/filament.php index cf60a25..ac835c8 100644 --- a/resources/lang/en/filament.php +++ b/resources/lang/en/filament.php @@ -121,6 +121,16 @@ return [ ], ], ], + 'navigation' => [ + 'groups' => [ + 'plugins' => 'Plugins', + 'settings' => 'Settings', + 'user_management' => 'User Management', + ], + 'install_plugin' => 'Install Plugin', + 'plugin_list' => 'Plugin List', + 'user_roles' => 'User Roles', + ], 'loading_spinner' => [ 'processing_image' => 'Processing image...', ],