@php $prompt_filters = [ 'all' => __('All'), 'favorite' => __('Favorite'), ]; @endphp

{{ __('AI Text Actions') }}

{{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}} {{ __('Longer') }} {{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}} {{ __('Shorter') }} {{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}} {{ __('Better') }}
@if (isset($ai_image_tools) && filled($ai_image_tools)) @php $tools = array_filter($ai_image_tools, function ($tool) { $action = $tool['action']; return $action !== 'merge_face' && $action !== 'reimagine' && $action !== 'cleanup' && $action !== 'upscale' && $action !== 'sketch_to_image' && $action !== 'inpainting' && $action !== 'style_transfer' && $action !== 'image_relight'; }); @endphp

{{ __('AI Image Actions') }}

@foreach ($tools as $tool) @php $action = $tool['action']; $tool_has_options = $action === 'cleanup' || $action === 'merge_face' || $action === 'reimagine' || $action === 'style_transfer' || $action === 'image_relight' || $action === 'uncrop'; @endphp @if ($tool_has_options) {!! $tool['icon'] !!} {{ __($tool['title']) }} @else {!! $tool['icon'] !!} {{ __($tool['title']) }} @endif @endforeach
@endif
@if (isset($ai_image_tools) && filled($ai_image_tools))
@php $uncrop_options = [ 'extend_left' => [ 'title' => __('Extend Left'), 'icon' => 'tabler-arrow-bar-left', ], 'extend_up' => [ 'title' => __('Extend Up'), 'icon' => 'tabler-arrow-bar-up', ], 'extend_right' => [ 'title' => __('Extend Right'), 'icon' => 'tabler-arrow-bar-right', ], 'extend_down' => [ 'title' => __('Extend Down'), 'icon' => 'tabler-arrow-bar-down', ], ]; @endphp @foreach ($uncrop_options as $key => $opt)

{{ $opt['title'] }}

@endforeach
@lang('Generate')
@endif