@php $creativity_levels = [ '0.25' => 'Economic', '0.5' => 'Average', '0.75' => 'Good', '1' => 'Premium', ]; $voice_tones = ['Professional', 'Funny', 'Casual', 'Excited', 'Witty', 'Sarcastic', 'Feminine', 'Masculine', 'Bold', 'Dramatic', 'Grumpy', 'Secretive', 'other']; @endphp
{{ __('Remaining Credits') }}
@if ($openai->type != 'image')
@foreach (json_decode($openai->questions) ?? [] as $question) @if ($question->type == 'text') @elseif($question->type == 'textarea') @elseif($question->type == 'select') {!! $question->select !!} @elseif($question->type == 'file') @endif @endforeach @if ($openai->type == 'text') @if (setting('hide_output_length_option') != 1) @endif @if (setting('hide_creativity_option') != 1) @foreach ($creativity_levels as $creativity => $label) @endforeach @endif @include('panel.user.openai.components.countries') @if (setting('hide_tone_of_voice_option') != 1) @foreach ($voice_tones as $tone) @endforeach @endif @endif {{ __('Generate') }}
@endif
Theme::getSetting('defaultVariations.card.variant', 'outline') === 'outline', ]) variant="{{ Theme::getSetting('defaultVariations.card.variant', 'outline') === 'outline' ? 'none' : Theme::getSetting('defaultVariations.card.variant', 'solid') }}" size="{{ Theme::getSetting('defaultVariations.card.variant', 'outline') === 'outline' ? 'none' : Theme::getSetting('defaultVariations.card.size', 'md') }}" roundness="{{ Theme::getSetting('defaultVariations.card.roundness', 'default') === 'default' ? 'none' : Theme::getSetting('defaultVariations.card.roundness', 'default') }}" > @include('panel.user.openai.components.generator_sidebar_table')
@push('script') @if ($openai->type == 'code') @endif @endpush