@php $items_per_page = 5; $total_items = $userOpenai->total(); $prompt_filters = [ 'all' => 'All', 'favorite' => 'Favorite', ]; @endphp
{{ __('DALL-E') }} @if (setting('stable_hidden', 0) != 1) {{ __('Stable Diffusion') }} @endif

{{ __('Explain your idea') }}. | @if (setting('user_ai_image_prompt_library') == null || setting('user_ai_image_prompt_library')) @endif

@foreach (json_decode($openai->questions) ?? [] as $question) @if ($question->type == 'textarea') @endif @endforeach {{ __('Generate') }}
{{ __('Advanced Settings') }}
@include('panel.user.openai_chat.components.prompt_library_modal')

{{ __('Result') }}

@foreach ($userOpenai->take($items_per_page) as $item)
{{ $item->response }}

{{ $item->input }}

@endforeach
@if ($userOpenai->count() > 0)
{{ __('Loading more') }} @foreach ([0, 1, 2] as $item) @endforeach
@endif {{-- Image modal --}}
@push('script') @endpush