@php
use Webkul\MagicAI\AiProvider;
$enabledProviders = array_filter(explode(',', core()->getConfigData('magic_ai.admin_features.image_generation.providers') ?? ''));
$models = AiProvider::modelsForProviders($enabledProviders, 'image');
$defaultModel = $models[0]['value'] ?? '';
@endphp
@props([
'name' => 'images',
'allowMultiple' => false,
'showPlaceholders' => false,
'uploadedImages' => [],
'width' => '120px',
'height' => '120px'
])
@pushOnce('scripts')
@endPushOnce