@php $clipdropActions = [ 'reimagine' => 'Reimagine', 'remove_background' => 'Remove Background', 'replace_background' => 'Replace Background', 'remove_text' => 'Remove Text', 'text_to_image' => 'Text to Image', 'sketch_to_image' => 'Sketch to Image', 'upscale' => 'Upscale', ]; $novitaActions = [ 'reimagine' => 'Reimagine', 'remove_background' => 'Remove Background', 'replace_background' => 'Replace Background', 'remove_text' => 'Remove Text', 'text_to_image' => 'Text to Image', 'upscale' => 'Upscale', ]; @endphp @extends('panel.layout.app') @section('title', __('AI Photo Studio')) @section('titlebar_subtitle', __('State-of-the-art AI image processing for the creation and enhancement of visual content.')) @section('content')
@csrf
@if(setting('default_photo_studio',\App\Domains\Entity\Enums\EntityEnum::CLIPDROP->value) == \App\Domains\Entity\Enums\EntityEnum::CLIPDROP->value) @foreach ($clipdropActions as $value => $label) @endforeach @else @foreach ($novitaActions as $value => $label) @endforeach @endif @lang('Generate')
@if ($last) @php $photo = str_starts_with($last?->photo, 'http') ? $last?->photo : asset('uploads/' . $last?->photo); @endphp
@endif
@if ($images->count())

{{ __('Result') }}

@foreach ($images as $item) @include("photo-studio::particles.item",["item" => $item]) @endforeach
@endif
@endsection @push('script') @endpush